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-0.69.2.ebuild,v 1.10 2011/01/29 18:12:52 scarabeus Exp $ |
4 |
|
5 |
EAPI=3 |
6 |
KDE_REQUIRED="optional" |
7 |
inherit flag-o-matic 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 KDE3 and 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" |
18 |
|
19 |
DEPEND="x11-libs/qt-gui:4[dbus] |
20 |
kde? ( $(add_kdebase_dep kwin) )" |
21 |
RDEPEND="${DEPEND}" |
22 |
|
23 |
S=${WORKDIR}/${MY_P} |
24 |
DOCS="ChangeLog README TODO" |
25 |
|
26 |
src_configure() { |
27 |
if use kde ; then |
28 |
kde4-base_src_configure |
29 |
else |
30 |
mycmakeargs=(-DQTC_QT_ONLY=true) |
31 |
cmake-utils_src_configure |
32 |
fi |
33 |
} |