From: tobtoht Date: Fri, 11 Apr 2025 03:22:30 +0000 (+0200) Subject: depends: libxcb_util_cursor: add flatpak icon search dir X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=ae54acef6c0b5cc4deed161f22bb72f53cd3ce32;p=gamesguru%2Ffeather.git depends: libxcb_util_cursor: add flatpak icon search dir --- diff --git a/contrib/depends/packages/libxcb_util_cursor.mk b/contrib/depends/packages/libxcb_util_cursor.mk index ef2b66ca..0a7c6161 100644 --- a/contrib/depends/packages/libxcb_util_cursor.mk +++ b/contrib/depends/packages/libxcb_util_cursor.mk @@ -4,6 +4,7 @@ $(package)_download_path=https://xcb.freedesktop.org/dist $(package)_file_name=xcb-util-cursor-$($(package)_version).tar.gz $(package)_sha256_hash=0e9c5446dc6f3beb8af6ebfcc9e27bcc6da6fe2860f7fc07b99144dfa568e93b $(package)_dependencies=libxcb libxcb_util_render libxcb_util_image +$(package)_patches=flatpak.patch define $(package)_set_vars $(package)_config_opts := --disable-shared --disable-devel-docs --without-doxygen @@ -11,6 +12,7 @@ $(package)_config_opts += --disable-dependency-tracking --enable-option-checking endef define $(package)_preprocess_cmds + patch -p1 -i $($(package)_patch_dir)/flatpak.patch && \ cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . endef diff --git a/contrib/depends/patches/libxcb_util_cursor/flatpak.patch b/contrib/depends/patches/libxcb_util_cursor/flatpak.patch new file mode 100644 index 00000000..1b119096 --- /dev/null +++ b/contrib/depends/patches/libxcb_util_cursor/flatpak.patch @@ -0,0 +1,13 @@ +diff --git a/configure b/configure +index 6d37be5..4dc4ff5 100755 +--- a/configure ++++ b/configure +@@ -20228,7 +20228,7 @@ printf "%s\n" "yes" >&6; } + + fi + +-DEF_CURSORPATH="~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons" ++DEF_CURSORPATH="~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons:/run/host/share/icons" + + # Check whether --with-cursorpath was given. + if test ${with_cursorpath+y}