/[gentoo-x86]/x11-themes/qtcurve-qt4/qtcurve-qt4-0.61.2.ebuild
Gentoo

Diff of /x11-themes/qtcurve-qt4/qtcurve-qt4-0.61.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-0.61.2.ebuild,v 1.1 2009/02/24 23:30:05 yngwin Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-0.61.2.ebuild,v 1.2 2009/02/25 07:02:42 yngwin Exp $
4 4
5EAPI="2" 5EAPI="2"
6inherit flag-o-matic cmake-utils 6inherit flag-o-matic cmake-utils
7 7
8MY_P="${P/qtcurve-qt4/QtCurve-KDE4}" 8MY_P="${P/qtcurve-qt4/QtCurve-KDE4}"
20RDEPEND="${DEPEND}" 20RDEPEND="${DEPEND}"
21 21
22S="${WORKDIR}/${MY_P}" 22S="${WORKDIR}/${MY_P}"
23DOCS="ChangeLog README TODO" 23DOCS="ChangeLog README TODO"
24 24
25src_compile() { 25src_prepare() {
26 if has_version '>=x11-libs/qt-gui-4.5.0_rc1'; then
27 sed -i "s/QStyleOptionTabV2/QStyleOptionTabV3/" "${S}"/style/qtcurve.cpp
28 fi
26 if use !kde ; then 29 if use !kde ; then
27 append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true"; 30 append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true";
28 sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt 31 sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt
29 fi 32 fi
30 cmake-utils_src_compile
31} 33}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20