depends: libxcb_util_cursor: add flatpak icon search dir

This commit is contained in:
tobtoht 2025-04-11 05:22:30 +02:00
parent c67b06cf2f
commit ae54acef6c
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
2 changed files with 15 additions and 0 deletions
contrib/depends
packages
patches/libxcb_util_cursor

View file

@ -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

View file

@ -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}