/[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.1 Revision 1.2
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.1 2010/10/19 10:08:41 wired Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/Attic/qtcurve-qt4-1.6.4-r1.ebuild,v 1.2 2010/11/08 22:58:28 wired Exp $
4 4
5EAPI="2" 5EAPI="2"
6KDE_REQUIRED="optional" 6KDE_REQUIRED="optional"
7inherit confutils cmake-utils kde4-base 7inherit confutils cmake-utils kde4-base
8 8
12SRC_URI="http://craigd.wikispaces.com/file/view/${MY_P}.tar.bz2" 12SRC_URI="http://craigd.wikispaces.com/file/view/${MY_P}.tar.bz2"
13 13
14LICENSE="GPL-2" 14LICENSE="GPL-2"
15SLOT="0" 15SLOT="0"
16KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" 16KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
17IUSE="kde parentless-dialog-fix 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? ( >=kde-base/systemsettings-${KDE_MINIMAL}
22 windeco? ( >=kde-base/kwin-${KDE_MINIMAL} ) )" 22 windeco? ( >=kde-base/kwin-${KDE_MINIMAL} ) )"
36 fi 36 fi
37 use kde && kde4-base_pkg_setup 37 use kde && kde4-base_pkg_setup
38} 38}
39 39
40src_configure() { 40src_configure() {
41 mycmakeargs="$(cmake-utils_use parentless-dialog-fix QTC_ENABLE_PARENTLESS_DIALOG_FIX_SUPPORT)"
42 if use kde; then 41 if use kde; then
43 mycmakeargs="${mycmakeargs} $(use windeco && echo "-DQTC_KWIN=true")" 42 mycmakeargs="$(use windeco && echo "-DQTC_KWIN=true")"
44 kde4-base_src_configure 43 kde4-base_src_configure
45 else 44 else
46 mycmakeargs="${mycmakeargs} -DQTC_QT_ONLY=true" 45 mycmakeargs="-DQTC_QT_ONLY=true"
47 cmake-utils_src_configure 46 cmake-utils_src_configure
48 fi 47 fi
49} 48}

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

  ViewVC Help
Powered by ViewVC 1.1.20