2021-07-08 01:58:34 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-07-09 03:31:05 -06:00
|
|
|
patch -p1 < no-evdev.patch
|
2021-10-02 08:33:50 -06:00
|
|
|
patch -p1 < llvm-13.patch
|
2021-07-09 03:31:05 -06:00
|
|
|
|
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
|
|
|
|
|
2021-07-08 01:58:34 -06:00
|
|
|
meson \
|
|
|
|
--prefix=/usr \
|
|
|
|
-Dexamples=false \
|
|
|
|
-Dxwayland=disabled \
|
|
|
|
-Dx11-backend=disabled \
|
|
|
|
-Dxcb-errors=disabled \
|
|
|
|
-Dxcb-icccm=disabled \
|
|
|
|
. build
|
|
|
|
|
|
|
|
ninja -C build
|
|
|
|
ninja -C build install
|
|
|
|
|
2021-07-12 11:26:53 -06:00
|
|
|
rm -rf \
|
|
|
|
"$1/usr/share/fish" \
|
|
|
|
"$1/usr/share/bash-completion" \
|
|
|
|
"$1/usr/share/backgrounds" \
|
|
|
|
"$1/usr/share/zsh"
|