compat-32/wayland-32/Pkgfile

24 lines
646 B
Plaintext
Raw Normal View History

2019-08-04 17:05:40 +02:00
# 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
2019-08-27 13:48:19 +02:00
# Depends on: expat-32 libffi-32 libxml2-32 wayland
2019-08-04 17:05:40 +02:00
name=wayland-32
2021-12-12 04:19:31 +01:00
version=1.20.0
2019-08-04 17:05:40 +02:00
release=1
source=(https://wayland.freedesktop.org/releases/${name%-*}-$version.tar.xz)
build() {
2021-12-12 04:19:31 +01:00
meson setup ${name%-*}-$version build \
2019-08-04 17:05:40 +02:00
--prefix=/usr \
--libdir=/usr/lib32 \
2021-12-12 04:19:31 +01:00
--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
2019-08-04 17:05:40 +02:00
rm -r $PKG/usr/{bin,include,share}
}