mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 23:18:58 +02:00
* 81_libretro: bumped to version 1.0a:20231101 * atari800_libretro: bumped to version 3.1.0:20231114 * bluemsx_libretro: bumped to version 2.9.0:20231110 * cap32_libretro: bumped to version 4.2.0:20240204 * fmsx_libretro: bumped to version 4.9:20240208 * hatari_libretro: bumped to version 1.8:20230929 * puae_libretro: bumped to version 2.6.1:20240203 * xrick_libretro: bumped to version 1.0.0.6:20231101 * bsnes_libretro: bumped to version 115.1:20231116 * desmume_libretro: bumped to version 0.9.11:20240111 * dosbox_pure_libretro: bumped to version 0.13:20231229 * fbneo_libretro: bumped to version 1.0.0.0:20240208 * fceumm_libretro: bumped to version 0.0.1:20240125 * gambatte_libretro: bumped to version 0.5.0:20240202 * gearboy_libretro: bumped to version 3.4:20240201 * gearcoleco_libretro: bumped to version 1.0.0:20240201 * gearsystem_libretro: bumped to version 3.4.1:20240201 * genesis_plus_gx_libretro: bumped to version 1.7.4:20240206 * handy_libretro: bumped to version 0.95:20240101 * mame2003_plus_libretro: bumped to version 1.0:20240208 * mednafen_lynx_libretro: bumped to version 0.9.32:20231101 * mednafen_ngp_libretro: bumped to version 0.9.36.1:20231101 * mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20240202 * mednafen_pce_libretro: bumped to version 0.9.38.7:20240209 * mednafen_psx_hw_libretro: bumped to version 0.9.44.1:20240202 * mednafen_psx_libretro: bumped to version 0.9.44.1:20240202 * mednafen_supergrafx_libretro: bumped to version 0.9.38.7:20240209 * mednafen_vb_libretro: bumped to version 0.9.36.1:20231101 * mednafen_wswan_libretro: bumped to version 0.9.35.1:20231101 * mesen_libretro: bumped to version 0.9.4:20240130 * mupen64plus_next_libretro: bumped to version 1.0:20230521 * nestopia_libretro: bumped to version 1.49:20240203 * neocd_libretro: bumped to version 0.5:20240201 * o2em_libretro: bumped to version 1.18:20231019 * opera_libretro: bumped to version 1.0.0:20240113 * parallel_n64_libretro: bumped to version 2.0rc2:20240115 * snes9x_libretro: bumped to version 1.60:20231013 * stella_libretro: bumped to version 6.5.3:20240202 * cannonball_libretro: bumped to version 0.34:20231031 * reminiscence_libretro: bumped to version 0.3.6:20240105 * tyrquake_libretro: bumped to version 0.62:20231031 * craft_libretro: bumped to version 1.0:20231101
56 lines
1.7 KiB
Bash
56 lines
1.7 KiB
Bash
SUMMARY="A port of Craft, a Minecraft clone, to the libretro architecture"
|
|
DESCRIPTION="A very performant Minecraft clone written in just a few thousand \
|
|
lines of C using modern OpenGL (shaders). Online multiplayer support is \
|
|
included using a Python-based server. Many people have used this as a base \
|
|
upon which a more complex game was built."
|
|
HOMEPAGE="https://www.michaelfogleman.com/projects/craft/"
|
|
COPYRIGHT="2014-2020 Michael Fogleman, the libretro team"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
srcGitRev="34c1341caa094ff4fe4f06e8ceb6ec316062b1fa"
|
|
SOURCE_URI="https://github.com/libretro/Craft/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="02e21345732e2e883921590e07329fac0eb68c2397abc8a58aaf64d427d4a4aa"
|
|
SOURCE_FILENAME="libretro-craft-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="Craft-$srcGitRev"
|
|
ADDITIONAL_FILES="craft_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
craft_libretro$secondaryArchSuffix = $portVersion
|
|
addon:craft_libretro$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
retroarch$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
mesa${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
$portDir/additional-files/craft_libretro.info.in \
|
|
> craft_libretro.info
|
|
make -f Makefile.libretro $jobArgs GIT_VERSION=${srcGitRev:0:7}
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" README.md LICENSE.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
craft_libretro.info \
|
|
craft_libretro.so
|
|
}
|