summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-21 11:44:25 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 04:55:31 -0600
commit4afb171246c35e24a454104639edf06e55a5daf1 (patch)
tree5246a5b611552661deed5e1017462b75674adba6
parentf50882b80cd5fa85b1c86faa2536d332e7ffb274 (diff)
downloadpackages-4afb171246c35e24a454104639edf06e55a5daf1.tar.gz
packages-4afb171246c35e24a454104639edf06e55a5daf1.tar.bz2
packages-4afb171246c35e24a454104639edf06e55a5daf1.tar.xz
packages-4afb171246c35e24a454104639edf06e55a5daf1.zip
user/libglvnd: New package
This package allows us to ship Amber and current Mesa at the same time.
-rw-r--r--user/libglvnd/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libglvnd/APKBUILD b/user/libglvnd/APKBUILD
new file mode 100644
index 000000000..2644fb52c
--- /dev/null
+++ b/user/libglvnd/APKBUILD
@@ -0,0 +1,36 @@
+# 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"
+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"