diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-04-24 02:57:01 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-04-24 03:23:11 +1000 |
commit | 421e93435a836b5245edd3e97a533ab806941e91 (patch) | |
tree | d4ef6b3cf40176ce99ac82a1d6f9144532d93842 /dev-qt/qtmultimedia/qtmultimedia-5.6.0.ebuild | |
parent | app-emulation/qemu-guest-agent: fix build w/newer glibc #580924 (diff) | |
download | gentoo-421e93435a836b5245edd3e97a533ab806941e91.tar.gz gentoo-421e93435a836b5245edd3e97a533ab806941e91.tar.bz2 gentoo-421e93435a836b5245edd3e97a533ab806941e91.zip |
dev-qt: version bump 5.6.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-qt/qtmultimedia/qtmultimedia-5.6.0.ebuild')
-rw-r--r-- | dev-qt/qtmultimedia/qtmultimedia-5.6.0.ebuild | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.6.0.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.6.0.ebuild new file mode 100644 index 000000000000..1a2ca34b34c0 --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-5.6.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit qt5-build + +DESCRIPTION="The Multimedia module for the Qt5 framework" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86" +fi + +IUSE="alsa gles2 gstreamer gstreamer010 openal pulseaudio qml widgets" +REQUIRED_USE="?? ( gstreamer gstreamer010 )" + +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 + ) + gstreamer010? ( + dev-libs/glib:2 + 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} + 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() { + # do not rely on qtbase configuration + sed -i -e 's/contains(QT_CONFIG, \(alsa\|pulseaudio\))://' \ + qtmultimedia.pro || die + + qt_use_compile_test alsa + qt_use_compile_test gstreamer + qt_use_compile_test openal + qt_use_compile_test pulseaudio + + 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=( + $(usex gstreamer 'GST_VERSION=1.0' '') + $(usex gstreamer010 'GST_VERSION=0.10' '') + ) + qt5-build_src_configure +} |