From 7d14351d17df28f9d0458830b5328e2ce8a40b6c Mon Sep 17 00:00:00 2001 From: Hercules2048 <96486547+Hercules2048@users.noreply.github.com> Date: Tue, 30 Aug 2022 09:43:03 -0400 Subject: [PATCH 1/6] Initial sauerbraten yml recipe. --- recipes/sauerbraten.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes/sauerbraten.yml diff --git a/recipes/sauerbraten.yml b/recipes/sauerbraten.yml new file mode 100644 index 00000000..b3c68bb1 --- /dev/null +++ b/recipes/sauerbraten.yml @@ -0,0 +1,30 @@ +# Initial upload, everything should work. +# Hercules#3665 on discord for more info. +# Thank to Q009 on the Sauer discord for a few tips. +app: Sauerbraten +binpatch: true + +ingredients: + dist: jellyfish + sources: + - deb http://archive.ubuntu.com/ubuntu/ jammy main universe + script: + - wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sauerbraten/sauerbraten_0.0.20201227-1_all.deb + +script: +# - mv usr/games/* usr/bin/ ; rm -r usr/games/ + - ln -s ../lib/x86_64-linux-gnu/ usr/games/ + - mv ./usr/share/games/sauerbraten/data ./data + - mv ./usr/share/games/sauerbraten/packages ./packages + - mv ./usr/games/sauerbraten ./sauerbraten + - rm sauerbraten.desktop + - cat > sauerbraten.desktop < Date: Tue, 30 Aug 2022 11:31:25 -0400 Subject: [PATCH 2/6] Fixed it so it actually works, lmao. --- recipes/sauerbraten.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/recipes/sauerbraten.yml b/recipes/sauerbraten.yml index b3c68bb1..68a7dcb2 100644 --- a/recipes/sauerbraten.yml +++ b/recipes/sauerbraten.yml @@ -14,17 +14,5 @@ ingredients: script: # - mv usr/games/* usr/bin/ ; rm -r usr/games/ - ln -s ../lib/x86_64-linux-gnu/ usr/games/ - - mv ./usr/share/games/sauerbraten/data ./data - - mv ./usr/share/games/sauerbraten/packages ./packages - - mv ./usr/games/sauerbraten ./sauerbraten - - rm sauerbraten.desktop - - cat > sauerbraten.desktop < Date: Tue, 30 Aug 2022 12:34:04 -0400 Subject: [PATCH 3/6] Added SDL2 --- recipes/sauerbraten.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/sauerbraten.yml b/recipes/sauerbraten.yml index 68a7dcb2..28d82053 100644 --- a/recipes/sauerbraten.yml +++ b/recipes/sauerbraten.yml @@ -6,6 +6,8 @@ binpatch: true ingredients: dist: jellyfish + packages: + - libsdl2-2.0-0 sources: - deb http://archive.ubuntu.com/ubuntu/ jammy main universe script: From c64ae70e498944418e4ba31319dfbd0388554a8a Mon Sep 17 00:00:00 2001 From: Hercules2048 <96486547+Hercules2048@users.noreply.github.com> Date: Tue, 30 Aug 2022 14:25:07 -0400 Subject: [PATCH 4/6] Updated to include all dependencies --- recipes/sauerbraten.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/sauerbraten.yml b/recipes/sauerbraten.yml index 28d82053..a4621f75 100644 --- a/recipes/sauerbraten.yml +++ b/recipes/sauerbraten.yml @@ -1,6 +1,7 @@ # Initial upload, everything should work. # Hercules#3665 on discord for more info. # Thank to Q009 on the Sauer discord for a few tips. +# Added in a few more packages required to run on just about any supported system. app: Sauerbraten binpatch: true @@ -8,6 +9,11 @@ ingredients: dist: jellyfish packages: - libsdl2-2.0-0 + - libsdl2-image-2.0-0 + - zlib1g-dev + - libpng16-16 + - libgl-dev + - libjpeg8 sources: - deb http://archive.ubuntu.com/ubuntu/ jammy main universe script: From 8d9edbdcfaabfb9d61983f46610ed384b76e8f43 Mon Sep 17 00:00:00 2001 From: Hercules2048 <96486547+Hercules2048@users.noreply.github.com> Date: Tue, 30 Aug 2022 15:58:51 -0400 Subject: [PATCH 5/6] Added more dependencies --- sauerbraten.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sauerbraten.yml diff --git a/sauerbraten.yml b/sauerbraten.yml new file mode 100644 index 00000000..6bfd3592 --- /dev/null +++ b/sauerbraten.yml @@ -0,0 +1,27 @@ +# Initial upload, everything should work. +# Hercules#3665 on discord for more info. +# Thank to Q009 on the Sauer discord for a few tips. +# Added in a few more packages required to run on just about any supported system. +app: Sauerbraten +binpatch: true + +ingredients: + dist: jellyfish + packages: + - libsdl2-2.0-0 + - libsdl2-image-2.0-0 + - libsdl2-mixer-2.0-0 + - zlib1g-dev + - libpng16-16 + - libgl-dev + - libjpeg8 + sources: + - deb http://archive.ubuntu.com/ubuntu/ jammy main universe + script: + - wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sauerbraten/sauerbraten_0.0.20201227-1_all.deb + +script: +# - mv usr/games/* usr/bin/ ; rm -r usr/games/ + - ln -s ../lib/x86_64-linux-gnu/ usr/games/ + - mv ./usr/share/games/sauerbraten/data ./usr/lib/cube2/data + - mv ./usr/share/games/sauerbraten/packages ./usr/lib/cube2/packages From 8b14cb6d2e6bce8f822b5cad5fc0ce82e8901269 Mon Sep 17 00:00:00 2001 From: Hercules2048 <96486547+Hercules2048@users.noreply.github.com> Date: Mon, 31 Jul 2023 07:51:05 -0400 Subject: [PATCH 6/6] Update sauerbraten.yml Changed the repository version to fall in line with other recipes. --- recipes/sauerbraten.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/sauerbraten.yml b/recipes/sauerbraten.yml index a4621f75..dc207f3b 100644 --- a/recipes/sauerbraten.yml +++ b/recipes/sauerbraten.yml @@ -15,7 +15,7 @@ ingredients: - libgl-dev - libjpeg8 sources: - - deb http://archive.ubuntu.com/ubuntu/ jammy main universe + - deb http://archive.ubuntu.com/ubuntu/ trusty main universe script: - wget -c http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sauerbraten/sauerbraten_0.0.20201227-1_all.deb