Name xcb-util-image
Description X C-language Binding - port of Xlib XImage and XShmImage
Version 0.4.1-r0
Package Base xcb-util-image
Homepage https://xcb.freedesktop.org/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/community/xcb-util-image
Sources ['https://xcb.freedesktop.org/dist/xcb-util-image-0.4.1-r0.tar.xz']
Dependencies ['libc.musl-x86_64.so.1', 'libxcb-shm.so.0', 'libxcb-util.so.1', 'libxcb.so.1']
Optional-Dependencies []
Build-Dependencies ['$depends_dev', 'm4', 'util-macros']
Provides ['so:libxcb-image.so.0=0.0.0']
Builddate 03-01-2025 18:06:09
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q1tM7yzH4hhFTCfDbioYl1ugr0DGc=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util-image
pkgver=0.4.1
pkgrel=0
pkgdesc="X C-language Binding - port of Xlib XImage and XShmImage"
url="https://xcb.freedesktop.org/"
arch="all"
license="MIT"
depends_dev="xcb-util-dev"
makedepends="$depends_dev m4 util-macros"
checkdepends="check-dev"
replaces="xcb-util"
subpackages="$pkgname-dev"
source="https://xcb.freedesktop.org/dist/xcb-util-image-$pkgver.tar.xz
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="
9b47ba38b91196d76541b6ccabeaf291d3b91036f15422909cd6a79b3fd1a9786d5b1728e411bc41cfdf3d60a253485f4ef7c65ffa6ae646fa93439ec782746e  xcb-util-image-0.4.1.tar.xz
"