mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-qt/qtmultimedia: update live
Partially imported from 6.8.9999 due to same changes landing in 6.7. Not really tested yet. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -11,15 +11,20 @@ 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"
|
||||
IUSE="
|
||||
+X alsa eglfs +ffmpeg gstreamer opengl pulseaudio
|
||||
qml v4l vaapi vulkan wayland
|
||||
"
|
||||
# tst_qmediaplayerbackend hard requires qml, review in case becomes optional
|
||||
REQUIRED_USE="
|
||||
|| ( ffmpeg gstreamer )
|
||||
eglfs? ( ffmpeg opengl qml )
|
||||
vaapi? ( ffmpeg opengl )
|
||||
test? ( qml )
|
||||
vaapi? ( ffmpeg opengl )
|
||||
"
|
||||
|
||||
# gstreamer[X=] is to avoid broken gst detect if -X w/ gst[X] w/o xorg-proto
|
||||
# (*could* be removed if gst-plugins-base[X] RDEPENDs on xorg-proto)
|
||||
RDEPEND="
|
||||
~dev-qt/qtbase-${PV}:6[gui,network,opengl=,vulkan=,widgets]
|
||||
alsa? (
|
||||
@@ -37,8 +42,12 @@ RDEPEND="
|
||||
gstreamer? (
|
||||
dev-libs/glib:2
|
||||
media-libs/gst-plugins-bad:1.0
|
||||
media-libs/gst-plugins-base:1.0[X=,opengl?]
|
||||
media-libs/gst-plugins-base:1.0[X=]
|
||||
media-libs/gstreamer:1.0
|
||||
opengl? (
|
||||
~dev-qt/qtbase-${PV}:6[X?,wayland?]
|
||||
media-libs/gst-plugins-base:1.0[X?,egl,opengl,wayland?]
|
||||
)
|
||||
)
|
||||
opengl? ( media-libs/libglvnd )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
@@ -81,7 +90,13 @@ src_configure() {
|
||||
$(cmake_use_find_package qml Qt6Qml)
|
||||
$(qt_feature ffmpeg)
|
||||
$(qt_feature gstreamer)
|
||||
$(usev gstreamer $(qt_feature opengl gstreamer_gl))
|
||||
$(usev gstreamer "
|
||||
$(qt_feature opengl gstreamer_gl)
|
||||
$(usev opengl "
|
||||
$(qt_feature X gstreamer_gl_x11)
|
||||
$(qt_feature wayland gstreamer_gl_wayland)
|
||||
")
|
||||
")
|
||||
$(qt_feature pulseaudio)
|
||||
$(qt_feature v4l linux_v4l)
|
||||
$(qt_feature vaapi)
|
||||
|
||||
Reference in New Issue
Block a user