2018-08-11 14:10:03 -05:00
|
|
|
# Description: The GL Vendor-Neutral Dispatch library
|
|
|
|
# URL: https://github.com/NVIDIA/libglvnd
|
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
2019-08-25 23:41:05 +10:00
|
|
|
# Depends on: xorg-libxext
|
2018-08-11 14:10:03 -05:00
|
|
|
|
|
|
|
name=libglvnd
|
2021-09-01 23:04:23 +10:00
|
|
|
version=1.3.4
|
2019-12-30 20:58:09 -06:00
|
|
|
release=1
|
2019-10-28 13:45:31 -05:00
|
|
|
source=(https://github.com/NVIDIA/$name/archive/v$version/$name-$version.tar.gz \
|
2019-12-30 20:58:09 -06:00
|
|
|
eglplatform.h)
|
2018-08-11 14:10:03 -05:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2019-10-28 13:45:31 -05:00
|
|
|
|
|
|
|
autoreconf -if
|
2019-10-25 22:05:56 -05:00
|
|
|
./configure --prefix=/usr
|
2018-08-11 14:10:03 -05:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2019-10-28 13:45:31 -05:00
|
|
|
|
|
|
|
# replace EGL/eglplatform.h with the newer mesa version
|
|
|
|
install -m 0644 $SRC/eglplatform.h $PKG/usr/include/EGL/
|
2018-08-11 14:10:03 -05:00
|
|
|
}
|