# Description: Specifications of extended Wayland protocols
# URL: https://wayland.freedesktop.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: wayland

name=wayland-protocols
version=1.32
release=1
source=(https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$version/downloads/$name-$version.tar.xz)

build() {
  meson setup $name-$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
}
