blob: 6fbab31e2e57a2db9275e9cc7b7347d0906d1724 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=libxshmfence
pkgver=1.3.2
pkgrel=5
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="
e20a6827e370726cf50489a69f4a52b897f1c44e3eba8c72a4e626b08724e877d090770b8016765736d887d5d5eaba1fda9c29066e62d259b4d1e2064bc1626c libxshmfence-1.3.2.tar.xz
"
|