compat-32/wayland-32/Pkgfile
2021-12-12 14:26:13 +11:00

24 lines
646 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.20.0
release=1
source=(https://wayland.freedesktop.org/releases/${name%-*}-$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}
}