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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Feb 20 23:28:05 2009 UTC (5 years, 10 months ago) by yngwin
Branch: MAIN
Changes since 1.2: +5 -6 lines
Version bump, ebuild cleanups
(Portage version: 2.2_rc23/cvs/Linux i686)

1 yngwin 1.3 # Copyright 1999-2009 Gentoo Foundation
2 yngwin 1.1 # Distributed under the terms of the GNU General Public License v2
3 yngwin 1.3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-0.60.0.ebuild,v 1.2 2008/12/30 12:58:34 yngwin Exp $
4 yngwin 1.1
5 yngwin 1.2 EAPI="2"
6 yngwin 1.1 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     KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
16     IUSE="kde"
17    
18 yngwin 1.3 DEPEND="x11-libs/qt-gui:4[dbus]
19     kde? ( >=kde-base/kwin-4.1.0 )"
20     RDEPEND="${DEPEND}"
21 yngwin 1.1
22     S="${WORKDIR}/${MY_P}"
23     DOCS="ChangeLog README TODO"
24    
25     src_compile() {
26     if use !kde ; then
27     append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true";
28     sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt
29     fi
30     cmake-utils_src_compile
31     }

  ViewVC Help
Powered by ViewVC 1.1.20