forked from ports/contrib
24 lines
643 B
Plaintext
24 lines
643 B
Plaintext
# Description: The EGLStream-based Wayland external platform
|
|
# URL: https://github.com/NVIDIA/egl-wayland/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: eglexternalplatform mesa wayland-protocols
|
|
|
|
name=wayland-egl
|
|
version=1.1.8
|
|
release=1
|
|
source=(https://github.com/NVIDIA/egl-wayland/archive/$version/$name-$version.tar.gz
|
|
glvnd.diff)
|
|
|
|
build() {
|
|
patch -Np1 -d egl-wayland-$version -i $SRC/glvnd.diff
|
|
|
|
meson setup egl-wayland-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|