diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-16 11:49:23 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-20 22:20:41 +0100 |
commit | bb3337783ed47ebf099beeb28e378c2651ddc0ec (patch) | |
tree | 8cbe465e1aa2feda949e9a4ea20a5936e60e8fc6 /dev-qt/qtmultimedia/qtmultimedia-5.13.2-r1.ebuild | |
parent | dev-python/passlib: Revbump to 1.7.1-r2, EAPI=7, add py38 (diff) | |
download | gentoo-bb3337783ed47ebf099beeb28e378c2651ddc0ec.tar.gz gentoo-bb3337783ed47ebf099beeb28e378c2651ddc0ec.tar.bz2 gentoo-bb3337783ed47ebf099beeb28e378c2651ddc0ec.zip |
dev-qt/qtmultimedia: Fix crash if video sink is used when destroyed
Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtmultimedia/qtmultimedia-5.13.2-r1.ebuild')
-rw-r--r-- | dev-qt/qtmultimedia/qtmultimedia-5.13.2-r1.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.13.2-r1.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.13.2-r1.ebuild new file mode 100644 index 000000000000..767ac97515a5 --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-5.13.2-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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" +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 ) +" + +PATCHES=( "${FILESDIR}/${P}-gstreamer-crash.patch" ) # QTBUG-79753 + +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 +} |