summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2014-09-11 01:45:24 +0000
committerDavide Pesavento <pesa@gentoo.org>2014-09-11 01:45:24 +0000
commite6cb5d5c93abb54e163c3f8ee1b6c7bcb0827d88 (patch)
tree9272a8a877a5fae35f57218694d5042423f139f5 /dev-qt/qtmultimedia
parentImport Qt5 from qt overlay. (diff)
downloadgentoo-2-e6cb5d5c93abb54e163c3f8ee1b6c7bcb0827d88.tar.gz
gentoo-2-e6cb5d5c93abb54e163c3f8ee1b6c7bcb0827d88.tar.bz2
gentoo-2-e6cb5d5c93abb54e163c3f8ee1b6c7bcb0827d88.zip
Import Qt5 from qt overlay.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)
Diffstat (limited to 'dev-qt/qtmultimedia')
-rw-r--r--dev-qt/qtmultimedia/ChangeLog8
-rw-r--r--dev-qt/qtmultimedia/metadata.xml4
-rw-r--r--dev-qt/qtmultimedia/qtmultimedia-5.3.1-r3.ebuild64
3 files changed, 74 insertions, 2 deletions
diff --git a/dev-qt/qtmultimedia/ChangeLog b/dev-qt/qtmultimedia/ChangeLog
index 3e09a743cac6..51190ab5c0e3 100644
--- a/dev-qt/qtmultimedia/ChangeLog
+++ b/dev-qt/qtmultimedia/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-qt/qtmultimedia
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtmultimedia/ChangeLog,v 1.12 2014/04/23 17:21:12 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtmultimedia/ChangeLog,v 1.13 2014/09/11 01:45:24 pesa Exp $
+
+*qtmultimedia-5.3.1-r3 (11 Sep 2014)
+
+ 11 Sep 2014; Davide Pesavento <pesa@gentoo.org> +qtmultimedia-5.3.1-r3.ebuild,
+ metadata.xml:
+ Import Qt5 from qt overlay.
23 Apr 2014; Mikle Kolyada <zlogene@gentoo.org> metadata.xml:
Revert metadata
diff --git a/dev-qt/qtmultimedia/metadata.xml b/dev-qt/qtmultimedia/metadata.xml
index e3ba68900f83..9010a1d65767 100644
--- a/dev-qt/qtmultimedia/metadata.xml
+++ b/dev-qt/qtmultimedia/metadata.xml
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>qt</herd>
+ <herd>qt</herd>
<use>
<flag name="exceptions">Add support for exceptions - like catching them
inside the event loop (recommended by upstream)</flag>
+ <flag name="qml">Build QML/QtQuick bindings and imports</flag>
+ <flag name="widgets">Build the QtMultimediaWidgets module</flag>
</use>
<upstream>
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.3.1-r3.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.3.1-r3.ebuild
new file mode 100644
index 000000000000..18487e0db3ff
--- /dev/null
+++ b/dev-qt/qtmultimedia/qtmultimedia-5.3.1-r3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtmultimedia/qtmultimedia-5.3.1-r3.ebuild,v 1.1 2014/09/11 01:45:24 pesa Exp $
+
+EAPI=5
+
+inherit qt5-build
+
+DESCRIPTION="The Multimedia module for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == live ]]; then
+ KEYWORDS=""
+else
+ KEYWORDS="~amd64 ~x86"
+fi
+
+IUSE="+alsa +gstreamer openal +opengl pulseaudio qml widgets"
+REQUIRED_USE="?? ( alsa pulseaudio )"
+
+# "widgets? ( qtgui[opengl=] )" because of bug 518542 comment 2
+RDEPEND="
+ >=dev-qt/qtcore-${PV}:5[debug=]
+ >=dev-qt/qtgui-${PV}:5[debug=]
+ >=dev-qt/qtnetwork-${PV}:5[debug=]
+ alsa? ( media-libs/alsa-lib )
+ gstreamer? (
+ media-libs/gstreamer:0.10
+ media-libs/gst-plugins-bad:0.10
+ media-libs/gst-plugins-base:0.10
+ )
+ pulseaudio? ( media-sound/pulseaudio )
+ qml? (
+ >=dev-qt/qtdeclarative-${PV}:5[debug=]
+ openal? ( media-libs/openal )
+ )
+ widgets? (
+ >=dev-qt/qtgui-${PV}:5[debug=,opengl=]
+ >=dev-qt/qtwidgets-${PV}:5[debug=]
+ opengl? ( >=dev-qt/qtopengl-${PV}:5[debug=] )
+ )
+"
+DEPEND="${RDEPEND}
+ x11-proto/videoproto
+"
+
+src_prepare() {
+ qt_use_compile_test alsa
+ qt_use_compile_test gstreamer
+ qt_use_compile_test openal
+ qt_use_compile_test pulseaudio
+
+ qt_use_disable_mod opengl opengl \
+ src/multimediawidgets/multimediawidgets.pro
+
+ qt_use_disable_mod qml quick \
+ src/src.pro
+
+ qt_use_disable_mod widgets widgets \
+ src/src.pro \
+ src/gsttools/gsttools.pro \
+ src/plugins/gstreamer/common.pri
+
+ qt5-build_src_prepare
+}