Files
haikuports/games-puzzle/2048_libretro/2048_libretro-1.0_20220707.recipe
kwyxz 67217ee00f Haiku libretro cores bump (#7250)
* cap32_libretro: bumped to version 4.2.0:20221003

* puae_libretro: bumped to version 2.6.1:20221004

* fbneo_libretro: bumped to version 1.0.0.0:20221003

* mame2003_plus_libretro: bumped to version 1.0:20221002

* mednafen_saturn_libretro: bumped to version 0.9.45.1:20220829

* mednafen_supergrafx_libretro: bumped to version 0.9.38.7:20220716

* mednafen_vb_libretro: bumped to version 0.9.36.1:20220828

* mednafen_wswan_libretro: bumped to version 0.9.35.1:20220618

* melonds_libretro: bumped to version 0.8.3:20220930

* mesen_libretro: bumped to version 0.9.4:20220829

* mupen64plus_next_libretro: bumped to version 1.0:20220825

* nestopia_libretro: bumped to version 1.49:20220822

* neocd_libretro: bumped to version 0.5:20220515

* o2em_libretro: bumped to version 1.18:20220726

* opera_libretro: bumped to version 1.0.0:20220725

* parallel_n64_libretro: bumped to version 2.0rc2:20220823

* pcsx_rearmed_libretro: bumped to version r22:20221002

* picodrive_libretro: bumped to version 1.92:20220930

* retroarch_assets: bumped to version 0:20220806

* sameboy_libretro: bumped to version 0.9.0:20220819

* snes9x_libretro: bumped to version 1.60:20220512

* vecx_libretro: bumped to version 1.2:20220728

* yabause_libretro: bumped to version 0.9.15:20220712

* tyrquake_libretro: bumped to version 0.62:20220724

* 2048_libretro: bumped to version 1.0:20220707

* gme_libretro: bumped to version 0.5.2:20220726
2022-10-08 07:48:55 +02:00

53 lines
1.5 KiB
Bash

SUMMARY="A port of the 2048 puzzle game to the libretro architecture"
DESCRIPTION="2048 is a puzzle game by Gabriele Cirulli, based on 1024 by \
Veewo Studio and conceptually similar to Threes by Asher Vollmer. This is \
a port of 2048 to the libretro API."
HOMEPAGE="https://gabrielecirulli.github.io/2048/"
COPYRIGHT="2014-2018 Gabriele Cirulli, the libretro team"
LICENSE="Public Domain"
REVISION="1"
srcGitRev="5bfb48b75f5eb3903a92a9836fab0deb14c83ff6"
SOURCE_URI="https://github.com/libretro/libretro-2048/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d4023295d711bf9b67c375fa5d116a09b0bed522b399e64ad8a0374ba95ecd7f"
SOURCE_FILENAME="libretro-2048-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="libretro-2048-$srcGitRev"
ADDITIONAL_FILES="2048_libretro.info.in"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
2048_libretro$secondaryArchSuffix = $portVersion
addon:2048_libretro$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
retroarch$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
$portDir/additional-files/2048_libretro.info.in \
> 2048_libretro.info
make -f Makefile.libretro $jobArgs
}
INSTALL()
{
install -m 0755 -d "$docDir"
install -m 0644 -t "$docDir" README.md
install -m 0755 -d "$addOnsDir"/libretro
install -m 0644 -t "$addOnsDir"/libretro \
2048_libretro.info \
2048_libretro.so
}