summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2011-03-01 19:07:32 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2011-03-01 19:07:32 +0000
commit4e5fce76ba48ae3a886a5493c27e2f39a7c2dd39 (patch)
tree793c234f1739e32e295e7241d8c83028333fb491
parentVersion bump Qt 4.7.2 (diff)
downloadgentoo-2-4e5fce76ba48ae3a886a5493c27e2f39a7c2dd39.tar.gz
gentoo-2-4e5fce76ba48ae3a886a5493c27e2f39a7c2dd39.tar.bz2
gentoo-2-4e5fce76ba48ae3a886a5493c27e2f39a7c2dd39.zip
Version bump Qt 4.7.2
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
-rw-r--r--x11-libs/qt-demo/ChangeLog9
-rw-r--r--x11-libs/qt-demo/qt-demo-4.7.2.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/x11-libs/qt-demo/ChangeLog b/x11-libs/qt-demo/ChangeLog
index d1098c3af53b..117b22796992 100644
--- a/x11-libs/qt-demo/ChangeLog
+++ b/x11-libs/qt-demo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/qt-demo
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-demo/ChangeLog,v 1.63 2010/12/23 07:55:17 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-demo/ChangeLog,v 1.64 2011/03/01 19:07:32 tampakrap Exp $
+
+*qt-demo-4.7.2 (01 Mar 2011)
+
+ 01 Mar 2011; Theo Chatzimichos <tampakrap@gentoo.org> +qt-demo-4.7.2.ebuild:
+ Version bump Qt 4.7.2
23 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> qt-demo-4.6.3.ebuild:
ppc64 stable wrt #341703
diff --git a/x11-libs/qt-demo/qt-demo-4.7.2.ebuild b/x11-libs/qt-demo/qt-demo-4.7.2.ebuild
new file mode 100644
index 000000000000..7d1abeb177b3
--- /dev/null
+++ b/x11-libs/qt-demo/qt-demo-4.7.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-demo/qt-demo-4.7.2.ebuild,v 1.1 2011/03/01 19:07:32 tampakrap Exp $
+
+EAPI="3"
+inherit qt4-build
+
+DESCRIPTION="Demonstration module of the Qt toolkit"
+SLOT="4"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="kde qt3support"
+
+DEPEND="~x11-libs/qt-assistant-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-core-${PV}:${SLOT}[aqua=,qt3support=]
+ ~x11-libs/qt-dbus-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-gui-${PV}:${SLOT}[aqua=,qt3support=]
+ ~x11-libs/qt-multimedia-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-opengl-${PV}:${SLOT}[aqua=,qt3support=]
+ !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=]
+ media-sound/phonon[aqua=] ) )
+ kde? ( media-sound/phonon[aqua=] )
+ ~x11-libs/qt-script-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-sql-${PV}:${SLOT}[aqua=,qt3support=]
+ ~x11-libs/qt-svg-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-test-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-webkit-${PV}:${SLOT}[aqua=]
+ ~x11-libs/qt-xmlpatterns-${PV}:${SLOT}[aqua=]"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-4.6-plugandpaint.patch" )
+
+pkg_setup() {
+ QT4_TARGET_DIRECTORIES="demos
+ examples"
+ QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
+ doc/src/images
+ src/
+ include/
+ tools/"
+
+ qt4-build_pkg_setup
+}
+
+src_configure() {
+ myconf="${myconf} $(qt_use qt3support)"
+ qt4-build_src_configure
+}
+
+src_install() {
+ insinto "${QTDOCDIR#${EPREFIX}}"/src
+ doins -r "${S}"/doc/src/images || die "Installing images failed."
+
+ qt4-build_src_install
+}