36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'libxcb'
|
|
pkgname=libxcb
|
|
version=1.16.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-build-docs --enable-xinput --enable-xkb"
|
|
hostmakedepends="libtool pkg-config xorg-util-macros xcb-proto"
|
|
makedepends="libXdmcp-devel libXau-devel"
|
|
short_desc="X protocol C-language Binding"
|
|
maintainer="André Cerqueira <acerqueira021@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://gitlab.freedesktop.org/xorg/lib/libxcb"
|
|
changelog="https://gitlab.freedesktop.org/xorg/lib/libxcb/-/raw/master/NEWS"
|
|
distfiles="https://xorg.freedesktop.org/archive/individual/lib/libxcb-${version}.tar.xz"
|
|
checksum=f24d187154c8e027b358fc7cb6588e35e33e6a92f11c668fe77396a7ae66e311
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
makedepends+=" xcb-proto"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libxcb-devel_package() {
|
|
depends="libXdmcp-devel libXau-devel ${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"
|
|
}
|
|
}
|