blob: 55d376e65d2c726f64fe449f7dc2691c77ad34c4 (
plain)
1 # Description: The GL Vendor-Neutral Dispatch library
2 # URL: https://github.com/NVIDIA/libglvnd
3 # Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
4 # Depends on: xorg-libxext
5
6 name=libglvnd
7 version=1.6.0
8 release=1
9 source=(https://github.com/NVIDIA/$name/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 ## for future references
13 #prt-get isinst xorg-libx11 xorg-libxext xorg-xorgproto && PKGMK_GLVND+=' -D x11=enabled -D glx=enabled'
14 PKGMK_GLVND+=' -D x11=enabled -D glx=enabled'
15
16 meson setup $name-$version build $PKGMK_GLVND \
17 --prefix=/usr \
18 --buildtype=plain \
19 --wrap-mode nodownload \
20 -D b_lto=true \
21 -D b_pie=true \
22 -D gles1=false \
23 -D egl=true \
24 -D tls=false
25 meson compile -C build
26 DESTDIR=$PKG meson install -C build
27 }
|