diff --git a/satellites/extrafiles/nxengine/nxengine.desktop b/graveyard/unmaintained_satellites/extrafiles/nxengine/nxengine.desktop similarity index 100% rename from satellites/extrafiles/nxengine/nxengine.desktop rename to graveyard/unmaintained_satellites/extrafiles/nxengine/nxengine.desktop diff --git a/satellites/extrafiles/nxengine/nxengine.png b/graveyard/unmaintained_satellites/extrafiles/nxengine/nxengine.png similarity index 100% rename from satellites/extrafiles/nxengine/nxengine.png rename to graveyard/unmaintained_satellites/extrafiles/nxengine/nxengine.png diff --git a/satellites/extrafiles/nxengine/nxengine.sh b/graveyard/unmaintained_satellites/extrafiles/nxengine/nxengine.sh similarity index 100% rename from satellites/extrafiles/nxengine/nxengine.sh rename to graveyard/unmaintained_satellites/extrafiles/nxengine/nxengine.sh diff --git a/satellites/extrafiles/nxengine-evo/nxengine-evo.desktop b/satellites/extrafiles/nxengine-evo/nxengine-evo.desktop new file mode 100644 index 0000000..f3a1cf4 --- /dev/null +++ b/satellites/extrafiles/nxengine-evo/nxengine-evo.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=NXEngine-evo (Cave Story) +Comment=A clone/engine-rewrite of the classic jump-and-run platformer Cave Story/Doukutsu Monogatari +Exec=nxengine-evo +Icon=nxengine-evo +Type=Application +Categories=Game;AdventureGame; diff --git a/satellites/extrafiles/nxengine-evo/nxengine-evo.png b/satellites/extrafiles/nxengine-evo/nxengine-evo.png new file mode 100644 index 0000000..ee55f85 Binary files /dev/null and b/satellites/extrafiles/nxengine-evo/nxengine-evo.png differ diff --git a/satellites/nxengine-evo.sat b/satellites/nxengine-evo.sat new file mode 100644 index 0000000..513c9b9 --- /dev/null +++ b/satellites/nxengine-evo.sat @@ -0,0 +1,51 @@ +import 'compile/cmake' + +name=nxengine-evo +version=2.4.1 +update_url="https://github.com/isage/$name/releases" +update_names="/archive/v$version.tar.gz" + +define_option 'console_key=`: The key used to access the debug console' + +dlextract "https://github.com/isage/$name/archive/v$version/$name-$version.tar.gz" \ + 'dd1b27f8ebda24263bfe9bbe3d5b092c' +download "http://www.cavestory.org/downloads/cavestoryen.zip" \ + '5aad47f1cb72185d6e7f4c8c392f6b6e' + +extrafile "$name.desktop" +extrafile "$name.png" +header_end + +# Copy Cave Story executable and data to the source directory. +extract 'cavestoryen.zip' '' 'unzip -qd {dst} {src}' +cp -an CaveStory/data CaveStory/Doukutsu.exe "$name-$version" + +cd "$name-$version" + +# Some keyboards don't have the default key accessible. A saner default would be '.' or '-'. +# Since it's kind of up to the player, I just shittily patch it here. +console_key="$(safe_sed $(option =console_key))" +sed -i -e "/if (key == '\`')/s/\`/$console_key/" src/input.cpp +sed -i -e "/case '\`':/s/\`/$console_key/" src/console.cpp + +# Build the source +compile_cmake -I + +# Extract extra data from Doukutsu.exe +./bin/extract + +# Install game +install -Dm755 -t "$dir_install/$dir_prefix/$dir_libdir/$name" bin/nx +mkdir -p "$dir_install/$dir_prefix/$dir_bindir" +ln -s "/$dir_prefix/$dir_libdir/$name/nx" "$dir_install/$dir_prefix/$dir_bindir/nxengine-evo" + +# Install data +mkdir -p "$dir_install/$dir_prefix/$dir_datadir/$name" +cp -aT data "$dir_install/$dir_prefix/$dir_datadir/$name" +ln -s "/$dir_prefix/$dir_datadir/$name" "$dir_install/$dir_prefix/$dir_libdir/$name/data" + +# Install desktop file and icon +install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/applications" "../$name.desktop" +install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/pixmaps" "../$name.png" + +# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: diff --git a/satellites/sdl2_ttf.sat b/satellites/sdl2_ttf.sat new file mode 100644 index 0000000..cd9bb25 --- /dev/null +++ b/satellites/sdl2_ttf.sat @@ -0,0 +1,14 @@ +import 'compile/configure' + +name=SDL2_ttf +version=2.0.14 +update_url='https://www.libsdl.org/projects/SDL_ttf/' + +dlextract "https://www.libsdl.org/projects/SDL_ttf/release/$name-$version.tar.gz" \ + 'e53c05e1e7f1382c316afd6c763388b1' +header_end + +cd "$name-$version" +compile_configure -- --disable-static + +# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: