commit: c387dab91271dc659eaf6d000b1d6e45c8ac0eef Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Mon Feb 23 12:34:05 2026 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Feb 23 12:45:41 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c387dab9
media-libs/tg_owt: fix build failure with >=pipewire-1.5.81 Closes: https://bugs.gentoo.org/970416 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> .../files/tg_owt-0_pre20251117-pipewire.patch | 36 ++++++++++++++++++++++ media-libs/tg_owt/tg_owt-0_pre20251117.ebuild | 3 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/media-libs/tg_owt/files/tg_owt-0_pre20251117-pipewire.patch b/media-libs/tg_owt/files/tg_owt-0_pre20251117-pipewire.patch new file mode 100644 index 000000000000..5f28c55bf796 --- /dev/null +++ b/media-libs/tg_owt/files/tg_owt-0_pre20251117-pipewire.patch @@ -0,0 +1,36 @@ + +https://bugs.gentoo.org/970416 +https://github.com/desktop-app/tg_owt/commit/d888bc3f79b4aa80333d8903410fa439db5f6696 + +Subject: [PATCH] Fix building with Pipewire 1.5.81 and later. Resolves #167 + +--- + .../desktop_capture/linux/wayland/shared_screencast_stream.cc | 2 ++ + src/modules/video_capture/linux/pipewire_session.cc | 1 + + 2 files changed, 3 insertions(+) + +diff --git a/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc b/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc +index 71ea4d9f5..7ef1a030e 100644 +--- a/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc ++++ b/src/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc +@@ -13,6 +13,8 @@ + #include <fcntl.h> + #include <libdrm/drm_fourcc.h> + #include <pipewire/pipewire.h> ++#include <spa/pod/parser.h> ++#include <spa/pod/iter.h> + #include <spa/param/video/format-utils.h> + #include <sys/mman.h> + +diff --git a/src/modules/video_capture/linux/pipewire_session.cc b/src/modules/video_capture/linux/pipewire_session.cc +index d2d8eeaf8..c16d511ba 100644 +--- a/src/modules/video_capture/linux/pipewire_session.cc ++++ b/src/modules/video_capture/linux/pipewire_session.cc +@@ -15,6 +15,7 @@ + #include <spa/param/format.h> + #include <spa/param/video/raw.h> + #include <spa/pod/parser.h> ++#include <spa/pod/iter.h> + + #include "common_video/libyuv/include/webrtc_libyuv.h" + #include "modules/video_capture/device_info_impl.h" diff --git a/media-libs/tg_owt/tg_owt-0_pre20251117.ebuild b/media-libs/tg_owt/tg_owt-0_pre20251117.ebuild index dea345887348..14e4426c03ef 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20251117.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20251117.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2025 Gentoo Authors +# Copyright 2020-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -71,6 +71,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/tg_owt-0_pre20250515-fix-gcc16.patch" "${FILESDIR}/tg_owt-0_pre20250515-fix-clang20.patch" + "${FILESDIR}/tg_owt-0_pre20251117-pipewire.patch" ) src_unpack() {
