first upload (#4863)

This commit is contained in:
kwyxz
2020-04-10 23:18:58 -07:00
committed by GitHub
parent 3fbe87abe9
commit 6f3f3ae2e3
2 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
display_name = "SNK - Neo Geo CD (NeoCD)"
authors = "Elta"
supported_extensions = "cue|chd"
corename = "NeoCD"
manufacturer = "SNK"
categories = "Emulator"
systemname = "SNK Neo Geo CD"
database = "SNK - Neo Geo CD"
license = "LGPLv3"
display_version = "@DISPLAY_VERSION@"
supports_no_game = "false"
firmware_count = 12
firmware0_desc = "Front Loader BIOS"
firmware0_path = "neocd/neocd_f.rom"
firmware0_opt = "true"
firmware1_desc = "Front Loader BIOS (SMKDAN)"
firmware1_path = "neocd/neocd_sf.rom"
firmware1_opt = "true"
firmware2_desc = "Top Loader BIOS"
firmware2_path = "neocd/neocd_t.rom"
firmware2_opt = "true"
firmware3_desc = "Top Loader BIOS (SMKDAN)"
firmware3_path = "neocd/neocd_st.rom"
firmware3_opt = "true"
firmware4_desc = "CDZ BIOS"
firmware4_path = "neocd/neocd_z.rom"
firmware4_opt = "true"
firmware5_desc = "CDZ BIOS (SMKDAN)"
firmware5_path = "neocd/neocd_sz.rom"
firmware5_opt = "true"
firmware6_desc = "Y-ZOOM ROM"
firmware6_path = "neocd/ng-lo.rom"
firmware6_opt = "true"
firmware7_desc = "Y-ZOOM ROM (MAME)"
firmware7_path = "neocd/000-lo.lo"
firmware7_opt = "true"
firmware8_desc = "Front Loader BIOS (MAME)"
firmware8_path = "neocd/front-sp1.bin"
firmware8_opt = "true"
firmware9_desc = "Top Loader BIOS (MAME)"
firmware9_path = "neocd/top-sp1.bin"
firmware9_opt = "true"
firmware10_desc = "CDZ BIOS (MAME)"
firmware10_path = "neocd/neocd.bin"
firmware10_opt = "true"
firmware11_desc = "Universe BIOS"
firmware11_path = "neocd/uni-bioscd.rom"
firmware11_opt = "true"

View File

@@ -0,0 +1,60 @@
SUMMARY="A port of NeoCD, a Neo Geo CD/CDZ emulator for libretro"
DESCRIPTION="NeoCD-Libretro is a complete rewrite of NeoCD from scratch in modern C++11. \
It is designed with accuracy and portability in mind rather than being all about speed \
like the the older versions. The goal is also to document all that is know about the \
platform in the source code so other emulator authors can make their own implementations."
HOMEPAGE="https://github.com/libretro/neocd_libretro"
COPYRIGHT="2005-2020, Fabrice Martinez, the libretro team"
LICENSE="GNU LGPL v3"
REVISION="1"
srcGitRev="3825848fe7dd7e0ef859729eefcb29e2ea2956b7"
SOURCE_URI="https://github.com/libretro/neocd_libretro/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="95f33dead4d0054d597cf785899e826eff6a494548c0c5eb935ea9ff55a9ea64"
SOURCE_FILENAME="neocd-libretro-${portVersion/_/-}-$srcGitRev.tar.gz"
SOURCE_DIR="neocd_libretro-$srcGitRev"
srcGitRev_2="db0ddbefe87ae5145191929eb6269597d039fa8b"
SOURCE_URI_2="https://github.com/libretro/libretro-common/archive/$srcGitRev_2.tar.gz"
CHECKSUM_SHA256_2="8772d31418c33383bf553531a351eafe0f3fef8bc85707e27a1ecd3367f0e4fd"
SOURCE_FILENAME_2="libretro-common-$srcGitRev.tar.gz"
ADDITIONAL_FILES="neocd_libretro.info.in"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
neocd_libretro$secondaryArchSuffix = $portVersion
addon:neocd_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/neocd_libretro.info.in \
> neocd_libretro.info
# Remove the directory then copy the code from libretro-common
rmdir src/3rdparty/libretro-common
cp -r $sourceDir2/libretro-common-$srcGitRev_2 src/3rdparty/libretro-common
make $jobArgs
}
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 \
neocd_libretro.info \
neocd_libretro.so
}