| 1 |
package=libxcb_util_cursor |
| 2 |
$(package)_version=0.1.5 |
| 3 |
$(package)_download_path=https://xcb.freedesktop.org/dist |
| 4 |
$(package)_file_name=xcb-util-cursor-$($(package)_version).tar.gz |
| 5 |
$(package)_sha256_hash=0e9c5446dc6f3beb8af6ebfcc9e27bcc6da6fe2860f7fc07b99144dfa568e93b |
| 6 |
$(package)_dependencies=libxcb libxcb_util_render libxcb_util_image |
| 7 |
$(package)_patches=flatpak.patch |
| 8 |
|
| 9 |
define $(package)_set_vars |
| 10 |
$(package)_config_opts := --disable-shared --disable-devel-docs --without-doxygen |
| 11 |
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking |
| 12 |
endef |
| 13 |
|
| 14 |
define $(package)_preprocess_cmds |
| 15 |
patch -p1 -i $($(package)_patch_dir)/flatpak.patch && \ |
| 16 |
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub . |
| 17 |
endef |
| 18 |
|
| 19 |
define $(package)_config_cmds |
| 20 |
$($(package)_autoconf) |
| 21 |
endef |
| 22 |
|
| 23 |
define $(package)_build_cmds |
| 24 |
$(MAKE) |
| 25 |
endef |
| 26 |
|
| 27 |
define $(package)_stage_cmds |
| 28 |
$(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 29 |
endef |
| 30 |
|
| 31 |
define $(package)_postprocess_cmds |
| 32 |
rm -rf share/man share/doc lib/*.la |
| 33 |
endef |