diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-12 08:33:15 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-13 12:40:16 -0400 |
commit | 6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9 (patch) | |
tree | b6e6a851ee3af700f7b82a7184fd134b8d14ebd7 /dev-qt/qtmultimedia | |
parent | app-misc/yq: remove unused patch (diff) | |
download | gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.tar.gz gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.tar.bz2 gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.zip |
dev-qt/*: add 6.6.9999
Sraight copies from 6.9999, pending updates as-needed to prepare
for 6.6 which is slowly approaching (6.9999 been 6.7 for some time).
6.5.9999 will be leaving soon given 6.5.3 is the last 6.5 release
for plebians.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtmultimedia')
-rw-r--r-- | dev-qt/qtmultimedia/qtmultimedia-6.6.9999.ebuild | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.6.9999.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.6.9999.ebuild new file mode 100644 index 000000000000..ae102c2a70ef --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-6.6.9999.ebuild @@ -0,0 +1,82 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic qt6-build + +DESCRIPTION="Multimedia (audio, video, radio, camera) library for the Qt6 framework" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE="+X alsa +ffmpeg gstreamer opengl pulseaudio qml v4l vaapi vulkan" +# tst_qmediaplayerbackend hard requires qml, review in case becomes optional +REQUIRED_USE=" + || ( ffmpeg gstreamer ) + vaapi? ( ffmpeg ) + test? ( qml ) +" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets] + alsa? ( media-libs/alsa-lib ) + ffmpeg? ( + ~dev-qt/qtbase-${PV}:6[X=] + media-video/ffmpeg:=[vaapi?] + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + ) + vaapi? ( media-libs/libglvnd ) + ) + gstreamer? ( + dev-libs/glib:2 + media-libs/gst-plugins-bad:1.0 + media-libs/gst-plugins-base:1.0[X=,opengl?] + media-libs/gstreamer:1.0 + opengl? ( media-libs/libglvnd ) + ) + pulseaudio? ( media-libs/libpulse ) + qml? ( + ~dev-qt/qtdeclarative-${PV}:6 + ~dev-qt/qtquick3d-${PV}:6 + ) +" +DEPEND=" + ${RDEPEND} + X? ( x11-base/xorg-proto ) + v4l? ( sys-kernel/linux-headers ) +" +BDEPEND="~dev-qt/qtshadertools-${PV}:6" + +CMAKE_SKIP_TESTS=( + # tries to use real alsa or pulseaudio and fails in sandbox + tst_qaudiosink + tst_qaudiosource + tst_qmediacapturesession + tst_qmediaplayerbackend + tst_qsoundeffect + # may try to use hardware acceleration for encoding + tst_qscreencapture_integration +) + +src_configure() { + # normally passed by the build system, but needed for 32-on-64 chroots + use x86 && append-cppflags -DPFFFT_SIMD_DISABLE + + local mycmakeargs=( + $(cmake_use_find_package qml Qt6Qml) + $(qt_feature alsa) + $(qt_feature ffmpeg) + $(qt_feature gstreamer) + $(usev gstreamer $(qt_feature opengl gstreamer_gl)) + $(qt_feature pulseaudio) + $(qt_feature v4l linux_v4l) + $(qt_feature vaapi) + ) + + qt6-build_src_configure +} |