~ salmonella-environment-setup (master) c37014b400d682df60395fef0ad94cbafd6b29db


commit c37014b400d682df60395fef0ad94cbafd6b29db
Author:     Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Thu Dec 4 12:14:43 2025 +0100
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Thu Dec 4 12:14:46 2025 +0100

    system-setup: Add script to install raylib
    
    That's required by the raylib egg.

diff --git a/system-setup/debian-bookworm.sh b/system-setup/debian-bookworm.sh
index f187a9c..40ca0eb 100755
--- a/system-setup/debian-bookworm.sh
+++ b/system-setup/debian-bookworm.sh
@@ -24,6 +24,7 @@ anchor=$(readlink -f $(dirname "$0"))
 
 
 to_install="\
+  raylib.sh                   \
   tcc.sh                      \
 "
 
diff --git a/system-setup/installers/raylib.sh b/system-setup/installers/raylib.sh
new file mode 100644
index 0000000..9c0f1c6
--- /dev/null
+++ b/system-setup/installers/raylib.sh
@@ -0,0 +1,10 @@
+mkdir raylib
+cd raylib
+git clone https://github.com/raysan5/raylib
+cd raylib
+git checkout 983efae3e4565cdf1441cb0b3dff9498bb0147e8
+mkdir build
+cd build
+cmake -DBUILD_SHARED_LIBS=ON ..
+make
+sudo make install
diff --git a/system-setup/openbsd-6.8.sh b/system-setup/openbsd-6.8.sh
index 54fa68c..040f89d 100755
--- a/system-setup/openbsd-6.8.sh
+++ b/system-setup/openbsd-6.8.sh
@@ -73,3 +73,8 @@ git checkout v6.20.3
 gmake shared_lib
 sudo gmake install
 sudo strip /usr/local/lib/librocksdb.so.6.20.3
+
+### raylib
+
+cd "$tmpdir"
+sh installers/raylib.sh
Trap