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