So you can statically link against X programs; since libX11 links against libxcb this is impossible now.
30 lines
844 B
Bash
30 lines
844 B
Bash
# Template file for 'libxcb'
|
|
pkgname=libxcb
|
|
version=1.14
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-build-docs --enable-xinput --enable-xkb"
|
|
hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto"
|
|
makedepends="xcb-proto libXdmcp-devel libXau-devel"
|
|
short_desc="X protocol C-language Binding"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://xcb.freedesktop.org"
|
|
distfiles="${homepage}/dist/${pkgname}-${version}.tar.xz"
|
|
checksum=a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libxcb-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|