compat-32/wayland-32/Pkgfile

24 lines
679 B
Plaintext

# Description: Wayland is intended as a simpler replacement for X
# URL: https://wayland.freedesktop.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: expat-32 libffi-32 libxml2-32 wayland
name=wayland-32
version=1.23.0
release=1
source=(https://gitlab.freedesktop.org/wayland/wayland/-/releases/$version/downloads/wayland-$version.tar.xz)
build() {
meson setup ${name%-*}-$version build \
--prefix=/usr \
--libdir=/usr/lib32 \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D documentation=false
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/{bin,include,share}
}