1 |
nelchael |
1.1 |
# Copyright 1999-2009 Gentoo Foundation |
2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
3 |
abcd |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-0.69.0.ebuild,v 1.1 2009/10/09 19:38:50 nelchael Exp $ |
4 |
nelchael |
1.1 |
|
5 |
|
|
EAPI="2" |
6 |
|
|
KDE_REQUIRED="optional" |
7 |
abcd |
1.2 |
KDE_MINIMAL="4.2" |
8 |
nelchael |
1.1 |
inherit flag-o-matic cmake-utils kde4-base |
9 |
|
|
|
10 |
|
|
MY_P="${P/qtcurve-qt4/QtCurve-KDE4}" |
11 |
|
|
DESCRIPTION="A set of widget styles for Qt4 based apps, also available for KDE3 and GTK2" |
12 |
|
|
HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492" |
13 |
|
|
SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2" |
14 |
|
|
|
15 |
|
|
LICENSE="GPL-2" |
16 |
|
|
SLOT="0" |
17 |
|
|
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
18 |
|
|
IUSE="kde" |
19 |
|
|
|
20 |
|
|
DEPEND="x11-libs/qt-gui:4[dbus] |
21 |
abcd |
1.2 |
kde? ( >=kde-base/kwin-${KDE_MINIMAL} )" |
22 |
nelchael |
1.1 |
RDEPEND="${DEPEND}" |
23 |
|
|
|
24 |
|
|
S="${WORKDIR}/${MY_P}" |
25 |
|
|
DOCS="ChangeLog README TODO" |
26 |
|
|
|
27 |
|
|
src_configure() { |
28 |
|
|
if use kde ; then |
29 |
|
|
kde4-base_src_configure |
30 |
|
|
else |
31 |
|
|
mycmakeargs="-DQTC_QT_ONLY=true" |
32 |
|
|
cmake-utils_src_configure |
33 |
|
|
fi |
34 |
|
|
} |