summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2010-01-12 21:49:02 +0000
committerBen de Groot <yngwin@gentoo.org>2010-01-12 21:49:02 +0000
commit3b5547a8008f41e635cd0719113d18a453b35a6d (patch)
tree2fb5c76400e41ca26277af2b4f67fc7409e6452c /x11-themes/qtcurve-qt4
parentAdd missing libXt and libXpm deps for the mozilla plugin, bug #300152, by Don... (diff)
downloadgentoo-2-3b5547a8008f41e635cd0719113d18a453b35a6d.tar.gz
gentoo-2-3b5547a8008f41e635cd0719113d18a453b35a6d.tar.bz2
gentoo-2-3b5547a8008f41e635cd0719113d18a453b35a6d.zip
Add windeco useflag for more finegrained control over dependencies. Fixes bug 297426.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes/qtcurve-qt4')
-rw-r--r--x11-themes/qtcurve-qt4/ChangeLog9
-rw-r--r--x11-themes/qtcurve-qt4/metadata.xml1
-rw-r--r--x11-themes/qtcurve-qt4/qtcurve-qt4-1.0.1-r1.ebuild39
3 files changed, 48 insertions, 1 deletions
diff --git a/x11-themes/qtcurve-qt4/ChangeLog b/x11-themes/qtcurve-qt4/ChangeLog
index 3d631d5d6c54..f5542d8ae4e0 100644
--- a/x11-themes/qtcurve-qt4/ChangeLog
+++ b/x11-themes/qtcurve-qt4/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-themes/qtcurve-qt4
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/ChangeLog,v 1.89 2010/01/11 23:17:07 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/ChangeLog,v 1.90 2010/01/12 21:49:02 yngwin Exp $
+
+*qtcurve-qt4-1.0.1-r1 (12 Jan 2010)
+
+ 12 Jan 2010; Ben de Groot <yngwin@gentoo.org>
+ +qtcurve-qt4-1.0.1-r1.ebuild:
+ Add windeco useflag for more finegrained control over dependencies. Fixes
+ bug 297426. Thanks to Jesús Guerrero.
*qtcurve-qt4-1.0.1 (11 Jan 2010)
diff --git a/x11-themes/qtcurve-qt4/metadata.xml b/x11-themes/qtcurve-qt4/metadata.xml
index c056021253fa..fc4841c694cf 100644
--- a/x11-themes/qtcurve-qt4/metadata.xml
+++ b/x11-themes/qtcurve-qt4/metadata.xml
@@ -6,5 +6,6 @@
<flag name='kde'>Enable KDE4 support. This adds a QtCurve configuration
module to KDE's SystemSettings.
</flag>
+ <flag name='windeco'>Enable window decoration for KWin.</flag>
</use>
</pkgmetadata>
diff --git a/x11-themes/qtcurve-qt4/qtcurve-qt4-1.0.1-r1.ebuild b/x11-themes/qtcurve-qt4/qtcurve-qt4-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..3314e8c1073c
--- /dev/null
+++ b/x11-themes/qtcurve-qt4/qtcurve-qt4-1.0.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/qtcurve-qt4-1.0.1-r1.ebuild,v 1.1 2010/01/12 21:49:02 yngwin Exp $
+
+EAPI="2"
+KDE_REQUIRED="optional"
+KDE_MINIMAL="4.2"
+inherit confutils cmake-utils kde4-base
+
+MY_P="${P/qtcurve-qt4/QtCurve-KDE4}"
+DESCRIPTION="A set of widget styles for Qt4 based apps, also available for GTK2"
+HOMEPAGE="http://www.kde-look.org/content/show.php?content=40492"
+SRC_URI="http://craigd.wikispaces.com/file/view/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="kde windeco"
+
+DEPEND="x11-libs/qt-gui:4[dbus]
+ kde? ( >=kde-base/systemsettings-${KDE_MINIMAL}
+ windeco? ( >=kde-base/kwin-${KDE_MINIMAL} ) )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+DOCS="ChangeLog README TODO"
+
+pkg_setup() {
+ confutils_use_depend_all windeco kde
+}
+
+src_configure() {
+ if use kde; then
+ kde4-base_src_configure
+ else
+ mycmakeargs="-DQTC_QT_ONLY=true"
+ cmake-utils_src_configure
+ fi
+}