dotfiles/de/home/.config/smm2/blueprints/swayfx/install.sh
2024-03-27 15:15:01 -06:00

26 lines
594 B
Bash
Executable file

#!/bin/bash
mkdir swayfxbuild
cd swayfxbuild
wget https://github.com/WillPower3309/swayfx/archive/refs/tags/0.3.2.tar.gz
tar -xf 0.3.2.tar.gz
rm 0.3.2.tar.gz
cd ./swayfx-0.3.2
mkdir ./subprojects
cd subprojects
wget https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/0.16.2/wlroots-0.16.2.tar.gz
tar -xf wlroots-0.16.2.tar.gz
rm wlroots-0.16.2.tar.gz
mv ./wlroots-0.16.2 ./wlroots
sed -i 's\werror=true\werror=false\' ./wlroots/meson.build
cd ..
meson build/
ninja -C build/
sudo ninja -C build/ install
sudo ln -s "/usr/local/lib/$(uname -m)-linux-gnu/libwlroots.so.11" /usr/lib/