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

Diff of /x11-themes/qtcurve-qt4/qtcurve-qt4-0.59.3-r1.ebuild

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

Revision 1.12 Revision 1.13
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.59.3-r1.ebuild,v 1.12 2008/09/24 19:03:16 yngwin Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-0.59.3-r1.ebuild,v 1.13 2008/10/11 20:00:40 yngwin Exp $
4 4
5EAPI="1" 5EAPI="1"
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}"
11SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2" 11SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="alpha amd64 hppa ppc64 sparc x86" 15KEYWORDS="alpha amd64 hppa ppc64 sparc x86"
16IUSE="kde" 16IUSE=""
17 17
18DEPEND="|| ( x11-libs/qt-gui:4 <x11-libs/qt-4.4:4 ) 18DEPEND="|| ( x11-libs/qt-gui:4 <x11-libs/qt-4.4:4 )"
19 kde? ( kde-base/kwin:4
20 x11-libs/qt-gui:4 )"
21# kde-4 support needs methods from qt-gui-4.4
22 19
23S="${WORKDIR}/${MY_P}" 20S="${WORKDIR}/${MY_P}"
24DOCS="ChangeLog README TODO" 21DOCS="ChangeLog README TODO"
25 22
26src_compile() { 23src_compile() {
27 if use !kde ; then
28 append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true"; 24 append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true";
29 sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt 25 sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt
30 fi
31 cmake-utils_src_compile 26 cmake-utils_src_compile
32} 27}

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20