summaryrefslogtreecommitdiff
path: root/dev-qt/qtmultimedia
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-14 17:36:29 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-14 17:36:29 +0000
commit0485fd7e57de60b61c04825f986bb3400bcf7116 (patch)
tree8bc2ab515d65bccf3fa878f133e82577074ee982 /dev-qt/qtmultimedia
parent3a5772102e4f2b6f9cc46f461c90970060ae0c5e (diff)
gentoo auto-resync : 14:02:2024 - 17:36:28
Diffstat (limited to 'dev-qt/qtmultimedia')
-rw-r--r--dev-qt/qtmultimedia/Manifest2
-rw-r--r--dev-qt/qtmultimedia/qtmultimedia-6.6.2.ebuild87
2 files changed, 89 insertions, 0 deletions
diff --git a/dev-qt/qtmultimedia/Manifest b/dev-qt/qtmultimedia/Manifest
index 5c5e9e781b96..b34c8ca7c300 100644
--- a/dev-qt/qtmultimedia/Manifest
+++ b/dev-qt/qtmultimedia/Manifest
@@ -1,8 +1,10 @@
DIST qtmultimedia-5.15.12-gentoo-kde-1.tar.xz 1496 BLAKE2B 890f90accb60438bcceae2a4f0bf928eb91341b36af278f7deef7f0b1964940cdfdc0f82e21f6b03ac6c609cfffb77a2d00563390237b965a66f4224df70fabb SHA512 d400f0d2694f9b09d645f5ca1c76aed7891614162de36213bac3febd5b0f80f893e26a26b2a899a7fcdf57cae88d10d151c102da8ba610a7734a14094ca3a29b
DIST qtmultimedia-everywhere-opensource-src-5.15.12.tar.xz 3830956 BLAKE2B c6fa2b5f01262af0ddb510e344adc2aa69b1d4fd82962bb6ff2962d50c9f43a99e445538466c0a9d794dfc0cca27dccd32d5faaa1baf59a630c8b490c43b7963 SHA512 2cef917df20da1381ea64834e4110e25ea0d5e12249176ddbe2e0314c25490926ccbf2f7cc3f89b2969d113a645ec88244fabe691aff851ffb4b2be9766bcf76
DIST qtmultimedia-everywhere-src-6.6.1.tar.xz 6723296 BLAKE2B 5257da8457f6fa16b7cb9ef9029b84edd6963dd084434918f1161398784d36c188c186b398d9877f337ac215c8dad665d902fbd56736f9032f52685f49ef3407 SHA512 11fb3e421a80fee82d30a817f20277505868de0c1a870c55dd488114a0302f6a1bf41694ed64d904e4d29b1a3ad1ba01ce8399ae11f03ae2f6994359698e9c94
+DIST qtmultimedia-everywhere-src-6.6.2.tar.xz 8305476 BLAKE2B 8f252b236ef5fdbc7c4e2be498e2cdaaaf3c901a1d1890c7dfe1f6e8256bc656526e2a6a96649b29bb20baf882f46160f3d76b97cd80466b44a2dcc1b7aabfa5 SHA512 311f47acd7658d725855df06c25b4d516d4046922cc92ad44c91c48f1696fbcbb25a0d778b1a72f15834ce2e74ce64199814476ac04fc705fc19af73c91f2006
EBUILD qtmultimedia-5.15.12.ebuild 1511 BLAKE2B 81fd1f3d666a9c3da203ccc37ef635954c25d00e1928be7d2250fe7a8bbf564da4e61c2e1be07afc7bc51ac340c0605d241ef5bbcf5e1ec846e528886b8f6aea SHA512 5dd3b3f0b22029dadf98e404d4be3557eb335e666fc08ea7bd39134f9770433fe5e35524ca9df6e89deb342e2b8e03a679e0e7718d534693cb0191c618162b91
EBUILD qtmultimedia-6.6.1-r1.ebuild 2089 BLAKE2B f8b643c11f3b2dfa36720ddda4a901211b3a96e7af65a43f3afbb7f4cfc3243eda85930747cd4148a9eb4a0a53c79a591dab2c78111fc4a8a228b5d626c42423 SHA512 dfa01340ce67b0b16067042e17de4e382fb03ac83ab84099c0e17b57c1d281491048a6181875e1075413f33d438298c2b60aaf9fd4cde92b17bc6b80446759de
+EBUILD qtmultimedia-6.6.2.ebuild 2161 BLAKE2B f5eaf07fc28f467919a9b50b4f6bae5c364f3946367a3814bee46ae554576cf959b760e65084891b1b7d868c2fe59d088db5efffc17e302eed81c6eac7f8abaa SHA512 12b3684643d210346c58bce4321fff4e7ded415296f00f656d24d5c99d60e11c9788b22f8f33b7ab95c29dd1151e1ff94c437a5598447ae2febbad6f8f5738f4
EBUILD qtmultimedia-6.6.9999.ebuild 2161 BLAKE2B f5eaf07fc28f467919a9b50b4f6bae5c364f3946367a3814bee46ae554576cf959b760e65084891b1b7d868c2fe59d088db5efffc17e302eed81c6eac7f8abaa SHA512 12b3684643d210346c58bce4321fff4e7ded415296f00f656d24d5c99d60e11c9788b22f8f33b7ab95c29dd1151e1ff94c437a5598447ae2febbad6f8f5738f4
EBUILD qtmultimedia-6.7.9999.ebuild 2161 BLAKE2B f5eaf07fc28f467919a9b50b4f6bae5c364f3946367a3814bee46ae554576cf959b760e65084891b1b7d868c2fe59d088db5efffc17e302eed81c6eac7f8abaa SHA512 12b3684643d210346c58bce4321fff4e7ded415296f00f656d24d5c99d60e11c9788b22f8f33b7ab95c29dd1151e1ff94c437a5598447ae2febbad6f8f5738f4
EBUILD qtmultimedia-6.9999.ebuild 2161 BLAKE2B f5eaf07fc28f467919a9b50b4f6bae5c364f3946367a3814bee46ae554576cf959b760e65084891b1b7d868c2fe59d088db5efffc17e302eed81c6eac7f8abaa SHA512 12b3684643d210346c58bce4321fff4e7ded415296f00f656d24d5c99d60e11c9788b22f8f33b7ab95c29dd1151e1ff94c437a5598447ae2febbad6f8f5738f4
diff --git a/dev-qt/qtmultimedia/qtmultimedia-6.6.2.ebuild b/dev-qt/qtmultimedia/qtmultimedia-6.6.2.ebuild
new file mode 100644
index 000000000000..7a0c7fa01e1c
--- /dev/null
+++ b/dev-qt/qtmultimedia/qtmultimedia-6.6.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2021-2024 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 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+IUSE="+X alsa eglfs +ffmpeg gstreamer opengl pulseaudio qml v4l vaapi vulkan"
+# tst_qmediaplayerbackend hard requires qml, review in case becomes optional
+REQUIRED_USE="
+ || ( ffmpeg gstreamer )
+ eglfs? ( ffmpeg opengl )
+ vaapi? ( ffmpeg opengl )
+ 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=,eglfs=]
+ media-video/ffmpeg:=[vaapi?]
+ X? (
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ )
+ )
+ 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 )
+ vulkan? ( dev-util/vulkan-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_qvideoframecolormanagement
+ 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
+}