compat-32/wayland-32/Pkgfile

24 lines
679 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
2023-04-05 21:08:01 +02:00
version=1.22.0
2019-08-04 17:05:40 +02:00
release=1
2023-04-16 00:16:13 +02:00
source=(https://gitlab.freedesktop.org/wayland/wayland/-/releases/$version/downloads/wayland-$version.tar.xz)
2019-08-04 17:05:40 +02:00
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}
}