mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
267f42fd6a
173ef8980d921c9c0e46257747ab1165965e3ced build: Small libxcb.mk improvements (Hennadii Stepanov) 5129b36573cb07d8bcbac493506c46e26d7239eb build: Clean remnants of QTBUG-34748 fix (Hennadii Stepanov) Pull request description: Hope, this PR will make [transit](https://github.com/bitcoin/bitcoin/pull/21376) to Qt 5.12.10 neater. A fix for [QTBUG-34748](https://bugreports.qt.io/browse/QTBUG-34748) was introduced in #5915 (v0.11.0, Qt 5.2.1). [QTBUG-34748](https://bugreports.qt.io/browse/QTBUG-34748) was [fixed](b19b080894
) in Qt 5.3.0. The separated [`fix-xcb-include-order.patch`](bb44d9e754/depends/patches/qt/fix-xcb-include-order.patch
), provided by #5915, was dropped in #12971 while bumping Qt to 5.9.4 (5.9.6). But `libxcb.mk` remained unchanged. This PR reverts #5915 for `libxcb.mk` as well. ACKs for top commit: practicalswift: cr ACK 173ef8980d921c9c0e46257747ab1165965e3ced: patch looks correct fanquake: ACK 173ef8980d921c9c0e46257747ab1165965e3ced Tree-SHA512: 9815a7e532ff4aa08f9623ded8d5708eca1c9c73ac7a2684419a18c125da7627b44ac3191f2e7978946942c8d0580e73b1a93df624986fb2a13791a68ce1e025
41 lines
1.4 KiB
Makefile
41 lines
1.4 KiB
Makefile
package=libxcb
|
|
$(package)_version=1.14
|
|
$(package)_download_path=https://xcb.freedesktop.org/dist
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.xz
|
|
$(package)_sha256_hash=a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
|
|
$(package)_dependencies=xcb_proto libXau
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--disable-static --disable-devel-docs --without-doxygen --without-launchd
|
|
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
|
|
# Disable unneeded extensions.
|
|
# More info is available from: https://doc.qt.io/qt-5.15/linux-requirements.html
|
|
$(package)_config_opts += --disable-composite --disable-damage --disable-dpms
|
|
$(package)_config_opts += --disable-dri2 --disable-dri3 --disable-glx
|
|
$(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
|
|
endef
|
|
|
|
define $(package)_preprocess_cmds
|
|
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux && \
|
|
sed "s/pthread-stubs//" -i configure
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf share lib/*.la
|
|
endef
|