Permalink
Comparing changes
Open a pull request
- 1 commit
- 3 files changed
- 0 commit comments
- 1 contributor
Commits on Mar 05, 2018
* Initial commit * Replaced SUPPLEMENTS with REQUIRES, added documentation * Replaced lib: by addon: for consistency
Unified
Split
Showing
with
75 additions
and 0 deletions.
- +51 −0 games-emulation/4do_libretro/4do_libretro-1.3.2.4.20180219git.recipe
- +17 −0 games-emulation/4do_libretro/additional-files/4do_libretro.info.in
- +7 −0 games-emulation/4do_libretro/licenses/FreeDO
| @@ -0,0 +1,51 @@ | ||
| SUMMARY="A port of 4DO, a 3DO emulator to the libretro architecture" | ||
| DESCRIPTION="4DO is an open-source, low-level emulator for the Panasonic 3DO, based on the FreeDO source code." | ||
| HOMEPAGE="http://www.fourdo.com/" | ||
| COPYRIGHT="2011-2018 the 4DO/FreeDO team, the libretro team" | ||
| LICENSE="FreeDO | ||
| GNU LGPL v3" | ||
| REVISION="1" | ||
| srcGitRev="12eba56e3ddb1cd3c53bf26f62adeca7cc0389af" | ||
| SOURCE_URI="https://github.com/libretro/4do-libretro/archive/$srcGitRev.tar.gz" | ||
| CHECKSUM_SHA256="1aee495919d1cc0f71f965c1d6fc61a548cad36f1826aaf52207c0650dbf2886" | ||
| SOURCE_FILENAME="libretro-4do-$portVersion-$srcGitRev.tar.gz" | ||
| SOURCE_DIR="4do-libretro-$srcGitRev" | ||
| ADDITIONAL_FILES="4do_libretro.info.in" | ||
|
|
||
| ARCHITECTURES="!x86_gcc2 ?x86 x86_64" | ||
| SECONDARY_ARCHITECTURES="x86" | ||
|
|
||
| PROVIDES=" | ||
| 4do_libretro$secondaryArchSuffix = $portVersion | ||
| addon:4do_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%git}/" \ | ||
| $portDir/additional-files/4do_libretro.info.in \ | ||
| > 4do_libretro.info | ||
| make $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 \ | ||
| 4do_libretro.info \ | ||
| 4do_libretro.so | ||
| } |
| @@ -0,0 +1,17 @@ | ||
| display_name = "The 3DO Company - 3DO (4DO)" | ||
| authors = "JohnnyDude|FreeDO team" | ||
| supported_extensions = "iso|cue" | ||
| corename = "4DO" | ||
| manufacturer = "Various" | ||
| categories = "Emulator" | ||
| systemname = "3DO" | ||
| database = "The 3DO Company - 3DO" | ||
| license = "FreeDO" | ||
| permissions = "" | ||
| display_version = "@DISPLAY_VERSION@" | ||
| supports_no_game = "false" | ||
| firmware_count = 1 | ||
| firmware0_desc = "panafz10.bin (Panasonic FZ-10 BIOS)" | ||
| firmware0_path = "panafz10.bin" | ||
| firmware0_opt = "false" | ||
| notes = "(!) panafz10.bin (md5): 51f2f43ae2f3508a14d9f56597e2d3ce" |
| @@ -0,0 +1,7 @@ | ||
| The FreeDO licensed under modified GNU LGPL, with following notes: | ||
| * The owners and original authors of the FreeDO have full right to develop closed source derivative work. | ||
| * Any non-commercial uses of the FreeDO sources or any knowledge obtained by studying or reverse engineering | ||
| of the sources, or any other material published by FreeDO have to be accompanied with full credits. | ||
| * Any commercial uses of FreeDO sources or any knowledge obtained by studying or reverse engineering of the sources, | ||
| or any other material published by FreeDO is strictly forbidden without owners approval. | ||
| The above notes are taking precedence over GNU LGPL in conflicting situations. |