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

Contents of /x11-themes/qtcurve-qt4/qtcurve-qt4-1.0.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jan 22 08:25:30 2010 UTC (4 years, 7 months ago) by wired
Branch: MAIN
Changes since 1.1: +2 -1 lines
added missing qt-svg dep
(Portage version: 2.2_rc61/cvs/Linux x86_64, RepoMan options: --force)

1 # Copyright 1999-2010 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.0.1-r2.ebuild,v 1.1 2010/01/16 12:48:16 yngwin Exp $
4
5 EAPI="2"
6 KDE_REQUIRED="optional"
7 KDE_MINIMAL="4.2"
8 inherit confutils 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 GTK2"
12 HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
13 SRC_URI="http://craigd.wikispaces.com/file/view/${MY_P}.tar.bz2"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
18 IUSE="kde windeco"
19
20 DEPEND="x11-libs/qt-gui:4[dbus]
21 x11-libs/qt-svg:4
22 kde? ( >=kde-base/systemsettings-${KDE_MINIMAL}
23 windeco? ( >=kde-base/kwin-${KDE_MINIMAL} ) )"
24 RDEPEND="${DEPEND}"
25
26 S=${WORKDIR}/${MY_P}
27 DOCS="ChangeLog README TODO"
28
29 pkg_setup() {
30 confutils_use_depend_all windeco kde
31 use kde && kde4-base_pkg_setup
32 }
33
34 src_configure() {
35 if use kde; then
36 kde4-base_src_configure
37 else
38 mycmakeargs="-DQTC_QT_ONLY=true"
39 cmake-utils_src_configure
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20