2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 15:02:27 +00:00
repo/wayland/sway/build

25 lines
513 B
Plaintext
Raw Normal View History

2021-07-08 07:58:34 +00:00
#!/bin/sh -e
2022-05-07 03:22:52 +00:00
# Build fails with gcc 12 due to -Werror.
export CFLAGS="$CFLAGS -Wno-error"
2021-07-09 09:31:05 +00:00
patch -p1 < no-evdev.patch
2022-04-28 17:23:54 +00:00
patch -p1 < pcre2.patch
2021-07-09 09:31:05 +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
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