diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-qt/qtdemo | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-qt/qtdemo')
-rw-r--r-- | dev-qt/qtdemo/Manifest | 3 | ||||
-rw-r--r-- | dev-qt/qtdemo/files/qtdemo-4.6-plugandpaint.patch | 13 | ||||
-rw-r--r-- | dev-qt/qtdemo/metadata.xml | 22 | ||||
-rw-r--r-- | dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild | 116 | ||||
-rw-r--r-- | dev-qt/qtdemo/qtdemo-4.8.6-r1.ebuild | 97 | ||||
-rw-r--r-- | dev-qt/qtdemo/qtdemo-4.8.7.ebuild | 97 |
6 files changed, 348 insertions, 0 deletions
diff --git a/dev-qt/qtdemo/Manifest b/dev-qt/qtdemo/Manifest new file mode 100644 index 00000000000..ac4ca6af0d2 --- /dev/null +++ b/dev-qt/qtdemo/Manifest @@ -0,0 +1,3 @@ +DIST qt-everywhere-opensource-src-4.8.5.tar.gz 241491467 SHA256 eb728f8268831dc4373be6403b7dd5d5dde03c169ad6882f9a8cb560df6aa138 SHA512 47118d1aa30c59a1eb74e805023cd060edcb35bb0944fe6651889254b75acbd4b83700ba92a9bc215663474d26330cb44f084098c380fac9270742659e5864eb WHIRLPOOL a18f47fd91b522d1543e415aff4f5056202e0cab03da9cfcae9fe2d4118cb1dd1d5fd6a5e2edb9c1e4a68563188d44440e234d268d9c0aef6e3ca3f0988dd357 +DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84 +DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2 diff --git a/dev-qt/qtdemo/files/qtdemo-4.6-plugandpaint.patch b/dev-qt/qtdemo/files/qtdemo-4.6-plugandpaint.patch new file mode 100644 index 00000000000..262996aa106 --- /dev/null +++ b/dev-qt/qtdemo/files/qtdemo-4.6-plugandpaint.patch @@ -0,0 +1,13 @@ +diff --git a/examples/tools/plugandpaint/plugandpaint.pro b/examples/tools/plugandpaint/plugandpaint.pro +index 9616eb8..e188bc1 100644 +--- a/examples/tools/plugandpaint/plugandpaint.pro ++++ b/examples/tools/plugandpaint/plugandpaint.pro +@@ -10,7 +10,7 @@ SOURCES = main.cpp \ + symbian { + LIBS = -lpnp_basictools.lib + } else { +- LIBS = -L$${QT_BUILD_TREE}/examples/tools/plugandpaint/plugins -lpnp_basictools ++ LIBS += -L$${QT_BUILD_TREE}/examples/tools/plugandpaint/plugins -lpnp_basictools + } + + if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { diff --git a/dev-qt/qtdemo/metadata.xml b/dev-qt/qtdemo/metadata.xml new file mode 100644 index 00000000000..17de06fe119 --- /dev/null +++ b/dev-qt/qtdemo/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>qt</herd> + <use> + <flag name="dbus">Build QtDBus examples and demos</flag> + <flag name="declarative">Build QtDeclarative examples and demos</flag> + <flag name="exceptions">Add support for exceptions - like catching them + inside the event loop (recommended by upstream)</flag> + <flag name="multimedia">Build QtMultimedia examples and demos</flag> + <flag name="opengl">Build QtOpenGL examples and demos</flag> + <flag name="openvg">Build QtOpenVG examples and demos</flag> + <flag name="phonon">Build Phonon examples and demos</flag> + <flag name="qt3support">Build Qt3Support examples and demos</flag> + <flag name="webkit">Build QtWebKit examples and demos</flag> + <flag name="xmlpatterns">Build QtXmlPatterns examples and demos</flag> + </use> + <upstream> + <bugs-to>https://bugreports.qt.io/</bugs-to> + <doc>http://doc.qt.io/</doc> + </upstream> +</pkgmetadata> diff --git a/dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild b/dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild new file mode 100644 index 00000000000..2607b79b9ac --- /dev/null +++ b/dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit qt4-build + +DESCRIPTION="Demonstration module and examples for the Qt toolkit" +SLOT="4" +if [[ ${QT4_BUILD_TYPE} == live ]]; then + KEYWORDS="" +else + KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x64-macos" +fi +IUSE="dbus declarative kde multimedia opengl openvg phonon qt3support webkit xmlpatterns" + +DEPEND=" + ~dev-qt/designer-${PV}[aqua=,debug=] + ~dev-qt/qtcore-${PV}[aqua=,debug=,qt3support?] + ~dev-qt/qtgui-${PV}[aqua=,debug=,qt3support?] + ~dev-qt/qthelp-${PV}[aqua=,debug=] + ~dev-qt/qtscript-${PV}[aqua=,debug=] + ~dev-qt/qtsql-${PV}[aqua=,debug=,qt3support?] + ~dev-qt/qtsvg-${PV}[aqua=,debug=] + ~dev-qt/qttest-${PV}[aqua=,debug=] + dbus? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=] ) + declarative? ( ~dev-qt/qtdeclarative-${PV}[aqua=,debug=,webkit?] ) + multimedia? ( ~dev-qt/qtmultimedia-${PV}[aqua=,debug=] ) + opengl? ( ~dev-qt/qtopengl-${PV}[aqua=,debug=,qt3support?] ) + openvg? ( ~dev-qt/qtopenvg-${PV}[aqua=,debug=,qt3support?] ) + phonon? ( + kde? ( media-libs/phonon[aqua=,qt4] ) + !kde? ( || ( ~dev-qt/qtphonon-${PV}[aqua=,debug=] media-libs/phonon[aqua=,qt4] ) ) + ) + qt3support? ( ~dev-qt/qt3support-${PV}[aqua=,debug=] ) + webkit? ( ~dev-qt/qtwebkit-${PV}[aqua=,debug=] ) + xmlpatterns? ( ~dev-qt/qtxmlpatterns-${PV}[aqua=,debug=] ) +" +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 + include + src + tools" + + qt4-build_pkg_setup +} + +src_prepare() { + qt4-build_src_prepare + + # Array mapping USE flags to subdirs + local flags_subdirs_map=( + 'dbus' + 'declarative:declarative' + 'multimedia:spectrum' + 'opengl:boxes|glhypnotizer' + 'openvg' + 'phonon:mediaplayer' + 'webkit:browser' + 'xmlpatterns' + ) + + # Disable unwanted examples/demos + for flag in "${flags_subdirs_map[@]}"; do + if ! use ${flag%:*}; then + einfo "Disabling ${flag%:*} examples" + sed -i -e "/SUBDIRS += ${flag%:*}/d" \ + examples/examples.pro || die + + if [[ ${flag} == *:* ]]; then + einfo "Disabling ${flag%:*} demos" + sed -i -re "/SUBDIRS \+= demos_(${flag#*:})/d" \ + demos/demos.pro || die + fi + fi + done + + if ! use qt3support; then + einfo "Disabling qt3support examples" + sed -i -e '/QT_CONFIG, qt3support/d' \ + examples/graphicsview/graphicsview.pro || die + fi +} + +src_configure() { + myconf+=" + $(qt_use dbus) + $(qt_use declarative) + $(qt_use multimedia) -no-audio-backend + $(qt_use opengl) + $(qt_use openvg) + $(qt_use phonon) -no-phonon-backend + $(qt_use qt3support) + $(qt_use webkit) + $(qt_use xmlpatterns)" + + qt4-build_src_configure +} + +src_install() { + insinto "${QTDOCDIR#${EPREFIX}}"/src + doins -r doc/src/images + + qt4-build_src_install +} diff --git a/dev-qt/qtdemo/qtdemo-4.8.6-r1.ebuild b/dev-qt/qtdemo/qtdemo-4.8.6-r1.ebuild new file mode 100644 index 00000000000..c984ec83e40 --- /dev/null +++ b/dev-qt/qtdemo/qtdemo-4.8.6-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qt4-build-multilib + +DESCRIPTION="Demonstration module and examples for the Qt toolkit" + +if [[ ${QT4_BUILD_TYPE} == live ]]; then + KEYWORDS="arm ppc ppc64" +else + KEYWORDS="amd64 arm ppc ppc64 x86 ~x64-macos" +fi + +IUSE="dbus declarative kde multimedia opengl openvg phonon webkit xmlpatterns" + +DEPEND=" + ~dev-qt/designer-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtgui-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qthelp-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtscript-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtsql-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtsvg-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qttest-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + dbus? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + declarative? ( ~dev-qt/qtdeclarative-${PV}[aqua=,debug=,webkit?,${MULTILIB_USEDEP}] ) + multimedia? ( ~dev-qt/qtmultimedia-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + opengl? ( ~dev-qt/qtopengl-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + openvg? ( ~dev-qt/qtopenvg-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + phonon? ( + kde? ( media-libs/phonon[aqua=,qt4] ) + !kde? ( || ( ~dev-qt/qtphonon-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] media-libs/phonon[aqua=,qt4] ) ) + ) + webkit? ( ~dev-qt/qtwebkit-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + xmlpatterns? ( ~dev-qt/qtxmlpatterns-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-4.6-plugandpaint.patch" +) + +QT4_TARGET_DIRECTORIES=" + demos + examples" + +src_prepare() { + qt4-build-multilib_src_prepare + + # Array mapping USE flags to subdirs + local flags_subdirs_map=( + 'dbus' + 'declarative:declarative' + 'multimedia:spectrum' + 'opengl:boxes|glhypnotizer' + 'openvg' + 'phonon:mediaplayer' + 'webkit:browser' + 'xmlpatterns' + ) + + # Disable unwanted examples/demos + for flag in "${flags_subdirs_map[@]}"; do + if ! use ${flag%:*}; then + einfo "Disabling ${flag%:*} examples" + sed -i -e "/SUBDIRS += ${flag%:*}/d" \ + examples/examples.pro || die + + if [[ ${flag} == *:* ]]; then + einfo "Disabling ${flag%:*} demos" + sed -i -re "/SUBDIRS \+= demos_(${flag#*:})/d" \ + demos/demos.pro || die + fi + fi + done + + # Remove bogus dependency on qt3support (bug 510042) + sed -i -e 's/contains(QT_CONFIG, qt3support)://' \ + examples/graphicsview/graphicsview.pro || die +} + +multilib_src_configure() { + local myconf=( + $(qt_use dbus) + $(qt_use declarative) + $(qt_use multimedia) -no-audio-backend + $(qt_use opengl) + $(qt_use openvg) + $(qt_native_use phonon) -no-phonon-backend + $(qt_use webkit) + $(qt_use xmlpatterns) + ) + qt4_multilib_src_configure +} diff --git a/dev-qt/qtdemo/qtdemo-4.8.7.ebuild b/dev-qt/qtdemo/qtdemo-4.8.7.ebuild new file mode 100644 index 00000000000..f3cc44200d3 --- /dev/null +++ b/dev-qt/qtdemo/qtdemo-4.8.7.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit qt4-build-multilib + +DESCRIPTION="Demonstration module and examples for the Qt toolkit" + +if [[ ${QT4_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos" +fi + +IUSE="dbus declarative kde multimedia opengl openvg phonon webkit xmlpatterns" + +DEPEND=" + ~dev-qt/designer-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtgui-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qthelp-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtscript-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtsql-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qtsvg-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + ~dev-qt/qttest-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + dbus? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + declarative? ( ~dev-qt/qtdeclarative-${PV}[aqua=,debug=,webkit?,${MULTILIB_USEDEP}] ) + multimedia? ( ~dev-qt/qtmultimedia-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + opengl? ( ~dev-qt/qtopengl-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + openvg? ( ~dev-qt/qtopenvg-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + phonon? ( + kde? ( >=media-libs/phonon-4.8.3-r1[aqua=,qt4,${MULTILIB_USEDEP}] ) + !kde? ( || ( + ~dev-qt/qtphonon-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] + >=media-libs/phonon-4.8.3-r1[aqua=,qt4,${MULTILIB_USEDEP}] + ) ) + ) + webkit? ( ~dev-qt/qtwebkit-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) + xmlpatterns? ( ~dev-qt/qtxmlpatterns-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-4.6-plugandpaint.patch" +) + +QT4_TARGET_DIRECTORIES=" + demos + examples" + +src_prepare() { + qt4-build-multilib_src_prepare + + # Array mapping USE flags to subdirs + local flags_subdirs_map=( + 'dbus' + 'declarative:declarative' + 'multimedia:spectrum' + 'opengl:boxes|glhypnotizer' + 'openvg' + 'phonon:mediaplayer' + 'webkit:browser' + 'xmlpatterns' + ) + + # Disable unwanted examples/demos + for flag in "${flags_subdirs_map[@]}"; do + if ! use ${flag%:*}; then + einfo "Disabling ${flag%:*} examples" + sed -i -e "/SUBDIRS += ${flag%:*}/d" \ + examples/examples.pro || die + + if [[ ${flag} == *:* ]]; then + einfo "Disabling ${flag%:*} demos" + sed -i -re "/SUBDIRS \+= demos_(${flag#*:})/d" \ + demos/demos.pro || die + fi + fi + done + + # Remove bogus dependency on qt3support (bug 510042) + sed -i -e 's/contains(QT_CONFIG, qt3support)://' \ + examples/graphicsview/graphicsview.pro || die +} + +multilib_src_configure() { + local myconf=( + $(qt_use dbus) + $(qt_use declarative) + $(qt_use multimedia) -no-audio-backend + $(qt_use opengl) + $(qt_use openvg) + $(qt_use phonon) -no-phonon-backend + $(qt_use webkit) + $(qt_use xmlpatterns) + ) + qt4_multilib_src_configure +} |