summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-05-25 14:22:26 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-05-25 14:22:26 +0000
commit44cbaade234bfd7c33d0c90edfafee5ce54ef885 (patch)
treef4b67d4e389bd007f644295945f9d4a90a9b2257 /x11-libs
parentAdd x11-libs/qt-demo to the Qt-4.4.0 mask. (diff)
downloadgentoo-2-44cbaade234bfd7c33d0c90edfafee5ce54ef885.tar.gz
gentoo-2-44cbaade234bfd7c33d0c90edfafee5ce54ef885.tar.bz2
gentoo-2-44cbaade234bfd7c33d0c90edfafee5ce54ef885.zip
Import x11-libs/qt-demo, thanks to Bernd Steinhauser <berniyh@exherbo.org> for the ebuild.
(Portage version: 2.1.5.2)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt-demo/ChangeLog11
-rw-r--r--x11-libs/qt-demo/Manifest5
-rw-r--r--x11-libs/qt-demo/metadata.xml5
-rw-r--r--x11-libs/qt-demo/qt-demo-4.4.0.ebuild52
4 files changed, 73 insertions, 0 deletions
diff --git a/x11-libs/qt-demo/ChangeLog b/x11-libs/qt-demo/ChangeLog
new file mode 100644
index 000000000000..8f8db347d221
--- /dev/null
+++ b/x11-libs/qt-demo/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-libs/qt-demo
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-demo/ChangeLog,v 1.1 2008/05/25 14:22:26 ingmar Exp $
+
+*qt-demo-4.4.0 (25 May 2008)
+
+ 25 May 2008; Ingmar Vanhassel <ingmar@gentoo.org> +metadata.xml,
+ +qt-demo-4.4.0.ebuild:
+ Import x11-libs/qt-demo, thanks to Bernd Steinhauser <berniyh@exherbo.org>
+ for the ebuild.
+
diff --git a/x11-libs/qt-demo/Manifest b/x11-libs/qt-demo/Manifest
new file mode 100644
index 000000000000..771f2121dc4a
--- /dev/null
+++ b/x11-libs/qt-demo/Manifest
@@ -0,0 +1,5 @@
+DIST qt-x11-opensource-src-4.4.0-headers.tar.bz2 2531285 RMD160 5cf74dd7e5864420abc5ebb725ed824854d1d0d2 SHA1 7ea8a69fb5d7bd757d3fc8ea5a91d5b738fec43a SHA256 edca0e755c3e63d514dbe94a5d1c532937412c8019c339bc68f824e031ab8ef2
+DIST qt-x11-opensource-src-4.4.0.tar.bz2 98584925 RMD160 ddcfe3390e65761a45a6112a8466b3b1e22cc584 SHA1 71acc53f5ec7bdc6abbc85409568d0d006a040e3 SHA256 871dc71c6c905212f2fea7e6598362114a3b6097c220b0b251f8d159ee7d706e
+EBUILD qt-demo-4.4.0.ebuild 1293 RMD160 997c8297b14217fdf3c6c58f92628a2452cd1f1b SHA1 aea7cea20f49c88371974a15c0c66b4d3dd76b23 SHA256 9899e7c59a99cfa55873bece5d5de5b9b6bd9382e37489fd06ef5659f73f2037
+MISC ChangeLog 335 RMD160 865174d606b43e8bd55700a87339a96b0a473ddb SHA1 1a6ecad84949dbf6690309f43b07f21fa464ee43 SHA256 b03ba0e9316cbd5d8198e40f51f44afa76a79ce296ab84093aa117b5a19dabea
+MISC metadata.xml 156 RMD160 d76590850d56864c8d99e6877ed15841b55ef1fc SHA1 e872bab086832a9db3f0fa9b1897c70577d3af21 SHA256 94c4f580c1a55f8a5e1a1dcdd6dedfea0b8bd78c1d7137c354938d73c49e4448
diff --git a/x11-libs/qt-demo/metadata.xml b/x11-libs/qt-demo/metadata.xml
new file mode 100644
index 000000000000..01a5c2875e0d
--- /dev/null
+++ b/x11-libs/qt-demo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/x11-libs/qt-demo/qt-demo-4.4.0.ebuild b/x11-libs/qt-demo/qt-demo-4.4.0.ebuild
new file mode 100644
index 000000000000..b93aa303e5bc
--- /dev/null
+++ b/x11-libs/qt-demo/qt-demo-4.4.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 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.4.0.ebuild,v 1.1 2008/05/25 14:22:26 ingmar Exp $
+
+EAPI="1"
+inherit qt4-build
+
+DESCRIPTION="Demonstration module of the Qt toolkit."
+HOMEPAGE="http://www.trolltech.com/"
+
+LICENSE="|| ( QPL-1.0 GPL-3 GPL-2 )"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ ~x11-libs/qt-assistant-${PV}:${SLOT}
+ ~x11-libs/qt-core-${PV}:${SLOT}
+ ~x11-libs/qt-dbus-${PV}:${SLOT}
+ ~x11-libs/qt-gui-${PV}:${SLOT}
+ ~x11-libs/qt-opengl-${PV}:${SLOT}
+ ~x11-libs/qt-phonon-${PV}:${SLOT}
+ ~x11-libs/qt-qt3support-${PV}:${SLOT}
+ ~x11-libs/qt-script-${PV}:${SLOT}
+ ~x11-libs/qt-sql-${PV}:${SLOT}
+ ~x11-libs/qt-svg-${PV}:${SLOT}
+ ~x11-libs/qt-test-${PV}:${SLOT}
+ ~x11-libs/qt-webkit-${PV}:${SLOT}
+ ~x11-libs/qt-xmlpatterns-${PV}:${SLOT}
+ "
+RDEPEND="${DEPEND}"
+
+QT4_TARGET_DIRECTORIES="demos
+ examples"
+QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
+ doc/src/images"
+
+src_compile() {
+ # Doesn't find qt-gui and fails linking
+ sed -e '/QT_BUILD_TREE/ a LIBS+=-L/usr/lib64/qt4\n' \
+ -i "${S}"/examples/tools/plugandpaint/plugandpaint.pro \
+ || die "Fixing plugandpaint example failed."
+
+ qt4-build_src_compile
+}
+
+src_install() {
+ insinto ${QTDOCDIR}/src
+ doins -r "${S}"/doc/src/images || die "Installing images failed."
+
+ qt4-build_src_install
+}