#!/bin/sh # Build script for xkbcomp (autotools, Template A verbatim). set -e cd "$SRCDIR" # MANDATORY libtool fix (Task 4a, 2026-07-22): see libXau/build.sh for the # full explanation. Piggyback hammerhead onto the kopensolaris arm. 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:$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" # xkbcomp - X keyboard description compiler # Direct xlibre-server CDEPEND (x11-apps/xkbcomp, unconditional) - the # server execs xkbcomp to compile keymaps at runtime. # https://gitlab.freedesktop.org/xorg/app/xkbcomp [package] name = "xkbcomp" version = "1.5.0" release = 1 description = "X keyboard description compiler" url = "https://xorg.freedesktop.org/releases/individual/app/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["libX11", "libxkbfile"] build = ["libX11", "libxkbfile", "xorgproto", "util-macros"] [[source]] file = "xkbcomp-1.5.0.tar.xz" urls = ["https://xorg.freedesktop.org/releases/individual/app/xkbcomp-1.5.0.tar.xz"] checksum = "2ac31f26600776db6d9cd79b3fcd272263faebac7eb85fb2f33c7141b8486060" [build] parallel = true