gpsp_libretro-0.91_20190914.recipe revision 39be1620
1SUMMARY="A port of gpSP, a Game Boy Advance emulator to the libretro API" 2DESCRIPTION="gpSP was initially a Nintendo Game Boy Advance emulator for the \ 3Sony PlayStation Portable console, but is now available on various platforms \ 4thanks to its Libretro core." 5HOMEPAGE="http://gpsp-dev.blogspot.com/" 6COPYRIGHT="2007-2018 Exophase, the libretro team" 7LICENSE="GNU GPL v2" 8REVISION="1" 9srcGitRev="24af89596e6484ff5a7a08efecfa8288cfbc02f3" 10SOURCE_URI="https://github.com/libretro/gpsp/archive/$srcGitRev.tar.gz" 11CHECKSUM_SHA256="1ed5d5155b15ae3e6d46a65457e09eacd3de7cc0c13e911409126ed27b34e70f" 12SOURCE_FILENAME="gpsp-libretro-${portVersion/_/-}-$srcGitRev.tar.gz" 13SOURCE_DIR="gpsp-$srcGitRev" 14ADDITIONAL_FILES="gpsp_libretro.info.in" 15 16ARCHITECTURES="!x86_gcc2 ?x86 x86_64" 17SECONDARY_ARCHITECTURES="x86" 18 19PROVIDES=" 20 gpsp_libretro$secondaryArchSuffix = $portVersion 21 addon:gpsp_libretro$secondaryArchSuffix = $portVersion 22 " 23REQUIRES=" 24 haiku$secondaryArchSuffix 25 retroarch$secondaryArchSuffix 26 " 27 28BUILD_REQUIRES=" 29 haiku${secondaryArchSuffix}_devel 30 " 31BUILD_PREREQUIRES=" 32 cmd:gcc$secondaryArchSuffix 33 cmd:make 34 " 35 36BUILD() 37{ 38 sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \ 39 $portDir/additional-files/gpsp_libretro.info.in \ 40 > gpsp_libretro.info 41 make $jobArgs GIT_VERSION=${srcGitRev:0:7} 42} 43 44INSTALL() 45{ 46 install -m 0755 -d "$docDir" 47 install -m 0644 -t "$docDir" COPYING readme.txt 48 install -m 0755 -d "$addOnsDir"/libretro 49 install -m 0644 -t "$addOnsDir"/libretro \ 50 gpsp_libretro.info \ 51 gpsp_libretro.so 52} 53