summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-10-30 04:05:51 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-11-01 01:29:09 +1100
commit2f38ee0ac7e073edbf0018b93b78e035081ff595 (patch)
treebe0dec6066b33a2d21f925858d4ec8626c9f7d0d /dev-qt/qtdemo
parentdev-python/autopep8: Add python3.5 support (diff)
downloadgentoo-2f38ee0ac7e073edbf0018b93b78e035081ff595.tar.gz
gentoo-2f38ee0ac7e073edbf0018b93b78e035081ff595.tar.bz2
gentoo-2f38ee0ac7e073edbf0018b93b78e035081ff595.zip
dev-qt: remove 4.8.5
Diffstat (limited to 'dev-qt/qtdemo')
-rw-r--r--dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild116
1 files changed, 0 insertions, 116 deletions
diff --git a/dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild b/dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild
deleted file mode 100644
index 2607b79b9ac4..000000000000
--- a/dev-qt/qtdemo/qtdemo-4.8.5-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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
-}