Skip to content

Commit e545b56

Browse files
committed
build: add libxcb_util 0.4.0
1 parent 937b36b commit e545b56

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

depends/packages/libxcb_util.mk

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
package=libxcb_util
2+
$(package)_version=0.4.0
3+
$(package)_download_path=https://xcb.freedesktop.org/dist
4+
$(package)_file_name=xcb-util-$($(package)_version).tar.bz2
5+
$(package)_sha256_hash=46e49469cb3b594af1d33176cd7565def2be3fa8be4371d62271fabb5eae50e9
6+
$(package)_dependencies=libxcb
7+
8+
define $(package)_set_vars
9+
$(package)_config_opts = --disable-shared --disable-devel-docs --without-doxygen
10+
$(package)_config_opts += --disable-dependency-tracking --enable-option-checking
11+
$(package)_cflags += -fPIC
12+
endef
13+
14+
define $(package)_preprocess_cmds
15+
cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub .
16+
endef
17+
18+
define $(package)_config_cmds
19+
$($(package)_autoconf)
20+
endef
21+
22+
define $(package)_build_cmds
23+
$(MAKE)
24+
endef
25+
26+
define $(package)_stage_cmds
27+
$(MAKE) DESTDIR=$($(package)_staging_dir) install
28+
endef
29+
30+
define $(package)_postprocess_cmds
31+
rm -rf share/man share/doc lib/*.la
32+
endef

depends/packages/packages.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ packages:=boost libevent
22

33
qrencode_packages = qrencode
44

5-
qt_linux_packages:=qt expat libxcb xcb_proto libXau xproto freetype fontconfig libxkbcommon
5+
qt_linux_packages:=qt expat libxcb xcb_proto libXau xproto freetype fontconfig libxkbcommon libxcb_util
66
qt_android_packages=qt
77

88
qt_darwin_packages=qt

depends/packages/qt.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $(package)_download_path=https://download.qt.io/official_releases/qt/5.12/$($(pa
44
$(package)_suffix=everywhere-src-$($(package)_version).tar.xz
55
$(package)_file_name=qtbase-$($(package)_suffix)
66
$(package)_sha256_hash=1c1b4e33137ca77881074c140d54c3c9747e845a31338cfe8680f171f0bc3a39
7-
$(package)_linux_dependencies=freetype fontconfig libxcb libxkbcommon
7+
$(package)_linux_dependencies=freetype fontconfig libxcb libxkbcommon libxcb_util
88
$(package)_qt_libs=corelib network widgets gui plugins testlib
99
$(package)_linguist_tools = lrelease lupdate lconvert
1010
$(package)_patches = qt.pro qttools_src.pro

0 commit comments

Comments
 (0)