[sway] fix VERSION=1.8.1 LIBLIFTOFF_VERSION=0.4.1 LIBDISPLAYINFO_VERSION=0.1.1 WLROOTS_VERSION=0.16.2 ./SlackBuild

This commit is contained in:
Gwenhael Le Moine 2023-06-14 07:37:00 +02:00
parent 2c4a0c036a
commit bb536447e3
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -18,6 +18,7 @@ ARCH=$(uname -m)
REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM
PREFIX=/usr
MESONFLAGS=""
# nettoyage préalable
rm -fr "$PKG" "${TMP:?}/$PRGNAM"
@ -43,6 +44,8 @@ case $VERSION in
git checkout "$PKGVERSION"
;;
*)
PKGVERSION=$VERSION
MESONFLAGS="-Dc_args=\"-Wno-error=switch\""
git checkout "$PKGVERSION"
;;
esac
@ -172,6 +175,7 @@ meson setup \
-Dbash-completions=true \
-Dzsh-completions=true \
-Dfish-completions=true \
"$MESONFLAGS" \
build/
ninja -C build/