libxcb: install static libraries in -devel package

So you can statically link against X programs; since libX11 links
against libxcb this is impossible now.
This commit is contained in:
Martin Tournoij 2021-07-14 22:17:22 +08:00 committed by Érico Nogueira Rolim
parent 09a87553ce
commit 39e15ce05c
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'libxcb' # Template file for 'libxcb'
pkgname=libxcb pkgname=libxcb
version=1.14 version=1.14
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb" configure_args="--disable-build-docs --enable-xinput --enable-xkb"
hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto" hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto"
makedepends="xcb-proto libXdmcp-devel libXau-devel" makedepends="xcb-proto libXdmcp-devel libXau-devel"
short_desc="X protocol C-language Binding" short_desc="X protocol C-language Binding"
@ -25,5 +25,6 @@ libxcb-devel_package() {
vmove usr/share vmove usr/share
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
} }
} }