2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-20 05:30:11 -07:00
repo/wayland/sway/build
Owen Rafferty 9c96f455c1
*: use 'meson setup'
closes #165
2023-11-18 14:51:12 -06:00

24 lines
469 B
Bash
Executable File

#!/bin/sh -e
# Fix for GCC 13.
export CFLAGS="$CFLAGS -Wno-error=switch"
# Default background color.
sed 's/0.25f, 0.25f, 0.25f/0.929, 0.870, 0.678/' \
sway/desktop/render.c > _
mv -f _ sway/desktop/render.c
export DESTDIR="$1"
meson setup \
-Dprefix=/usr \
-Ddefault-wallpaper=false \
-Dzsh-completions=false \
-Dbash-completions=false \
-Dfish-completions=false \
-Dxwayland=disabled \
build
ninja -C build
ninja -C build install