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-21 11:44:25 -0600
commit2678f8ac502353b46a42bdb393ec02aaa84c619b (patch)
tree6131e6e4238446379d6750ac0b3d88ccfdb941f2
parent17e9fdacccb89e1a515ec1defc0fafc7a79adf45 (diff)
downloadpackages-2678f8ac502353b46a42bdb393ec02aaa84c619b.tar.gz
packages-2678f8ac502353b46a42bdb393ec02aaa84c619b.tar.bz2
packages-2678f8ac502353b46a42bdb393ec02aaa84c619b.tar.xz
packages-2678f8ac502353b46a42bdb393ec02aaa84c619b.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"