fbneo_libretro-0.2.97.44_20191002.recipe revision 4256d914
1SUMMARY="A port of Final Burn Neo to the libretro architecture"
2DESCRIPTION="Final Burn Neo is a multi-systems Arcade Emulator most popular \
3for emulating Neo-Geo, Capcom, Konami, and Cave games. It is developed by the \
4Final Burn team and originated from FinalBurn by Dave."
5HOMEPAGE="https://github.com/libretro/FBNeo"
6COPYRIGHT="2000-2019 the Final Burn team, the libretro team"
7LICENSE="GNU GPL v3"
8REVISION="2"
9srcGitRev="1fcd948f0bba0c198ebfdd8f9522b7da31dbea62"
10SOURCE_URI="https://github.com/libretro/FBNeo/archive/$srcGitRev.tar.gz"
11CHECKSUM_SHA256="8569a6214b671aa966b63c916adcaa455982a8500346a633f3362bb096c7c762"
12SOURCE_FILENAME="fbneo-${portVersion/_/-}-$srcGitRev.tar.gz"
13SOURCE_DIR="FBNeo-$srcGitRev"
14ADDITIONAL_FILES="fbneo_libretro.info.in"
15
16ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
17SECONDARY_ARCHITECTURES="x86"
18
19PROVIDES="
20	fbneo_libretro$secondaryArchSuffix = $portVersion
21	addon:fbneo_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/fbneo_libretro.info.in \
40		> fbneo_libretro.info
41	cd src/burner/libretro
42	make -f Makefile $jobArgs
43}
44
45INSTALL()
46{
47	install -m 0755 -d "$docDir"
48	install -m 0644 -t "$docDir" README.md
49	install -m 0755 -d "$addOnsDir"/libretro
50	install -m 0644 -t "$addOnsDir"/libretro \
51		fbneo_libretro.info \
52		src/burner/libretro/fbneo_libretro.so
53}
54