2021-07-08 03:06:02 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2022-04-28 11:23:54 -06:00
|
|
|
for p in *.patch; do
|
|
|
|
patch -p1 < "$p"
|
|
|
|
done
|
2021-07-08 15:41:52 -06:00
|
|
|
|
2021-07-12 05:16:49 -06:00
|
|
|
# Build fails in subprojects/seatd with clang
|
|
|
|
# due to -Werror -> -Wsign-compare.
|
|
|
|
export CFLAGS="-Wno-error $CFLAGS"
|
|
|
|
|
2021-07-09 03:57:11 -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
|
|
|
|
|
2021-07-08 03:06:02 -06:00
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
2021-11-04 23:24:28 -06:00
|
|
|
-Ddefault-wallpaper=false \
|
|
|
|
-Dzsh-completions=false \
|
|
|
|
-Dbash-completions=false \
|
|
|
|
-Dfish-completions=false \
|
2021-07-08 03:06:02 -06:00
|
|
|
-Dxwayland=disabled \
|
|
|
|
-Dwlroots:examples=false \
|
|
|
|
-Dwlroots:xcb-errors=disabled \
|
|
|
|
-Dwlroots:default_library=static \
|
2022-05-23 16:05:06 -06:00
|
|
|
-Dseatd:libseat-builtin=enabled \
|
2021-07-08 03:06:02 -06:00
|
|
|
-Dseatd:default_library=static \
|
|
|
|
--force-fallback-for=wlroots,seatd \
|
|
|
|
. build
|
|
|
|
|
|
|
|
ninja -C build
|
|
|
|
meson install -C build --skip-subprojects
|