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

Contents of /x11-themes/qtcurve-qt4/qtcurve-qt4-1.8.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Apr 6 12:24:57 2012 UTC (2 years, 6 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-1.8.8.ebuild,v 1.1 2011/07/03 19:29:41 wired Exp $
4
5 EAPI=4
6 KDE_REQUIRED="optional"
7 inherit cmake-utils kde4-base
8
9 MY_P="${P/qtcurve-qt4/QtCurve-KDE4}"
10 DESCRIPTION="A set of widget styles for Qt4 based apps, also available for GTK2"
11 HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
12 SRC_URI="http://craigd.wikispaces.com/file/view/${MY_P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
17 IUSE="kde windeco"
18
19 DEPEND="x11-libs/qt-gui:4[dbus]
20 x11-libs/qt-svg:4
21 kde? (
22 $(add_kdebase_dep systemsettings)
23 windeco? ( $(add_kdebase_dep kwin) )
24 )"
25 RDEPEND="${DEPEND}"
26
27 S=${WORKDIR}/${MY_P}
28 DOCS="ChangeLog README TODO"
29
30 PATCHES=( "${FILESDIR}/${PN}_kwin_automagic_fix.patch" )
31
32 REQUIRED_USE="windeco? ( kde )"
33
34 pkg_setup() {
35 use kde && kde4-base_pkg_setup
36 }
37
38 src_configure() {
39 local mycmakeargs
40 if use kde; then
41 mycmakeargs=(
42 $(cmake-utils_use windeco QTC_KWIN)
43 )
44 kde4-base_src_configure
45 else
46 mycmakeargs=(
47 "-DQTC_QT_ONLY=true"
48 )
49 cmake-utils_src_configure
50 fi
51 }

  ViewVC Help
Powered by ViewVC 1.1.20