summaryrefslogtreecommitdiff
path: root/dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-17 00:11:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-17 00:11:04 +0100
commite98e69391231e8eb88b05a316e8181f2b8cc9a9b (patch)
tree5460a71bb9c75b88136a65f9d1fa72dfb3da9102 /dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild
parente237be2025e6eb302f4267576a245b7c65576ebc (diff)
Revert "dev-qt : bump to 5.9.5"
This reverts commit e237be2025e6eb302f4267576a245b7c65576ebc.
Diffstat (limited to 'dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild')
-rw-r--r--dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild
new file mode 100644
index 00000000..3c3ebb9a
--- /dev/null
+++ b/dev-qt/qtmultimedia/qtmultimedia-5.9.3-r1000.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qt5-build-r10000
+
+DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="amd64"
+fi
+
+IUSE="alsa gles2 gstreamer openal pulseaudio qml widgets"
+
+RDEPEND="
+ ~dev-qt/qtcore-${PV}
+ ~dev-qt/qtgui-${PV}[gles2=]
+ ~dev-qt/qtnetwork-${PV}
+ alsa? ( media-libs/alsa-lib )
+ gstreamer? (
+ dev-libs/glib:2
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-bad:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ pulseaudio? ( media-sound/pulseaudio )
+ qml? (
+ ~dev-qt/qtdeclarative-${PV}
+ gles2? ( ~dev-qt/qtgui-${PV}[egl] )
+ openal? ( media-libs/openal )
+ )
+ widgets? (
+ ~dev-qt/qtopengl-${PV}
+ ~dev-qt/qtwidgets-${PV}[gles2=]
+ )
+"
+DEPEND="${RDEPEND}
+ gstreamer? ( x11-proto/videoproto )
+"
+
+src_prepare() {
+ qt_use_disable_config openal openal \
+ src/imports/imports.pro
+
+ qt_use_disable_mod qml quick \
+ src/src.pro \
+ src/plugins/plugins.pro
+
+ qt_use_disable_mod widgets widgets \
+ src/src.pro \
+ src/gsttools/gsttools.pro \
+ src/plugins/gstreamer/common.pri
+
+ qt5-build-r10000_src_prepare
+}
+
+src_configure() {
+ local myqmakeargs=(
+ --
+ $(qt_use alsa)
+ $(qt_use gstreamer)
+ $(qt_use pulseaudio)
+ )
+ qt5-build-r10000_src_configure
+}