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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Nov 4 04:54:16 2013 UTC (13 months, 2 weeks ago) by yngwin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Complete move of qtcurve-qt4 to qtcurve

1 # Copyright 1999-2013 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.14.ebuild,v 1.9 2013/10/01 21:47:30 pesa 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
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 REQUIRED_USE="windeco? ( kde )"
20
21 DEPEND="dev-qt/qtdbus:4
22 dev-qt/qtgui:4
23 dev-qt/qtsvg:4
24 kde? (
25 $(add_kdebase_dep systemsettings)
26 windeco? ( $(add_kdebase_dep kwin) )
27 )"
28 RDEPEND="${DEPEND}"
29
30 S=${WORKDIR}/${MY_P}
31
32 DOCS=( ChangeLog README TODO )
33 PATCHES=( "${FILESDIR}/${PN}_kwin_automagic_fix.patch" )
34
35 pkg_setup() {
36 use kde && kde4-base_pkg_setup
37 }
38
39 src_configure() {
40 local mycmakeargs
41 if use kde; then
42 mycmakeargs=(
43 $(cmake-utils_use windeco QTC_KWIN)
44 )
45 kde4-base_src_configure
46 else
47 mycmakeargs=(
48 "-DQTC_QT_ONLY=true"
49 )
50 cmake-utils_src_configure
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20