mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-qt/qtmultimedia: fix build w/ USE="gstreamer pulseaudio -vulkan"
QVersionNumber is only used with USE="gstreamer pulseaudio", but the required header is not included for it. Seems works with USE="vulkan" given Qt vulkan headers just happen to include it. Furthermore only fails with clang, albeit haven't looked for what is being treated differently with it (perhaps a version check somewhere includes the header with gcc). Closes: https://bugs.gentoo.org/947606 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
https://bugs.gentoo.org/947606
|
||||
TODO: needs upstreaming
|
||||
--- a/src/plugins/multimedia/gstreamer/common/qgstreameraudiooutput.cpp
|
||||
+++ b/src/plugins/multimedia/gstreamer/common/qgstreameraudiooutput.cpp
|
||||
@@ -13,2 +13,3 @@
|
||||
#if QT_CONFIG(pulseaudio)
|
||||
+# include <QVersionNumber>
|
||||
# include <pulse/version.h>
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -94,6 +94,7 @@ CMAKE_SKIP_TESTS=(
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.7.3-eigen-ppc-no-vsx.patch
|
||||
"${FILESDIR}"/${PN}-6.8.1-qversionnumber.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -94,6 +94,7 @@ CMAKE_SKIP_TESTS=(
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.7.3-eigen-ppc-no-vsx.patch
|
||||
"${FILESDIR}"/${PN}-6.8.1-qversionnumber.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -94,6 +94,7 @@ CMAKE_SKIP_TESTS=(
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.7.3-eigen-ppc-no-vsx.patch
|
||||
"${FILESDIR}"/${PN}-6.8.1-qversionnumber.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -94,6 +94,7 @@ CMAKE_SKIP_TESTS=(
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.7.3-eigen-ppc-no-vsx.patch
|
||||
"${FILESDIR}"/${PN}-6.8.1-qversionnumber.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user