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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Feb 23 08:08:08 2010 UTC (4 years, 4 months ago) by wired
Branch: MAIN
[x11-themes/qtcurve-qt4] version bump, patch to fix -kde compilation
(Portage version: 2.2_rc63/cvs/Linux x86_64)

1 wired 1.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.2.ebuild,v 1.1 2010/02/01 14:41:32 wired 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     PATCHES=( "${FILESDIR}/${P}-no-kde-fail.patch" )
30    
31     pkg_setup() {
32     confutils_use_depend_all windeco kde
33     use kde && kde4-base_pkg_setup
34     }
35    
36     src_configure() {
37     if use kde; then
38     kde4-base_src_configure
39     else
40     mycmakeargs="-DQTC_QT_ONLY=true"
41     cmake-utils_src_configure
42     fi
43     }

  ViewVC Help
Powered by ViewVC 1.1.20