mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-23 07:40:11 -07:00
25 lines
513 B
Bash
Executable File
25 lines
513 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Build fails with gcc 12 due to -Werror.
|
|
export CFLAGS="$CFLAGS -Wno-error"
|
|
|
|
patch -p1 < no-evdev.patch
|
|
patch -p1 < pcre2.patch
|
|
|
|
# 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
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
-Ddefault-wallpaper=false \
|
|
-Dzsh-completions=false \
|
|
-Dbash-completions=false \
|
|
-Dfish-completions=false \
|
|
-Dxwayland=disabled \
|
|
. build
|
|
|
|
ninja -C build
|
|
ninja -C build install
|