diff options
author | 2009-04-10 01:39:31 +0000 | |
---|---|---|
committer | 2009-04-10 01:39:31 +0000 | |
commit | 834921058a99b000ca9e7ceaae2ac142f2a5dcab (patch) | |
tree | daa30ef8708459532abddc13417db2755a1166b3 /x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild | |
parent | sort out the upgrade path. This will make it 'seem' like a downgrade but it i... (diff) | |
download | gentoo-2-834921058a99b000ca9e7ceaae2ac142f2a5dcab.tar.gz gentoo-2-834921058a99b000ca9e7ceaae2ac142f2a5dcab.tar.bz2 gentoo-2-834921058a99b000ca9e7ceaae2ac142f2a5dcab.zip |
Version bump
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild')
-rw-r--r-- | x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild b/x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild new file mode 100644 index 000000000000..c8bc7dbb357b --- /dev/null +++ b/x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-0.62.7.ebuild,v 1.1 2009/04/10 01:39:31 yngwin Exp $ + +EAPI="2" +NEED_KDE="none" +inherit flag-o-matic cmake-utils kde4-base + +MY_P="${P/qtcurve-qt4/QtCurve-KDE4}" +DESCRIPTION="A set of widget styles for Qt4 based apps, also available for KDE3 and GTK2" +HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492" +SRC_URI="http://home.freeuk.com/cpdrummond/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="kde" + +DEPEND="x11-libs/qt-gui:4[dbus] + kde? ( >=kde-base/kwin-4.1.0 )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" +DOCS="ChangeLog README TODO" + +src_prepare() { + if has_version '>=x11-libs/qt-gui-4.5.0_rc1'; then + sed -i "s/QStyleOptionTabV2/QStyleOptionTabV3/" "${S}"/style/qtcurve.cpp + fi + if use !kde ; then + append-cppflags "-DQTC_NO_KDE4_LINKING=true -DQTC_DISABLE_KDEFILEDIALOG_CALLS=true"; + sed -i "s/find_package(KDE4)/#&/" "${S}"/CMakeLists.txt + fi +} |