mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
35 lines
763 B
Text
35 lines
763 B
Text
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=libxshmfence
|
|
pkgver=1.3.3
|
|
pkgrel=0
|
|
pkgdesc="X11 shared memory fences"
|
|
url="https://www.x.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends_dev="linux-headers"
|
|
makedepends="$depends_dev util-macros xorgproto"
|
|
subpackages="$pkgname-dev"
|
|
source="https://www.x.org/releases/individual/lib/libxshmfence-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -flto=auto" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-futex
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
2261b840ea621cf4ce31961ec9df17aa2e253b268afe289dfb97c240aee27b9f443fe36de5de52a2e1210b69092efde21871e20556bac9b4f1d8a3ead1b4c498 libxshmfence-1.3.3.tar.xz
|
|
"
|