#!/bin/sh # Build script for xcb-util-image (autotools, Template A). # Needs xcb-shm (part of libxcb's default extension set) + xcb-util (base module). set -e cd "$SRCDIR" if [ -f configure ]; then sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure fi export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS" export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib" ./configure \ --prefix="$PREFIX" \ --build="$BUILD_TRIPLE" \ --host="$BUILD_TRIPLE" \ --sysconfdir="$SYSCONFDIR" \ --disable-static gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # xcb-util-image - port of Xlib's XImage and XShmImage functions to XCB # https://xcb.freedesktop.org/ [package] name = "xcb-util-image" version = "0.4.1" release = 1 description = "XCB port of Xlib's XImage and XShmImage functions" url = "https://xcb.freedesktop.org/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["libxcb", "xcb-util"] build = ["libxcb", "xcb-util", "xorgproto"] [[source]] file = "xcb-util-image-0.4.1.tar.xz" urls = ["https://xorg.freedesktop.org/releases/individual/xcb/xcb-util-image-0.4.1.tar.xz"] checksum = "ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d" [build] parallel = true