summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-11-17 08:49:21 +0000
committerAlex Alexander <wired@gentoo.org>2010-11-17 08:49:21 +0000
commit6d36ec023e7541a961cfa29fc0586694af2c48ee (patch)
tree2b39fbe50daf930813fc3d6994be50feeab44a81 /x11-themes/qtcurve-qt4
parentVersion bump #345839 by Jeroen Roovers. (diff)
downloadhistorical-6d36ec023e7541a961cfa29fc0586694af2c48ee.tar.gz
historical-6d36ec023e7541a961cfa29fc0586694af2c48ee.tar.bz2
historical-6d36ec023e7541a961cfa29fc0586694af2c48ee.zip
version bump
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'x11-themes/qtcurve-qt4')
-rw-r--r--x11-themes/qtcurve-qt4/ChangeLog7
-rw-r--r--x11-themes/qtcurve-qt4/qtcurve-qt4-1.7.2.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/x11-themes/qtcurve-qt4/ChangeLog b/x11-themes/qtcurve-qt4/ChangeLog
index c92c561f6524..833a79342fc9 100644
--- a/x11-themes/qtcurve-qt4/ChangeLog
+++ b/x11-themes/qtcurve-qt4/ChangeLog
@@ -1,6 +1,11 @@
# 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.115 2010/11/16 12:07:51 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/qtcurve-qt4/ChangeLog,v 1.116 2010/11/17 08:48:29 wired Exp $
+
+*qtcurve-qt4-1.7.2 (17 Nov 2010)
+
+ 17 Nov 2010; Alex Alexander <wired@gentoo.org> +qtcurve-qt4-1.7.2.ebuild:
+ version bump
16 Nov 2010; Alex Alexander <wired@gentoo.org>
qtcurve-qt4-1.6.4-r1.ebuild:
diff --git a/x11-themes/qtcurve-qt4/qtcurve-qt4-1.7.2.ebuild b/x11-themes/qtcurve-qt4/qtcurve-qt4-1.7.2.ebuild
new file mode 100644
index 000000000000..6247280465ce
--- /dev/null
+++ b/x11-themes/qtcurve-qt4/qtcurve-qt4-1.7.2.ebuild
@@ -0,0 +1,48 @@
+# 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.7.2.ebuild,v 1.1 2010/11/17 08:48:29 wired Exp $
+
+EAPI="2"
+KDE_REQUIRED="optional"
+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]
+ x11-libs/qt-svg:4
+ kde? ( >=kde-base/systemsettings-${KDE_MINIMAL}
+ windeco? ( >=kde-base/kwin-${KDE_MINIMAL} ) )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+DOCS="ChangeLog README TODO"
+
+PATCHES=( "${FILESDIR}/${PN}_kwin_automagic_fix.patch" )
+
+pkg_setup() {
+ if ! use kde && use windeco; then
+ ewarn
+ ewarn "Auto-disabling the windeco USE flag since it requires the kde USE"
+ ewarn "flag. To fix this, please enable the kde USE flag."
+ ewarn
+ fi
+ use kde && kde4-base_pkg_setup
+}
+
+src_configure() {
+ if use kde; then
+ mycmakeargs="$(use windeco && echo "-DQTC_KWIN=true")"
+ kde4-base_src_configure
+ else
+ mycmakeargs="-DQTC_QT_ONLY=true"
+ cmake-utils_src_configure
+ fi
+}