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

Contents of /x11-themes/qtcurve-qt4/qtcurve-qt4-0.59.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Wed Sep 24 19:03:16 2008 UTC (6 years, 2 months ago) by yngwin
Branch: MAIN
Changes since 1.11: +2 -2 lines
Change kde-4 slot to 4, as this is what is used in kde-testing overlay. Fixes bug 238537.
(Portage version: 2.2_rc9/cvs/Linux 2.6.26.5 i686)

1 yngwin 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 yngwin 1.12 # $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-0.59.3-r1.ebuild,v 1.11 2008/07/27 00:40:23 carlo Exp $
4 yngwin 1.1
5     EAPI="1"
6     inherit flag-o-matic cmake-utils
7    
8     MY_P="${P/qtcurve-qt4/QtCurve-KDE4}"
9     DESCRIPTION="A set of widget styles for Qt4 based apps, also available for KDE3 and GTK2"
10     HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
11     SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 bluebird 1.10 KEYWORDS="alpha amd64 hppa ppc64 sparc x86"
16 yngwin 1.1 IUSE="kde"
17    
18 carlo 1.11 DEPEND="|| ( x11-libs/qt-gui:4 <x11-libs/qt-4.4:4 )
19 yngwin 1.12 kde? ( kde-base/kwin:4
20 yngwin 1.1 x11-libs/qt-gui:4 )"
21     # kde-4 support needs methods from qt-gui-4.4
22    
23     S="${WORKDIR}/${MY_P}"
24     DOCS="ChangeLog README TODO"
25    
26     src_compile() {
27     if use !kde ; then
28 yngwin 1.5 append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true";
29 yngwin 1.3 sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt
30 yngwin 1.1 fi
31     cmake-utils_src_compile
32 mr_bones_ 1.4 }

  ViewVC Help
Powered by ViewVC 1.1.20