diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-26 09:38:14 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-26 15:47:24 -0400 |
commit | b55cecd607e17ea722f4304d7f06136b617f6284 (patch) | |
tree | 288b5ca7f479b01cbaa9f6a4906358f85cff67b1 /dev-qt/qtmultimedia | |
parent | dev-qt/qtlocation: add 6.6.0_rc (diff) | |
download | gentoo-b55cecd607e17ea722f4304d7f06136b617f6284.tar.gz gentoo-b55cecd607e17ea722f4304d7f06136b617f6284.tar.bz2 gentoo-b55cecd607e17ea722f4304d7f06136b617f6284.zip |
dev-qt/qtmultimedia: add 6.6.0_rc
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtmultimedia')
-rw-r--r-- | dev-qt/qtmultimedia/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtmultimedia/qtmultimedia-6.6.0_rc.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/Manifest b/dev-qt/qtmultimedia/Manifest index acabe9e38b9b..308e626b9879 100644 --- a/dev-qt/qtmultimedia/Manifest +++ b/dev-qt/qtmultimedia/Manifest @@ -1,3 +1,4 @@ DIST qtmultimedia-5.15.10-gentoo-kde-1.tar.xz 2420 BLAKE2B 9062d863dc7e47a5690c75a98610ecca442a24ba1fc29ef62ef75db8f2e9cbc7ea02d82fa46dcc78200b6393dc36e726a92fbb95d3e8326395400c36160b77a3 SHA512 acf901d880cfb8478647c62ec349009bfea62bb65fad1f4431a918029f482a493ce4e2d78e8d00815659e3e109cc9f668dd7d1d6b9cb8eb2b41b487a0fceac5c DIST qtmultimedia-everywhere-opensource-src-5.15.10.tar.xz 3832156 BLAKE2B 88c01c685294085fdde9f00e2e2ea0952311cef910ee037bd6ee204cf7e00bc25a6aeecbdd70e4822bfe4de40cb6b991a8f4a72bfd74872110d43154aefce0b3 SHA512 a322dba0daced00cf0a7fcd21b7f55c281dec107b7976792406ecc7658c94ea1a40c81c7cbdc0987f1be32cafd2458993c92db87fcbfdc7ba1243d2e0047896e DIST qtmultimedia-everywhere-src-6.5.2.tar.xz 6415576 BLAKE2B c0032c405315e6884de6bb851de3aed0b60827a932c15b1022dca70ebfaa5dffb258b2b22f9ab40f57586490db6ec50ea862152fca8429e600f9c6bffe2f42a2 SHA512 e12a2406e78eda8f3f4674b8fe01b06bc2c7b8fcbe5342e25e28340e13c0ab0db44a78c91a8a1f268664e5bb11c3bc7116248700f0c67faa618e058af0dfb1e0 +DIST qtmultimedia-everywhere-src-6.6.0-rc.tar.xz 6576756 BLAKE2B 1fb1607ac74f02a8d37ca91e34594e94d69ce0de3955644f24735a24cc76ad5a6e7b5c040d729165dfd452149e639511c3c4b5154f944165ee87d198f4ddb89f SHA512 322ee2747619a272872b3aa164763b5cff1e56c7bc2ff1b4dcd665c32aa2261f319400821df5d046dfb62497b60d31fd1df47a8386a98285a607a94a551a70fe diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.6.0_rc.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.6.0_rc.ebuild new file mode 100644 index 000000000000..4087cd2852a8 --- /dev/null +++ b/dev-qt/qtmultimedia/qtmultimedia-6.6.0_rc.ebuild @@ -0,0 +1,85 @@ +# 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 v4l2 or hardware acceleration depending on availability + tst_qscreencapture_integration + tst_qscreencapturebackend + # fails with offscreen rendering + tst_qwindowcapturebackend +) + +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 +} |