diff options
author | John M. Harris Jr. <johnmh@johnmh.me> | 2024-07-01 19:56:56 -0700 |
---|---|---|
committer | John M. Harris Jr. <johnmh@johnmh.me> | 2024-07-01 19:56:56 -0700 |
commit | d039999249fd50cd454fa6035456ba69ae0c27d0 (patch) | |
tree | b1e30a1f63c66e302331b9c17d85c15911a8803e /gui-libs | |
parent | gui-libs/xdg-desktop-portal-hyprland: Update sys sdbus-c++ patch (diff) | |
download | guru-d039999249fd50cd454fa6035456ba69ae0c27d0.tar.gz guru-d039999249fd50cd454fa6035456ba69ae0c27d0.tar.bz2 guru-d039999249fd50cd454fa6035456ba69ae0c27d0.zip |
gui-libs/xdg-desktop-portal-hyprland: Add patch for pipewire >=1.1.0
Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
Diffstat (limited to 'gui-libs')
-rw-r--r-- | gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch | 21 | ||||
-rw-r--r-- | gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
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 000000000..0655bbe38 --- /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 <spa/pod/builder.h> + +-#undef SPA_VERSION_POD_BUILDER_CALLBACKS +-#define SPA_VERSION_POD_BUILDER_CALLBACKS .version = 0 + #include <spa/buffer/meta.h> + #include <spa/utils/result.h> + #include <spa/param/props.h> + #include <spa/param/format-utils.h> + #include <spa/param/video/format-utils.h> + #include <spa/pod/dynamic.h> +-#undef SPA_VERSION_POD_BUILDER_CALLBACKS +-#define SPA_VERSION_POD_BUILDER_CALLBACKS 0 + } + #include <wayland-client.h> + 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 ac2bb3c93..fabc08977 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 } |