summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-16 23:26:42 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-17 13:58:31 +0100
commit6a45511ce59cce6ec47f0b608345b21ffa29bbca (patch)
tree3c17024a40d8f246cb0776d00db4b950817f48b1 /dev-qt/qtmultimedia
parentkde-frameworks/plasma: Drop 5.56.1 (diff)
downloadgentoo-6a45511ce59cce6ec47f0b608345b21ffa29bbca.tar.gz
gentoo-6a45511ce59cce6ec47f0b608345b21ffa29bbca.tar.bz2
gentoo-6a45511ce59cce6ec47f0b608345b21ffa29bbca.zip
dev-qt: Add Qt 5.12.2
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtmultimedia')
-rw-r--r--dev-qt/qtmultimedia/Manifest1
-rw-r--r--dev-qt/qtmultimedia/qtmultimedia-5.12.2.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/Manifest b/dev-qt/qtmultimedia/Manifest
index e01b86d7df6b..8ded1863c823 100644
--- a/dev-qt/qtmultimedia/Manifest
+++ b/dev-qt/qtmultimedia/Manifest
@@ -1,2 +1,3 @@
DIST qtmultimedia-everywhere-src-5.11.3.tar.xz 3710012 BLAKE2B b1757e80914a41913846dcb890fd56706b402aa0498cfa3e58277e8ab50e95c597df1b32dae11f146283d42c874ec03d8d33374447fc71f529c30d0e465c14cc SHA512 1c9b8f3392ac0c7e63a05d57fb74473a89edc9f2e482d8df97761ca20efd13bca2c1c68907ab4b4af71a109a783a641c2faaf72e7df90fcbed6bcd6e13350567
DIST qtmultimedia-everywhere-src-5.12.1.tar.xz 3740192 BLAKE2B f8c5d134ad0482f8016ace4935b6fe494d5ef12af47b2fd818b7a7d5566d69d9c7709376810b3d0085d70661a750373c004b26631e5447299a9aa28fdb217b91 SHA512 cdf9161648abd9f6c6d20171a75e9edefd77a46e946263f7e22e9f2ae69a55132688c31e46378cdc74c3bdf528fd94383b7e3b20bd8befa485a02cabb398dea0
+DIST qtmultimedia-everywhere-src-5.12.2.tar.xz 3745076 BLAKE2B 76b68bbfb8b158803369ecf58bf85d54a50ad24a7988c2ef3e468f5e697b89601cb88efff60c97389f63f0004ef826ee8f357e70e44456df34096fd5c85c9a57 SHA512 3ee8e2f93f2a7a094e821f5b08fead32ee67bc0af7bd7eaadf2a40bbc12c774c62e4b9dc4f8526245e43530665156fd79f891243434d7c06da8c92401f3a9088
diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.12.2.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.12.2.ebuild
new file mode 100644
index 000000000000..6d8241532e20
--- /dev/null
+++ b/dev-qt/qtmultimedia/qtmultimedia-5.12.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qt5-build
+
+DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+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[glib] )
+ 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-base/xorg-proto )
+"
+
+src_prepare() {
+ sed -i -e '/CONFIG\s*+=/ s/optimize_full//' \
+ src/multimedia/multimedia.pro || die
+
+ 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_src_prepare
+}
+
+src_configure() {
+ local myqmakeargs=(
+ --
+ $(qt_use alsa)
+ $(qt_use gstreamer)
+ $(qt_use pulseaudio)
+ )
+ qt5-build_src_configure
+}