21 lines
636 B
Bash
Executable file
21 lines
636 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
# Build and install the patched Casilda compositor library from the git fork.
|
|
# The fork tracks upstream main plus the force-maximize patch used by the spike.
|
|
|
|
repo_url="https://forgejo.tail556789.ts.net/ahamilton/casilda.git"
|
|
src_dir="$HOME/src/casilda"
|
|
prefix="$HOME/.local"
|
|
|
|
if [ ! -d "$src_dir/.git" ]; then
|
|
git clone "$repo_url" "$src_dir"
|
|
else
|
|
git -C "$src_dir" pull --ff-only
|
|
fi
|
|
|
|
meson setup "$src_dir/build" "$src_dir" --prefix "$prefix"
|
|
meson compile -C "$src_dir/build"
|
|
meson install -C "$src_dir/build"
|
|
|
|
echo "Casilda installed to $prefix (typelib at $prefix/lib/x86_64-linux-gnu/girepository-1.0)"
|