2021-07-08 01:58:34 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2023-04-30 14:52:39 -06:00
|
|
|
# Fix for GCC 13.
|
|
|
|
export CFLAGS="$CFLAGS -Wno-error=switch"
|
|
|
|
|
2021-07-09 03:56:40 -06:00
|
|
|
# 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
|
|
|
|
|
2023-03-02 07:40:00 -07:00
|
|
|
export DESTDIR="$1"
|
|
|
|
|
2023-11-18 13:51:12 -07:00
|
|
|
meson setup \
|
|
|
|
-Dprefix=/usr \
|
2021-11-04 23:17:47 -06:00
|
|
|
-Ddefault-wallpaper=false \
|
|
|
|
-Dzsh-completions=false \
|
|
|
|
-Dbash-completions=false \
|
|
|
|
-Dfish-completions=false \
|
2021-07-08 01:58:34 -06:00
|
|
|
-Dxwayland=disabled \
|
2023-11-18 13:51:12 -07:00
|
|
|
build
|
2021-07-08 01:58:34 -06:00
|
|
|
|
|
|
|
ninja -C build
|
|
|
|
ninja -C build install
|