diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-23 14:50:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-23 14:50:53 +0100 |
commit | 674b648c65d37f018cecade7f66ab3162ed94a8e (patch) | |
tree | ad4083997dcc3bf2cb623233a0326090748441bd /dev-qt/qtmultimedia/qtmultimedia-5.15.5-r1.ebuild | |
parent | 34efeba333bb7b35b450c57f2045c933b84bd252 (diff) |
gentoo auto-resync : 23:07:2022 - 14:50:52
Diffstat (limited to 'dev-qt/qtmultimedia/qtmultimedia-5.15.5-r1.ebuild')
-rw-r--r-- | dev-qt/qtmultimedia/qtmultimedia-5.15.5-r1.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/qtmultimedia-5.15.5-r1.ebuild b/dev-qt/qtmultimedia/qtmultimedia-5.15.5-r1.ebuild new file mode 100644 index 000000000000..88f5b9b28c57 --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-5.15.5-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +QT5_KDEPATCHSET_REV=1 +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 ~loong ppc ppc64 ~riscv ~sparc x86" +fi + +IUSE="alsa gles2-only gstreamer openal pulseaudio qml widgets" + +RDEPEND=" + =dev-qt/qtcore-${QT5_PV}* + =dev-qt/qtgui-${QT5_PV}*[gles2-only=] + =dev-qt/qtnetwork-${QT5_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-libs/libpulse[glib] ) + qml? ( + =dev-qt/qtdeclarative-${QT5_PV}* + gles2-only? ( =dev-qt/qtgui-${QT5_PV}*[egl] ) + openal? ( media-libs/openal ) + ) + widgets? ( + =dev-qt/qtwidgets-${QT5_PV}*[gles2-only=] + media-libs/libglvnd + ) +" +DEPEND="${RDEPEND} + gstreamer? ( x11-base/xorg-proto ) +" + +PATCHES=( "${FILESDIR}/${PN}-5.15.2-no-qtopengl.patch" ) + +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 +} |