[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:
parent
2c4a0c036a
commit
bb536447e3
1 changed files with 4 additions and 0 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue