blob: 2cddb4fa4a2540a18e49ca9f82216a72c224d90c (
plain) (
blame)
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
37
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libglvnd
pkgver=1.7.0
pkgrel=0
pkgdesc="The GL Vendor-Neutral Dispatch library"
url=" "
arch="all"
license="MIT AND BSD-1-Clause"
options="checkx11"
depends=""
makedepends="libx11-dev libxext-dev meson xorgproto-dev"
replaces="mesa-gl"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/glvnd/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
meson setup \
--wrap-mode=nofallback \
-Dprefix=/usr \
-Dx11=enabled \
-Dglx=enabled \
-Dtls=false \
build
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
sha512sums="7caef0a129527bb968bf1ced64082a56cdde881f013f5ba54c51c09989e7d559dba3071c8fdc04e535e62609d68e7622197445152f655e0afbe06890c0b7a69b libglvnd-v1.7.0.tar.bz2"
|