mirror of
https://github.com/feather-wallet/feather.git
synced 2025-04-16 18:01:54 +00:00
depends: libxcb_util_cursor: add flatpak icon search dir
This commit is contained in:
parent
c67b06cf2f
commit
ae54acef6c
2 changed files with 15 additions and 0 deletions
contrib/depends
|
@ -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
|
||||
|
||||
|
|
13
contrib/depends/patches/libxcb_util_cursor/flatpak.patch
Normal file
13
contrib/depends/patches/libxcb_util_cursor/flatpak.patch
Normal 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}
|
Loading…
Reference in a new issue