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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 11 18:25:00 2009 UTC (5 years, 5 months ago) by yngwin
Branch: MAIN
Version bump with several fixes
(Portage version: 2.2_rc24/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="2"
6 NEED_KDE="none"
7 inherit flag-o-matic cmake-utils kde4-base
8
9 MY_P="${P/qtcurve-qt4/QtCurve-KDE4}"
10 DESCRIPTION="A set of widget styles for Qt4 based apps, also available for KDE3 and GTK2"
11 HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
12 SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
17 IUSE="kde"
18
19 DEPEND="x11-libs/qt-gui:4[dbus]
20 kde? ( >=kde-base/kwin-4.1.0 )"
21 RDEPEND="${DEPEND}"
22
23 S="${WORKDIR}/${MY_P}"
24 DOCS="ChangeLog README TODO"
25
26 src_prepare() {
27 if has_version '>=x11-libs/qt-gui-4.5.0_rc1'; then
28 sed -i "s/QStyleOptionTabV2/QStyleOptionTabV3/" "${S}"/style/qtcurve.cpp
29 fi
30 if use !kde ; then
31 append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true";
32 sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt
33 fi
34 }

  ViewVC Help
Powered by ViewVC 1.1.20