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

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

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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-1.6.4-r1.ebuild,v 1.9 2011/03/05 13:56:14 xarthisius Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-1.6.4-r1.ebuild,v 1.10 2011/06/07 02:55:37 abcd Exp $
4 4
5EAPI=3 5EAPI=3
6KDE_REQUIRED="optional" 6KDE_REQUIRED="optional"
7inherit confutils cmake-utils kde4-base 7inherit confutils cmake-utils kde4-base
8 8
16KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86" 16KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86"
17IUSE="kde windeco" 17IUSE="kde windeco"
18 18
19DEPEND="x11-libs/qt-gui:4[dbus] 19DEPEND="x11-libs/qt-gui:4[dbus]
20 x11-libs/qt-svg:4 20 x11-libs/qt-svg:4
21 kde? ( >=kde-base/systemsettings-${KDE_MINIMAL} 21 kde? ( $(add_kdebase_dep systemsettings)
22 windeco? ( >=kde-base/kwin-${KDE_MINIMAL} ) )" 22 windeco? ( $(add_kdebase_dep kwin) ) )"
23RDEPEND="${DEPEND}" 23RDEPEND="${DEPEND}"
24 24
25S=${WORKDIR}/${MY_P} 25S=${WORKDIR}/${MY_P}
26DOCS="ChangeLog README TODO" 26DOCS="ChangeLog README TODO"
27 27
37 use kde && kde4-base_pkg_setup 37 use kde && kde4-base_pkg_setup
38} 38}
39 39
40src_configure() { 40src_configure() {
41 if use kde; then 41 if use kde; then
42 mycmakeargs="$(use windeco && echo "-DQTC_KWIN=true")" 42 mycmakeargs=( $(cmake-utils_use windeco QTC_KWIN) )
43 kde4-base_src_configure 43 kde4-base_src_configure
44 else 44 else
45 mycmakeargs="-DQTC_QT_ONLY=true" 45 mycmakeargs=( -DQTC_QT_ONLY=true )
46 cmake-utils_src_configure 46 cmake-utils_src_configure
47 fi 47 fi
48} 48}

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20