diff --git a/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch new file mode 100644 index 0000000000..0655bbe38b --- /dev/null +++ b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch @@ -0,0 +1,21 @@ +diff --git a/src/shared/ScreencopyShared.hpp b/src/shared/ScreencopyShared.hpp +index d626da6..2368833 100644 +--- a/src/shared/ScreencopyShared.hpp ++++ b/src/shared/ScreencopyShared.hpp +@@ -5,16 +5,12 @@ + extern "C" { + #include + +-#undef SPA_VERSION_POD_BUILDER_CALLBACKS +-#define SPA_VERSION_POD_BUILDER_CALLBACKS .version = 0 + #include + #include + #include + #include + #include + #include +-#undef SPA_VERSION_POD_BUILDER_CALLBACKS +-#define SPA_VERSION_POD_BUILDER_CALLBACKS 0 + } + #include + diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild index ac2bb3c938..fabc089776 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild @@ -84,6 +84,7 @@ src_unpack() { src_prepare() { eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_use_sys_sdbus-c++.patch" + eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch" sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die cmake_src_prepare }