2014-07-23 07:31:30 +02:00
|
|
|
package=libxcb
|
2020-08-04 04:38:20 +02:00
|
|
|
$(package)_version=1.14
|
2019-05-19 21:58:29 +02:00
|
|
|
$(package)_download_path=https://xcb.freedesktop.org/dist
|
2020-08-04 04:38:20 +02:00
|
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.xz
|
|
|
|
$(package)_sha256_hash=a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
|
2019-07-17 21:22:32 +02:00
|
|
|
$(package)_dependencies=xcb_proto libXau
|
2022-07-29 14:47:54 +02:00
|
|
|
$(package)_patches = remove_pthread_stubs.patch
|
2014-07-23 07:31:30 +02:00
|
|
|
|
|
|
|
define $(package)_set_vars
|
2020-08-04 04:38:20 +02:00
|
|
|
$(package)_config_opts=--disable-static --disable-devel-docs --without-doxygen --without-launchd
|
2019-10-11 19:31:50 +02:00
|
|
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
2022-01-04 17:26:12 +01:00
|
|
|
# Disable unneeded extensions.
|
2020-08-04 04:38:20 +02:00
|
|
|
# More info is available from: https://doc.qt.io/qt-5.15/linux-requirements.html
|
2019-08-02 03:25:17 +02:00
|
|
|
$(package)_config_opts += --disable-composite --disable-damage --disable-dpms
|
|
|
|
$(package)_config_opts += --disable-dri2 --disable-dri3 --disable-glx
|
2020-08-04 04:38:20 +02:00
|
|
|
$(package)_config_opts += --disable-present --disable-record --disable-resource
|
|
|
|
$(package)_config_opts += --disable-screensaver --disable-xevie --disable-xfree86-dri
|
|
|
|
$(package)_config_opts += --disable-xinput --disable-xprint --disable-selinux
|
|
|
|
$(package)_config_opts += --disable-xtest --disable-xv --disable-xvmc
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_preprocess_cmds
|
2021-03-07 22:17:28 +01:00
|
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux && \
|
2022-07-29 14:47:54 +02:00
|
|
|
patch -p1 -i $($(package)_patch_dir)/remove_pthread_stubs.patch
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_config_cmds
|
2021-03-07 22:03:38 +01:00
|
|
|
$($(package)_autoconf)
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_build_cmds
|
|
|
|
$(MAKE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_stage_cmds
|
|
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(package)_postprocess_cmds
|
2021-03-07 22:17:28 +01:00
|
|
|
rm -rf share lib/*.la
|
2014-07-23 07:31:30 +02:00
|
|
|
endef
|