Add meson build

This commit is contained in:
dec05eba
2024-08-05 04:24:59 +02:00
parent 2aa81b741c
commit f0bcf73ba3
10 changed files with 99 additions and 34 deletions

13
install.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh -e
script_dir=$(dirname "$0")
cd "$script_dir"
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
rm -rf build
meson setup build
meson configure --prefix=/usr --buildtype=release -Dstrip=true build
ninja -C build install
echo "Successfully installed gsr-overlay"