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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Aug 22 12:06:50 2012 UTC (2 years, 2 months ago) by xmw
Branch: MAIN
Changes since 1.5: +2 -2 lines
ppc stable (bug 411845).

(Portage version: 2.1.11.10/cvs/Linux x86_64)

1 pesa 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 xmw 1.6 # $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-1.8.12.ebuild,v 1.5 2012/07/29 16:32:31 armin76 Exp $
4 pesa 1.1
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 xmw 1.6 KEYWORDS="alpha amd64 hppa ppc ~ppc64 sparc x86"
18 pesa 1.1 IUSE="kde windeco"
19    
20     DEPEND="x11-libs/qt-gui:4[dbus]
21     x11-libs/qt-svg:4
22     kde? (
23     $(add_kdebase_dep systemsettings)
24     windeco? ( $(add_kdebase_dep kwin) )
25     )"
26     RDEPEND="${DEPEND}"
27    
28     S=${WORKDIR}/${MY_P}
29    
30     DOCS="ChangeLog README TODO"
31    
32     PATCHES=( "${FILESDIR}/${PN}_kwin_automagic_fix.patch" )
33    
34     REQUIRED_USE="windeco? ( kde )"
35    
36     pkg_setup() {
37     use kde && kde4-base_pkg_setup
38     }
39    
40     src_configure() {
41     local mycmakeargs
42     if use kde; then
43     mycmakeargs=(
44     $(cmake-utils_use windeco QTC_KWIN)
45     )
46     kde4-base_src_configure
47     else
48     mycmakeargs=(
49     "-DQTC_QT_ONLY=true"
50     )
51     cmake-utils_src_configure
52     fi
53     }

  ViewVC Help
Powered by ViewVC 1.1.20