/[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.7 - (hide annotations) (download)
Sat Mar 2 23:58:12 2013 UTC (18 months, 2 weeks ago) by hwoarang
Branch: MAIN
Changes since 1.6: +4 -4 lines
Move Qt dependencies to the new category

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

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

  ViewVC Help
Powered by ViewVC 1.1.20