Name libxcb-util.so.1
Description Utility libraries for X C-language Binding
Version 0.4.1-r3
Package Base xcb-util
Homepage https://xcb.freedesktop.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/xcb-util
Sources []
Dependencies []
Optional-Dependencies []
Build-Dependencies []
Provides ['so:libxcb-util.so.1=1.0.0']
Builddate 15-05-2023 05:12:37
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q186xg+MYeJMPpL7pMR9rFyJ9i3FQ=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util
pkgver=0.4.1
pkgrel=3
pkgdesc="Utility libraries for X C-language Binding"
url="https://xcb.freedesktop.org/"
arch="all"
license="MIT"
depends_dev="libxcb-dev util-macros"
makedepends="$depends_dev m4 gperf"
checkdepends="check-dev"
subpackages="$pkgname-dev"
source="https://xorg.freedesktop.org/archive/individual/lib/xcb-util-$pkgver.tar.xz"

build() {
	CFLAGS="$CFLAGS -flto=auto" \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
da67f2f017d2a1788dcf35f28d6956e171303a622a1dd085cd3d69fdb2ed77965d83c557cc926ebf9b32e905eb2cbb5921987250192d78a2f5edc4d437ed7d2b  xcb-util-0.4.1.tar.xz
"