37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Template file for 'libxcb'
|
|
pkgname=libxcb
|
|
version=1.15
|
|
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=cc38744f817cf6814c847e2df37fcb8997357d72fa4bcbc228ae0fe47219a059
|
|
|
|
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"
|
|
}
|
|
}
|