mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-qt/qtmultimedia: fix build with [gstreamer,-v4l]
Closes: https://bugs.gentoo.org/934582 Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37221 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
committed by
Ionen Wolkens
parent
5f5fe1e489
commit
a531b45362
@@ -0,0 +1,20 @@
|
||||
# https://bugs.gentoo.org/934582
|
||||
|
||||
--- a/src/plugins/multimedia/gstreamer/mediacapture/qgstreamercamera.cpp
|
||||
+++ b/src/plugins/multimedia/gstreamer/mediacapture/qgstreamercamera.cpp
|
||||
@@ -718,6 +718,7 @@ int QGstreamerCamera::getV4L2Parameter(quint32 id) const
|
||||
return control.value;
|
||||
});
|
||||
}
|
||||
+#endif // QT_CONFIG(linux_v4l)
|
||||
|
||||
QGstreamerCustomCamera::QGstreamerCustomCamera(QCamera *camera)
|
||||
: QGstreamerCameraBase{
|
||||
@@ -766,6 +767,4 @@ void QGstreamerCustomCamera::setActive(bool active)
|
||||
emit activeChanged(active);
|
||||
}
|
||||
|
||||
-#endif
|
||||
-
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -53,6 +53,10 @@ DEPEND="
|
||||
"
|
||||
BDEPEND="~dev-qt/qtshadertools-${PV}:6"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gstreamer-no-v4l.patch
|
||||
)
|
||||
|
||||
CMAKE_SKIP_TESTS=(
|
||||
# unimportant and expects all backends to be available (bug #928420)
|
||||
tst_backends
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Ionen Wolkens <ionen@gentoo.org> (2024-06-18)
|
||||
# Disabling currently breaks build with USE=gstreamer, so forcing as
|
||||
# a quick workaround until this is more closely looked at (bug #934582)
|
||||
>=dev-qt/qtmultimedia-6.7.2 v4l
|
||||
|
||||
# Sam James <sam@gentoo.org> (2024-06-03)
|
||||
# Poor rendering performance otherwise (bug #931215).
|
||||
kde-plasma/kwin caps
|
||||
|
||||
Reference in New Issue
Block a user