Ports: Add Jagged Alliance 2 Stracciatella port
This commit is contained in:
parent
502445ad16
commit
278241859b
Notes:
sideshowbarker
2024-07-17 16:29:46 +09:00
Author: https://github.com/safarp Commit: https://github.com/SerenityOS/serenity/commit/278241859b Pull-request: https://github.com/SerenityOS/serenity/pull/13152 Reviewed-by: https://github.com/linusg
4 changed files with 2478 additions and 0 deletions
|
@ -78,6 +78,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`imagemagick`](imagemagick/) | ImageMagick | 7.1.0-23 | https://imagemagick.org |
|
||||
| [`imgcat`](imgcat/) | imgcat | 2.5.0 | https://github.com/eddieantonio/imgcat |
|
||||
| [`indent`](indent/) | GNU indent | 2.2.11 | https://www.gnu.org/software/indent/ |
|
||||
| [`ja2`](ja2/) | Jagged Alliance 2 Stracciatella | 0.15.x | https://github.com/safarp/ja2-stracciatella/tree/0.15.x |
|
||||
| [`jot`](jot/) | jot (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |
|
||||
| [`jq`](jq/) | jq | 1.6 | https://stedolan.github.io/jq/ |
|
||||
| [`klong`](klong/) | Klong | 20190926 | https://t3x.org/klong/ |
|
||||
|
|
20
Ports/ja2/package.sh
Executable file
20
Ports/ja2/package.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=ja2
|
||||
version=0.15.x
|
||||
depends=("SDL2")
|
||||
workdir="ja2-stracciatella-${version}"
|
||||
files="https://github.com/ja2-stracciatella/ja2-stracciatella/archive/refs/heads/${version}.zip ja2-stracciatella-${version}.zip 178375de4859d16a76276c781455bf48d3fa862841387c8aa6cfa4162f4f0ca4"
|
||||
auth_type=sha256
|
||||
makeopts="SERENITY=1"
|
||||
launcher_name="Jagged Alliance 2"
|
||||
launcher_category=Games
|
||||
launcher_command="/opt/ja2/ja2"
|
||||
|
||||
install() {
|
||||
installdir="${SERENITY_INSTALL_ROOT}/opt/ja2"
|
||||
run mkdir -p "${installdir}"
|
||||
run cp -r ja2 mods externalized "${installdir}"
|
||||
echo "INFO: Jagged Alliance 2 data have to be provided! Copy DATA directory located in the original Jagged Alliance 2 installation into the '${installdir}'."
|
||||
echo "INFO: Boot up SerenityOS and run '/opt/ja2/ja2' executable in order to produce ja2.ini configuration file in the '/home/anon/.ja2'."
|
||||
echo "INFO: Edit the configuration file and set 'data_dir' value to '/opt/ja2'."
|
||||
}
|
5
Ports/ja2/patches/ReadMe.md
Normal file
5
Ports/ja2/patches/ReadMe.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Patches for ja2
|
||||
|
||||
## `fix_SDL2_compilation.patch`
|
||||
|
||||
Migrates the source code and Makefile to use SDL 2.0 instead of version 1.2.
|
2452
Ports/ja2/patches/fix_SDL2_compilation.patch
Normal file
2452
Ports/ja2/patches/fix_SDL2_compilation.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue