packages/emulators: update packages

This commit is contained in:
Garrett Brown 2023-04-10 16:12:06 +02:00 committed by CvH
parent 7c847c106d
commit e3b9f5e016
58 changed files with 539 additions and 567 deletions

View File

@ -4,20 +4,18 @@
PKG_NAME="libretro-2048"
PKG_VERSION="331c1de588ed8f8c370dcbc488e5434a3c09f0f2"
PKG_SHA256="9b30278e61b8dfe067d8f7cc9cb0d467e16a3d2de995e950b712570d7e4aa195"
PKG_LICENSE="Public domain"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/libretro-2048"
PKG_URL="https://github.com/libretro/libretro-2048/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.2048: 2048 for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of 2048 puzzle game to the libretro API."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
PKG_LIBNAME="2048_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="2048_LIB"
make_target() {
make -f Makefile.libretro
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,17 +2,15 @@
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-atari800"
PKG_VERSION="94033288b026fe699bc50703609807aa8075f4dd"
PKG_SHA256="4e33976c2de88fdfb1ceaecda99a205419cb19b5125b55835fb3414cef58abf6"
PKG_LICENSE="GPLv2"
PKG_VERSION="86be15db82e8c4275a7854d8b61839e87f06ef30"
PKG_SHA256="5ac5339f8c80c464528b465488d399c5a7f02dc0597799f3ca5fe77c822a52da"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-atari800"
PKG_URL="https://github.com/libretro/libretro-atari800/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Atari 8-bit computer and 5200 console emulator"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Libretro port of Atari800 emulator version 3.1.0"
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="platform=unix"
PKG_LIBNAME="atari800_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="ATARI800_LIB"

View File

@ -4,21 +4,18 @@
PKG_NAME="libretro-beetle-bsnes"
PKG_VERSION="d770563fc3c4bd9abb522952cefb4aa923ba0b91"
PKG_SHA256="838693257f9c8924c62ec6d88891fbeca310ac2fd7b8efa3d96775c3b34d4040"
PKG_ARCH="x86_64 i386"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-bsnes-libretro"
PKG_URL="https://github.com/libretro/beetle-bsnes-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.beetle-bsnes: Beetle bSNES for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Standalone port of Mednafen bSNES to libretro, itself a fork of bsnes 0.59."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_snes_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-BSNES_LIB"
make_target() {
LDFLAGS+=" -ldl"
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,17 +7,14 @@ PKG_SHA256="e4eaf64e9160b501cadf983a46b8a2a98c8b590a13ca9082793d9a11e17fdcaf"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-gba-libretro"
PKG_URL="https://github.com/libretro/beetle-gba-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.beetle-gba: Beetle GBA for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Mednafen gba"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_gba_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-GBA_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,22 +2,19 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-lynx"
PKG_VERSION="d718564b468590f6ed8abf5de6d2e9dfab64cb53"
PKG_SHA256="b40158ba62f271ac5f9fb3034aa41fa1977b8375583763abd22231ddf0d88ca5"
PKG_VERSION="2941d8c0c5ba342b6e7bd7d431e8f9c5a6d5c2c9"
PKG_SHA256="d985437397ec177ff0802fd2d661b3adb42beee5a6089f074fc4855d6e6ef944"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-lynx-libretro"
PKG_URL="https://github.com/libretro/beetle-lynx-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Standalone port of Mednafen Lynx to libretro, itself a fork of Handy"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Mednafen Lynx"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_lynx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-LYNX_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,17 +7,14 @@ PKG_SHA256="2d866f6be840b5cbcf6c4159b860d8cb0dffd00c540d230c98de48941d12c38e"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-ngp-libretro"
PKG_URL="https://github.com/libretro/beetle-ngp-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Standalone port of Mednafen NGP to the libretro API, itself a fork of Neopop"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Mednafen Neo Geo Pocket."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_ngp_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-NGP_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,22 +2,21 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-pce-fast"
PKG_VERSION="703d0566858bf693996213af7b2a438636d8d991"
PKG_SHA256="2a1c7e4251e56e60fd3c7c91ead660055bb97e7417621ec1b04ede688edc3818"
PKG_VERSION="e61d55956c0554640c50494720898f3a3e7a65a5"
PKG_SHA256="e3a73fb9f0fb1ffbf699dedb5c78a5568de806c33c176628f9595df14c844995"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-pce-fast-libretro"
PKG_URL="https://github.com/libretro/beetle-pce-fast-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.beetle-pce-fast: Beetle PCE Fast for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Standalone port of Mednafen PCE Fast to libretro."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="HAVE_CDROM=1"
PKG_LIBNAME="mednafen_pce_fast_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-PCE-FAST_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,39 +2,29 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-pcfx"
PKG_VERSION="06f7ff996051feaf9e0d928bd2bce3c4c35af45a"
PKG_SHA256="12545b05a6ec0374de91b3467ee5ec0afae82a3ebccdd6dce0fa66f4f7496db6"
PKG_VERSION="7bbe18c328be977b6d00102a0a08966acb8f536d"
PKG_SHA256="38dcaaa39974e938b8b7c75cb626a16ad39cb81628042558d184b7d738277b07"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-pcfx-libretro"
PKG_URL="https://github.com/libretro/beetle-pcfx-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Standalone port of Mednafen PCFX to libretro"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Mednafen PC-FX."
PKG_TOOLCHAIN="make"
if [ "${ARCH}" = "i386" -o "${ARCH}" = "x86_64" ]; then
PKG_MAKE_OPTS_TARGET="platform=unix"
else
PKG_MAKE_OPTS_TARGET="platform=armv"
fi
pre_make_target() {
PKG_MAKE_OPTS_TARGET+=" CC=${CC} CXX=${CXX} AR=${AR}"
}
PKG_LIBNAME="mednafen_pcfx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-PCFX_LIB"
make_target() {
case ${TARGET_CPU} in
arm1176jzf-s)
make platform=armv6-hardfloat
;;
cortex-a7|cortex-a8)
make platform=armv7-neon-hardfloat
;;
cortex-a9|*cortex-a53|cortex-a17)
if [ "${TARGET_ARCH}" = "aarch64" ]; then
make platform=aarch64
else
make platform=armv7-cortexa9-neon-hardfloat
fi
;;
x86-64)
make
;;
esac
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,20 +2,37 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-psx"
PKG_VERSION="17df2b9b93ba20c520c4592deed4531afc37bc7a"
PKG_SHA256="505c0db4bab3ff81bae5230ea52618a48e2ee84e24f1c3783c1ea4d91d9bc6e4"
PKG_VERSION="b2d4c86f5a591ea825bd507bdaea3a1b8bb27884"
PKG_SHA256="43a90f539fb649f78809ef8420c710ce7ce81a3cdfdeba6e7f46fc1ae3c6c3cb"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-psx-libretro"
PKG_URL="https://github.com/libretro/beetle-psx-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Fork of Mednafen PSX"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Standalone port of Mednafen PSX to libretro."
PKG_TOOLCHAIN="make"
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
fi
PKG_MAKE_OPTS_TARGET="HAVE_CDROM=1 LINK_STATIC_LIBCPLUSPLUS=0"
if [ "${OPENGL_SUPPORT}" = "yes" -a "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_HW=1"
elif [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_OPENGL=1"
elif [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_VULKAN=1"
fi
PKG_LIBNAME="mednafen_psx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-PSX_LIB"
PKG_MAKE_OPTS_TARGET="GIT_VERSION=${PKG_VERSION:0:7} LINK_STATIC_LIBCPLUSPLUS=0"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,22 +2,19 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-supergrafx"
PKG_VERSION="bd50eae63ef38f4ff6d61e8f3a782fdac6a3eeb3"
PKG_SHA256="e194b968e853b9787bc71eb2a7010be9f2a248d8990fee6a59c855c1be531b0f"
PKG_VERSION="4c6f55186c17b509343f61dda9992e48299930aa"
PKG_SHA256="088bd3740a63739173e217e412338df6daf7f6f65abf4557bc846a3da507b8b5"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-supergrafx-libretro"
PKG_URL="https://github.com/libretro/beetle-supergrafx-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Standalone port of Mednafen PCE Fast to libretro. This one only emulates a SuperGrafx TG-16"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Standalone port of Mednafen PCE Fast to libretro."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_supergrafx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-SUPERGRAFX_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,22 +2,19 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-vb"
PKG_VERSION="34996eb1aa7d84ef9bf768628ab0235f85662406"
PKG_SHA256="6c9aa6cc8565d77ec3d037f2634fa33b0b21baa52d599c488395ca2c3ab71d98"
PKG_VERSION="dd6393f76ff781df0f4e8c953f5b053b1e61b313"
PKG_SHA256="b4eb27c48c661efe74f623ae45e9ed453676751d12945c3f44a0247c8fed2eea"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-vb-libretro"
PKG_URL="https://github.com/libretro/beetle-vb-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Standalone port of Mednafen VB to libretro"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Mednafen VB (VirtualBoy)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_vb_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-VB_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,22 +2,19 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-beetle-wswan"
PKG_VERSION="4b1bf823fca4c489e13d826913a875b544432828"
PKG_SHA256="f4fac412969d0b846552dcf69c29b77d6e4e3eb61f4a0ddd2f08b9fcf1347002"
PKG_VERSION="02d63086bc5ee2a508ace0a2f65154e6ff496772"
PKG_SHA256="e26bb695b942bc2ae847f6ab39e9f3f5164ba68732cb895539f541e099fd54bd"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/beetle-wswan-libretro"
PKG_URL="https://github.com/libretro/beetle-wswan-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Standalone port of Mednafen WonderSwan to libretro, itself a fork of Cygne"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Mednafen wswan"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mednafen_wswan_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BEETLE-WSWAN_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,17 +7,16 @@ PKG_SHA256="2e4a7b5cc6b1eb90436d230591a23d775a3aec8fa26ce36d4443fce26bc05f40"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/blueMSX-libretro"
PKG_URL="https://github.com/libretro/blueMSX-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.bluemsx: BlueMSX for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of blueMSX to the libretro API."
PKG_TOOLCHAIN="make"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
PKG_LIBNAME="bluemsx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BLUEMSX_LIB"
make_target() {
make -f Makefile.libretro
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,17 +7,14 @@ PKG_SHA256="c151e1296b8f6c035014dc62919692097feeebb19ae73294f1b9781edf1921b1"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/bnes-libretro"
PKG_URL="https://github.com/libretro/bnes-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.bnes: bNES for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of bNES/higan. (Nintendo Entertainment System)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="bnes_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BNES_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -4,18 +4,22 @@
PKG_NAME="libretro-bsnes-mercury-performance"
PKG_VERSION="fb9a41fe9bc230a07c4506cad3cbf21d3fa635b4"
PKG_SHA256="5217be2136f120f2ed2aa3bd5225c039c6e45d618b88ceed1f607d8e3b3d79b6"
PKG_LICENSE="GPLv2"
PKG_ARCH="x86_64 i386"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/bsnes-mercury"
PKG_URL="https://github.com/libretro/bsnes-mercury/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.beetle-bsnes-performance: Beetle bSNES for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Fork of bsnes with HLE DSP emulation restored."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="bsnes_mercury_performance_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="BSNES-MERCURY-PERFORMANCE_LIB"
make_target() {
make PROFILE=performance
PKG_MAKE_OPTS_TARGET="ui=target-libretro profile=performance"
pre_make_target() {
PKG_MAKE_OPTS_TARGET+=" compiler=${CXX}"
}
makeinstall_target() {

View File

@ -4,20 +4,17 @@
PKG_NAME="libretro-cap32"
PKG_VERSION="22d0475be7f6249669358d02b6cba4bc98abe936"
PKG_SHA256="8c564b645035cc475ce308297161c84a4241d710e641542704d58f8c8341f4de"
PKG_LICENSE="GPLv3"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-cap32"
PKG_URL="https://github.com/libretro/libretro-cap32/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.cap32: cap32 for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="caprice32 4.2.0 libretro"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="cap32_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="CAP32_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -4,24 +4,26 @@
PKG_NAME="libretro-dinothawr"
PKG_VERSION="33fb82a8df4e440f96d19bba38668beaa1b414fc"
PKG_SHA256="092c5c97b73605747baa4cfb3156c7ff80ba2128618ee1cc4d8f12900a0d374b"
PKG_LICENSE="GPLv3"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/Dinothawr"
PKG_URL="https://github.com/libretro/Dinothawr/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.dinothawr: dinothawr for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Dinothawr is a block pushing puzzle game on slippery surfaces"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="dinothawr_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="DINOTHAWR_LIB"
pre_make_target() {
if target_has_feature neon; then
export HAVE_NEON=1
fi
}
if target_has_feature neon; then
PKG_MAKE_OPTS_TARGET="HAVE_NEON=1"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system
cp -rv dinothawr ${SYSROOT_PREFIX}/usr/share/retroarch/system/dinothawr
}

View File

@ -7,14 +7,23 @@ PKG_SHA256="a523019fd18123eda4dfd04d5ea458d24ce670c0c30c9ce01b2b9be94870968e"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/dosbox-pure"
PKG_URL="https://github.com/libretro/dosbox-pure/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.dosbox-pure: DOSBox-Pure for Kodi"
PKG_BUILD_FLAGS="+pic"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="DOSBox Pure is a fork of DOSBox, an emulator for DOS games, built for RetroArch/Libretro aiming for simplicity and ease of use."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="dosbox_pure_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="DOSBOX-PURE_LIB"
PKG_BUILD_FLAGS="+pic"
make_target() {
# remove optimization from CFLAGS, set via Makefile
CFLAGS="${CFLAGS//-O3/}"
CFLAGS="${CFLAGS//-O2/}"
make CXX=${CXX} CPUFLAGS="${CFLAGS}"
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,20 +7,18 @@ PKG_SHA256="83d8b06eebc67f85ff7505271330b1f1c8ef6c4233ef85d070b0789eab83c33d"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/dosbox-libretro"
PKG_URL="https://github.com/libretro/dosbox-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.dosbox: DOSBox for Kodi"
PKG_BUILD_FLAGS="+pic"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro wrapper for the DOSBox emulator"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="dosbox_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="DOSBOX_LIB"
pre_make_target() {
export CXXFLAGS="${CXXFLAGS} -std=gnu++11"
}
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
make_target() {
make -f Makefile.libretro
pre_make_target() {
CXXFLAGS+=" -std=gnu++11"
}
makeinstall_target() {

View File

@ -2,35 +2,44 @@
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-fbneo"
PKG_VERSION="afcd7234fc93b2824f6b8fe1aa80c142a61ad528"
PKG_SHA256="94d5f9215a3231ee040a2841e3512e32cc21416e7eec5f6c3b42f1d6eca2a4ea"
PKG_LICENSE="OSS"
PKG_SITE="https://github.com/libretro/FBNeo"
PKG_VERSION="b557c275bbfacc2e3c5a443033f1511a586e5587"
PKG_SHA256="b34fd2fde29b49d2364472595afbad605716989608a010249d4d4a4a5bbf4896"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/fbneo"
PKG_URL="https://github.com/libretro/FBNeo/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.fbneo: FinalBurn Neo GameClient for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of Final Burn Neo to Libretro"
PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="-gold +lto"
PKG_LIBNAME="fbneo_libretro.so"
PKG_LIBPATH="src/burner/libretro/${PKG_LIBNAME}"
PKG_LIBVAR="FBNEO_LIB"
PKG_MAKE_OPTS_TARGET="-C src/burner/libretro/ GIT_VERSION=${PKG_VERSION:0:7}"
PKG_MAKE_OPTS_TARGET="-C src/burner/libretro"
pre_configure_target() {
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=armv"
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" profile=performance"
# NEON Support
if target_has_feature neon; then
PKG_MAKE_OPTS_TARGET+="-neon"
fi
if target_has_feature neon ; then
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
fi
}
if [ "${PROJECT}" = "Rockchip" -a "${DEVICE}" = "OdroidGoAdvance" ]; then
PKG_MAKE_OPTS_TARGET+=" USE_CYCLONE=1"
fi
else
PKG_MAKE_OPTS_TARGET+=" profile=accuracy"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/libretro-database/fbneo
cp -vr dats/* ${SYSROOT_PREFIX}/usr/share/libretro-database/fbneo
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system/fbneo
cp metadata/hiscore.dat ${SYSROOT_PREFIX}/usr/share/retroarch/system/fbneo
}

View File

@ -2,21 +2,20 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-fceumm"
PKG_VERSION="c795a25647614ee68cc3c8c187566fae3acfde60"
PKG_SHA256="74be2198a61d561bf513b42d235abd78401a287b3f9ed88eb0acd6b831ea6ee5"
PKG_VERSION="8a49aa542215d986b176e6399c5f5186378dc650"
PKG_SHA256="1b348dcc142b6f215d002baec3c12c034b45d8d4df8a1755ec8f23af8b34799f"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-fceumm"
PKG_URL="https://github.com/libretro/libretro-fceumm/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.fceumm: FCEUmm emulator for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of FCEUmm / FCEUX to Libretro."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="fceumm_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="FCEUMM_LIB"
make_target() {
make -f Makefile.libretro
}
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -4,20 +4,17 @@
PKG_NAME="libretro-fmsx"
PKG_VERSION="1360c9ff32b390383567774d01fbe5d6dfcadaa3"
PKG_SHA256="32f235b88629ac3566f845d721e44e4bc334814c0372f034ce4b8153729bcf2d"
PKG_LICENSE="GPLv3"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/fmsx-libretro"
PKG_URL="https://github.com/libretro/fmsx-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.fmsx: fmsx for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of fMSX to the libretro API."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="fmsx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="FMSX_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,15 +7,19 @@ PKG_SHA256="5b4f1b5d2eaacca013a46ed9a7105162500d15ed9d25da3f88b212226cd999e2"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/fuse-libretro"
PKG_URL="https://github.com/libretro/fuse-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.fuse: fuse for Kodi"
PKG_DEPENDS_TARGET="toolchain bzip2"
PKG_LONGDESC="A port of the Fuse Unix Spectrum Emulator to libretro "
PKG_TOOLCHAIN="make"
PKG_LIBNAME="fuse_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="FUSE_LIB"
make_target() {
make
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
pre_make_target() {
CFLAGS+=" -DHAVE_LIBBZ2"
CXXFLAGS+=" -DHAVE_LIBBZ2"
}
makeinstall_target() {

View File

@ -2,18 +2,21 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-gambatte"
PKG_VERSION="5ae3727f51798b1da437429f7559ffb36c575127"
PKG_SHA256="81465ee673c8f64ad07a18603aeaf9161a425f84dff245fa95bc78b71ea71749"
PKG_VERSION="463e29c1a08f656a42ec7e1e9f6999fb7aabb88f"
PKG_SHA256="df5d4cb6b566b7b0b582cc446446ee254c02e54d72056db3ccd3de6e4daba5b6"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/gambatte-libretro"
PKG_URL="https://github.com/libretro/gambatte-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.gambatte: Gambatte for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of libgambatte, an open-source Game Boy Color emulator written for fun and made available in the hope that it will be useful."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="gambatte_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="GAMBATTE_LIB"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,25 +2,29 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-genplus"
PKG_VERSION="118e2b83873beba1a2f154a8bad8a02bdd8ea98d"
PKG_SHA256="b6599120b736b2579cf56725b7eff8454f469c42d5039eaf6524dbb6d138eff0"
PKG_LICENSE="Modified BSD / LGPLv2.1"
PKG_SITE="https://github.com/libretro/Genesis-Plus-GX"
PKG_VERSION="6363ee7edac100a8402ee9fe35303eac4c506bb3"
PKG_SHA256="3efe00435eda0821461d50de643a1b578a0e8f8ea7a4548d2135b3f375b5b5a0"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/ekeeke/Genesis-Plus-GX"
PKG_URL="https://github.com/libretro/Genesis-Plus-GX/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.genplus: Genesis Plus GX for Kodi"
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Genesis Plus GX is an open-source & portable Sega Mega Drive / Genesis emulator, now also emulating SG-1000, Master System, Game Gear and Sega/Mega CD hardware."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="genesis_plus_gx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="GENPLUS_LIB"
make_target() {
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
if [ "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" NO_OPTIMIZE=1"
fi
pre_make_target() {
if [ "${ARCH}" = "arm" -o "${ARCH}" = "aarch64" ]; then
CFLAGS+=" -DALIGN_LONG"
fi
make -f Makefile.libretro GIT_VERSION=${PKG_VERSION}
}
makeinstall_target() {

View File

@ -7,16 +7,15 @@ PKG_SHA256="26ec953669e2fc817c448797d43b0434340c3a9ee43ea02569a5a83eb39ffccb"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/gw-libretro"
PKG_URL="https://github.com/libretro/gw-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.gw: gw for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A libretro core for Game & Watch simulators"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="gw_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="GW_LIB"
make_target() {
make
}
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,22 +2,19 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-handy"
PKG_VERSION="7c2dbcb46a26cdb2355ccb4e982460095a55ba44"
PKG_SHA256="4f15dcfa77cd94995fc72c205acaf242c2a45cf6ea18d244563994bfc54c9a0b"
PKG_LICENSE="GPLv3"
PKG_VERSION="63db085af671bad2929078c55434623b7d4632a1"
PKG_SHA256="3e95202814d7dd16a0bf1277aa4dcc82acd82a5fcee9965db103133f274383b8"
PKG_LICENSE="Zlib"
PKG_SITE="https://github.com/libretro/libretro-handy"
PKG_URL="https://github.com/libretro/libretro-handy/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.handy: handy for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="K. Wilkins' Atari Lynx emulator Handy for libretro"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="handy_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="HANDY_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -4,20 +4,23 @@
PKG_NAME="libretro-hatari"
PKG_VERSION="1ebf0a0488580ef95c0b28f02223b31813c867c5"
PKG_SHA256="520b3666a8cf795a89f8bf322dc77749cf8b1994a1f613f098cd6d4ed5382011"
PKG_LICENSE="GPLv3"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/hatari"
PKG_URL="https://github.com/libretro/hatari/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.hatari: hatari for Kodi"
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="New rebasing of Hatari based on Mercurial upstream. Tries to be a shallow fork for easy upstreaming later on."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="hatari_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBPATH="../${PKG_LIBNAME}"
PKG_LIBVAR="HATARI_LIB"
make_target() {
cd ${PKG_BUILD}
make -f Makefile.libretro
PKG_MAKE_OPTS_TARGET="-C ../ -f Makefile.libretro"
pre_make_target() {
if [ "${ARCH}" = "arm" ]; then
CFLAGS+=" -DNO_ASM -DARM -D__arm__ -DARM_ASM -DNOSSE -DARM_HARDFP"
fi
}
makeinstall_target() {

View File

@ -4,23 +4,20 @@
PKG_NAME="libretro-mame2000"
PKG_VERSION="0208517404e841fce0c094f1a2776a0e1c6c101d"
PKG_SHA256="7981c04b3efb9a3c4d31cb05c56745b729da0aea01f0b2543ee9e25a2c53aced"
PKG_LICENSE="GPLv2"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/mame2000-libretro"
PKG_URL="https://github.com/libretro/mame2000-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="2000 version of MAME (0.37b5) for libretro"
PKG_LONGDESC="MAME - Multiple Arcade Machine Emulator"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mame2000_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="MAME2000_LIB"
make_target() {
if [ "${TARGET_ARCH}" = "arm" ]; then
make ARM=1
else
make
fi
}
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET="ARM=1 USE_CYCLONE=1 USE_DRZ80=1"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,24 +2,34 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-mame2003_plus"
PKG_VERSION="0b9309d9d86aea2457df74709e997bea37899475"
PKG_SHA256="c2909c4149f3cb329ebac1555c637eabfa38a2a75cf55c1287274c0563deda71"
PKG_LICENSE="GPLv2"
PKG_VERSION="f2018dfc2d1317102fdc4d311cbdeae9475fb8a1"
PKG_SHA256="7416d9c08900a62e28d13770ffbea675d32e447d11366af352b0aefcb732a42a"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/mame2003-plus-libretro"
PKG_URL="https://github.com/libretro/mame2003-plus-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Updated 2018 version of MAME (0.78) with added game support plus many fixes and improvements"
PKG_LONGDESC="MAME - Multiple Arcade Machine Emulator"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mame2003_plus_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="MAME2003_PLUS_LIB"
configure_target() {
export LD="${CC}"
pre_make_target() {
PKG_MAKE_OPTS_TARGET="ARCH= CC=${CC} NATIVE_CC=${CC} LD=${CC}"
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/libretro-database/mame2003-plus
cp -v metadata/mame2003-plus.xml ${SYSROOT_PREFIX}/usr/share/libretro-database/mame2003-plus/
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system/mame2003-plus/samples
cp -rv metadata/artwork ${SYSROOT_PREFIX}/usr/share/retroarch/system/mame2003-plus
cp -v metadata/{cheat,hiscore,history}.dat ${SYSROOT_PREFIX}/usr/share/retroarch/system/mame2003-plus
# something must be in a folder in order to include it in the image, so why not some instructions
echo "Put your samples here." > ${SYSROOT_PREFIX}/usr/share/retroarch/system/mame2003-plus/samples/readme.txt
}

View File

@ -4,45 +4,40 @@
PKG_NAME="libretro-mame2010"
PKG_VERSION="5f524dd5fca63ec1dcf5cca63885286109937587"
PKG_SHA256="deb2a5126fcf9791ebaaba604143b6fb1bf4fa48fdc7a2ef919c900a3f9e4d69"
PKG_LICENSE="GPLv2"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/libretro/mame2010-libretro"
PKG_URL="https://github.com/libretro/mame2010-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain zlib"
PKG_LONGDESC="Late 2010 version of MAME (0.139) for libretro"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Late 2010 version of MAME (0.139) for libretro. Compatible with MAME 0.139 romsets."
PKG_TOOLCHAIN="manual"
PKG_LIBNAME="mame2010_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="MAME2010_LIB"
pre_configure_target() {
export CFLAGS="${CFLAGS} -fpermissive"
export CXXFLAGS="${CXXFLAGS} -fpermissive"
export LD="${CXX}"
case ${TARGET_CPU} in
arm1176jzf-s)
PKG_MAKE_OPTS_TARGET="platform=armv6-hardfloat-${TARGET_CPU}"
;;
cortex-a7|cortex-a8|cortex-a9)
PKG_MAKE_OPTS_TARGET="platform=armv7-neon-hardfloat-${TARGET_CPU}"
;;
*cortex-a53|cortex-a17)
if [ "${TARGET_ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET="platform=aarch64"
else
PKG_MAKE_OPTS_TARGET="platform=armv7-neon-hardfloat-cortex-a9"
fi
;;
esac
pre_make_target() {
PKG_MAKE_OPTS_TARGET="CC=${CC} LD=${CC}"
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" PTR64=0 ARM_ENABLED=1 LCPU=arm"
elif [ "${ARCH}" = "i386" ]; then
PKG_MAKE_OPTS_TARGET+=" PTR64=0 ARM_ENABLED=0 LCPU=x86"
elif [ "${ARCH}" = "x86_64" ]; then
PKG_MAKE_OPTS_TARGET+=" PTR64=1 ARM_ENABLED=0 LCPU=x86_64"
elif [ "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" PTR64=1 ARM_ENABLED=1 LCPU=arm64"
fi
make ${PKG_MAKE_OPTS_TARGET} PLATCFLAGS="${CFLAGS}" maketree
}
pre_make_target() {
# precreate the build directories because they may be created too late
make ${PKG_MAKE_OPTS_TARGET} maketree
make_target() {
make ${PKG_MAKE_OPTS_TARGET} PLATCFLAGS="${CFLAGS}"
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/libretro-database/mame2010
cp -v metadata/mame2010.xml ${SYSROOT_PREFIX}/usr/share/libretro-database/mame2010/
}

View File

@ -2,22 +2,20 @@
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-mesen"
PKG_VERSION="c89474c9d87df967d21b7b7d5971dc9475fec028"
PKG_SHA256="f389c3f7670d8df115a9603cca4ebff19bf3a9e722149820d2db7cfa31445755"
PKG_VERSION="d0a48b6d4eb94fd577487f6285a1d2e8cbf879fb"
PKG_SHA256="f1e2ecffa4e72a8742dd609bc83d423fd6f0abfc856c592627276b970c058f2b"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/SourMesen/Mesen/"
PKG_SITE="https://github.com/libretro/Mesen"
PKG_URL="https://github.com/libretro/Mesen/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.mesen: mesen for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mesen_libretro.so"
PKG_LIBPATH="Libretro/${PKG_LIBNAME}"
PKG_LIBVAR="MESEN_LIB"
make_target() {
make -C Libretro/
}
PKG_MAKE_OPTS_TARGET="-C Libretro/"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -4,26 +4,26 @@
PKG_NAME="libretro-mgba"
PKG_VERSION="a69c3434afe8b26cb8f9463077794edfa7d5efad"
PKG_SHA256="e166ad04c46b631f9001fff6155dbde956b57983fdcb4e50d8bbb57980b99840"
PKG_LICENSE="MPL 2.0"
PKG_LICENSE="MPLv2.0"
PKG_SITE="https://github.com/libretro/mgba"
PKG_URL="https://github.com/libretro/mgba/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform zlib"
PKG_LONGDESC="game.libretro.mgba: mGBA for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="mGBA Game Boy Advance Emulator"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mgba_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBPATH="../${PKG_LIBNAME}"
PKG_LIBVAR="MGBA_LIB"
pre_configure_target() {
# fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}
}
PKG_MAKE_OPTS_TARGET="-C ../ -f Makefile.libretro"
make_target() {
make -f Makefile.libretro
}
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=unix-armv"
fi
if target_has_feature neon ; then
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,28 +2,24 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-mrboom"
PKG_VERSION="787f7a09dad0e2fd3fea71517261ae34445e5c63"
PKG_SHA256="4a9e8bad643ae43f327920686d872c56c2c812ab4dbd0abecf02a6315cd3a42c"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/Javanaise/mrboom-libretro"
PKG_VERSION="2d603a2dccff15db944e04ed6a1cefc4750e463f"
PKG_SHA256="2e30ff53ea0a77062c22cf44f81e4eb8130d3f98757d0c4c0d856a9030eb1a8c"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/mrboom-libretro"
PKG_URL="https://github.com/kodi-game/mrboom-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.mrboom: mrboom for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Mr.Boom is a 8 players Bomberman clone for RetroArch/Libretro"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="mrboom_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="MRBOOM_LIB"
pre_make_target() {
# Disable NEON otherwise build fails
if target_has_feature neon; then
CFLAGS+=" -DDONT_WANT_ARM_OPTIMIZATIONS"
fi
}
PKG_MAKE_OPTS_TARGET=""
make_target() {
make
}
if target_has_feature neon ; then
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,22 +2,20 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-nestopia"
PKG_VERSION="0867e83383661055ead5ecdab99150bb90922d93"
PKG_SHA256="b82c0ba7cc41463c9ce69149019032819e0db74f46df2ff3caed382e9fddc6c6"
PKG_VERSION="de6b65261cae9aa11d2c88543174e98e65fca818"
PKG_SHA256="534d96512868a3ec267a338c7f2d40e114d358c0fb724bcceba2d59aba6c82fd"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/nestopia"
PKG_URL="https://github.com/libretro/nestopia/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.nestopia: Nestopia for Kodi"
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Libretro implementation of NEStopia. (Nintendo Entertainment System)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="nestopia_libretro.so"
PKG_LIBPATH="libretro/${PKG_LIBNAME}"
PKG_LIBVAR="NESTOPIA_LIB"
make_target() {
make -C libretro
}
PKG_MAKE_OPTS_TARGET="-C libretro/"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -7,19 +7,19 @@ PKG_SHA256="f85987a9497339f292df6a34af1c2b1020992465d0dd2c4a9acc9734ea857877"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/nxengine-libretro"
PKG_URL="https://github.com/libretro/nxengine-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.nx: nx for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of NxEngine to libretro - Cave Story game engine clone"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="nxengine_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="NX_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system/nxengine
cp -vr datafiles/* ${SYSROOT_PREFIX}/usr/share/retroarch/system/nxengine
}

View File

@ -4,20 +4,17 @@
PKG_NAME="libretro-o2em"
PKG_VERSION="a2a12472fde910b6089ac3ca6de805bd58a9c999"
PKG_SHA256="19cff8eff5227a955158e10a5a37790300ad89312033f9f1df542dad5b3caf4e"
PKG_LICENSE="GPLv3"
PKG_LICENSE="Artistic License"
PKG_SITE="https://github.com/libretro/libretro-o2em"
PKG_URL="https://github.com/libretro/libretro-o2em/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.o2em: o2em for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of O2EM to the libretro API, an Odyssey 2 / VideoPac emulator."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="o2em_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="O2EM_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -4,19 +4,20 @@
PKG_NAME="libretro-opera"
PKG_VERSION="8a49bb8877611037438aeb857cb182f41ee0e3a1"
PKG_SHA256="48f94380633808ea01f4608f03ceb6b4b10709ba18abf1df6665f06ae839e7a7"
PKG_LICENSE="GPL-2.0-or-later"
PKG_LICENSE="LGPL with additional notes"
PKG_SITE="https://github.com/libretro/opera-libretro"
PKG_URL="https://github.com/libretro/opera-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.opera: Port of 4DO/libfreedo for Kodi."
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of 4DO/libfreedo to libretro."
PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="+lto"
PKG_LIBNAME="opera_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="OPERA_LIB"
PKG_MAKE_OPTS_TARGET="GIT_VERSION=${PKG_VERSION:0:7}"
pre_make_target() {
PKG_MAKE_OPTS_TARGET="CC=${CC} CXX=${CXX} AR=${AR}"
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -7,38 +7,47 @@ PKG_SHA256="85560938cdad30be5994e935d35b0b4b8a12f6d2ca39c0034bfaa3d98cbcb11a"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/pcsx_rearmed"
PKG_URL="https://github.com/libretro/pcsx_rearmed/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.pcsx-rearmed: PCSX Rearmed for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="ARM optimized PCSX fork"
PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="-gold"
PKG_LIBNAME="pcsx_rearmed_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBPATH="../${PKG_LIBNAME}"
PKG_LIBVAR="PCSX-REARMED_LIB"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro GIT_VERSION=${PKG_VERSION:0:7}"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro -C ../"
pre_configure_target() {
cd ${PKG_BUILD}
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
if target_has_feature neon; then
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1 HAVE_NEON_ASM=1 BUILTIN_GPU=neon"
else
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=0"
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
fi
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" DYNAREC=ari64"
if target_has_feature neon ; then
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON_ASM=1 BUILTIN_GPU=neon"
else
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON_ASM=0 BUILTIN_GPU=unai"
fi
case ${TARGET_ARCH} in
aarch64)
PKG_MAKE_OPTS_TARGET+=" DYNAREC=ari64 platform=aarch64"
;;
arm)
PKG_MAKE_OPTS_TARGET+=" DYNAREC=ari64"
;;
x86_64)
PKG_MAKE_OPTS_TARGET+=" DYNAREC=lightrec"
;;
esac
}
if [ "${DEVICE}" = "OdroidGoAdvance" ]; then
sed -e "s|armv8-a|armv8-a+crc|" \
-i ../Makefile.libretro
PKG_MAKE_OPTS_TARGET+=" platfrom=classic_armv8_a35"
else
PKG_MAKE_OPTS_TARGET+=" platform=unix"
fi
elif [ "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=unix DYNAREC=ari64"
else
PKG_MAKE_OPTS_TARGET+=" platform=unix DYNAREC=none"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,67 +2,34 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-picodrive"
PKG_VERSION="c567d74ce42078f58168debe7e5e414bda441b6c"
PKG_SHA256="a4a737c6a550454969ae81f3c525c66eaf9253500430e9e1184fc620b0d5e2db"
PKG_VERSION="930213533e65435c7ff2d4127c7163f870c0e68d"
PKG_SHA256="904ce86b92b5a70522f6ba530d115b491fcb330ac14cad8fb36a5f8356e69add"
PKG_LICENSE="MAME"
PKG_SITE="https://github.com/kodi-game/picodrive"
PKG_URL="https://github.com/kodi-game/picodrive/releases/download/picodrive-${PKG_VERSION}/picodrive-${PKG_VERSION}.tar.gz"
PKG_SITE="https://github.com/libretro/picodrive"
PKG_URL="https://github.com/kodi-game/picodrive/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ${PKG_NAME}:host"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_TARGET="toolchain kodi-platform ${PKG_NAME}:host"
PKG_DEPENDS_UNPACK="cyclone68000"
PKG_LONGDESC="Fast MegaDrive/MegaCD/32X emulator"
PKG_TOOLCHAIN="manual"
PKG_BUILD_FLAGS="-gold"
PKG_LONGDESC="Libretro implementation of PicoDrive. (Sega Megadrive/Genesis/Sega Master System/Sega GameGear/Sega CD/32X)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="picodrive_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBPATH="../${PKG_LIBNAME}"
PKG_LIBVAR="PICODRIVE_LIB"
pre_build_host() {
cp -a $(get_build_dir cyclone68000)/* ${PKG_BUILD}/cpu/cyclone/
}
pre_configure_host() {
# fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${HOST_NAME}
}
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro -C ../"
make_host() {
if [ "${ARCH}" = "arm" ]; then
make -C cpu/cyclone CONFIG_FILE=../cyclone_config.h
if [ "${ARCH}" != "x86_64" ]; then
make -C ../cpu/cyclone CONFIG_FILE=../cyclone_config.h
fi
}
pre_configure_target() {
# fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}
makeinstall_host() {
: # nothing to do
}
post_configure_target() {
sed -e "s|^GIT_VERSION :=.*$|GIT_VERSION := \" ${PKG_VERSION:0:7}\"|" -i Makefile.libretro
}
make_target() {
if target_has_feature neon; then
export HAVE_NEON=1
export BUILTIN_GPU=neon
else
export HAVE_NEON=0
fi
case ${TARGET_ARCH} in
aarch64)
R= make -f Makefile.libretro platform=aarch64
;;
arm)
R= make -f Makefile.libretro platform=armv
;;
x86_64)
R= make -f Makefile.libretro
;;
esac
pre_make_target() {
CFLAGS+=" -I./"
}
makeinstall_target() {

View File

@ -7,17 +7,15 @@ PKG_SHA256="7dd450e5e26c9b66ce0811ec4eac125e71b6752951bdbf3851d0312d268c09c2"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/pokemini"
PKG_URL="https://github.com/libretro/PokeMini/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="libretro wrapper for PokeMini emulator."
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Obscure nintendo handheld emulator (functional,no color files or savestates currently)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="pokemini_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="POKEMINI_LIB"
configure_target() {
cd ${PKG_BUILD}
}
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,24 +2,24 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-prboom"
PKG_VERSION="d9c3975669b4aab5a1397e0174838bcbbc3c1582"
PKG_SHA256="bce89eac47d612b5745ecb65f7b69d13efb5efa29a6bd64d21d529ca2792d199"
PKG_LICENSE="GPLv3"
PKG_VERSION="47a95e921e9f1e5928730b7369d14129769fa475"
PKG_SHA256="9ff3068ed16ff07b25e5229942eed805dccadeac0fef19331ce45206e4012ab0"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/libretro-prboom"
PKG_URL="https://github.com/libretro/libretro-prboom/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.prboom: prboom for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro implementation of Doom"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="prboom_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="PRBOOM_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system/
cp -v prboom.wad ${SYSROOT_PREFIX}/usr/share/retroarch/system/
}

View File

@ -7,8 +7,9 @@ PKG_SHA256="289ed69df4503cd7772b6ec621aabc4a12eaedeb7dcf287a7ba01cf38aeb6c75"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/prosystem-libretro"
PKG_URL="https://github.com/libretro/prosystem-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Port of ProSystem to libretro"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of ProSystem to libretro."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="prosystem_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"

View File

@ -4,20 +4,17 @@
PKG_NAME="libretro-quicknes"
PKG_VERSION="75d501a87ec2074e8d2f7256fb0359513c263c29"
PKG_SHA256="751feab59dad87c708c21eaaf55017ec8e1cc088a53230bb910b0b92854eb0ca"
PKG_LICENSE="GPLv2"
PKG_LICENSE="LGPLv2.1+"
PKG_SITE="https://github.com/libretro/QuickNES_Core"
PKG_URL="https://github.com/libretro/QuickNES_Core/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.quicknes: QuickNES for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="The QuickNES core library, originally by Shay Green, heavily modified"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="quicknes_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="QUICKNES_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -7,16 +7,15 @@ PKG_SHA256="9ef470c7c6bee83bbeb1e861a1c76b722d78de5e5a3849e7132d03d40fa8828d"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/libretro/sameboy"
PKG_URL="https://github.com/libretro/SameBoy/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform util-linux:host"
PKG_LONGDESC="libretro wrapper for SameBoy emulator."
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Gameboy and Gameboy Color emulator written in C"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="sameboy_libretro.so"
PKG_LIBPATH="libretro/${PKG_LIBNAME}"
PKG_LIBVAR="SAMEBOY_LIB"
make_target() {
make -C libretro
}
PKG_MAKE_OPTS_TARGET="-C libretro/"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -2,41 +2,46 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-scummvm"
PKG_VERSION="0b219a46770776e10c954c6242870928113cacc0"
PKG_SHA256="a1c8a4b7de3b03f762efd96552fe8b5dfa3e2bcec47c031d6791a220aead8d5e"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/scummvm"
PKG_URL="https://github.com/kodi-game/scummvm/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.scummvm: scummvm for Kodi"
PKG_VERSION="2a272d90dcf2783c7866b866e43912c05a4bfc4b"
PKG_SHA256="c55f862b1527f74f55108574af8fd3af8ca9d0b672eb07bbbab0ec5bc07a406c"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/scummvm-wrapper"
PKG_URL="https://github.com/libretro/scummvm-wrapper/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="ScummVM with libretro backend."
PKG_TOOLCHAIN="make"
PKG_LR_UPDATE_TAG="yes"
PKG_LIBNAME="scummvm_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="SCUMMVM_LIB"
PKG_MAKE_OPTS_TARGET="platform=unix GIT_VERSION=${PKG_VERSION:0:7}"
PKG_MAKE_OPTS_TARGET="all"
pre_configure_target() {
cd ${PKG_BUILD}
if [ "${TARGET_ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" TARGET_64BIT=0"
pre_make_target() {
CXXFLAGS+=" -DHAVE_POSIX_MEMALIGN=1"
if [ "${DEVICE}" = "OdroidGoAdvance" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=oga_a35_neon_hardfloat"
else
PKG_MAKE_OPTS_TARGET+=" TARGET_64BIT=1"
fi
if target_has_feature neon; then
PKG_MAKE_OPTS_TARGET+=" HAVE_NEON=1"
fi
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then
PKG_MAKE_OPTS_TARGET+=" DEBUG=1"
PKG_MAKE_OPTS_TARGET+=" platform=${TARGET_NAME}"
fi
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
cp scummvm_libretro.info ${SYSROOT_PREFIX}/usr/lib/
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
# unpack files to retroarch-system folder and create basic ini file
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system
unzip scummvm.zip -d ${SYSROOT_PREFIX}/usr/share/retroarch/system
cat << EOF > ${SYSROOT_PREFIX}/usr/share/retroarch/system/scummvm.ini
[scummvm]
extrapath=/tmp/system/scummvm/extra
browser_lastpath=/tmp/system/scummvm/extra
themepath=/tmp/system/scummvm/theme
guitheme=scummmodern
EOF
}

View File

@ -2,22 +2,24 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-snes9x"
PKG_VERSION="bc3bbb28c1723742d102c867e264574915d7c8ef"
PKG_SHA256="59e43b695021f2444103a345bb95f44870bd4792af7580d71b95f61bb9ad35f9"
PKG_LICENSE="GPLv3"
PKG_VERSION="b931ad0cb4fe209a659ce6f47b3c2986059792fa"
PKG_SHA256="471bb9a3bf68891cc83f725cdb0d71cb7e0ba443383f953b5bd9d50a49e0ddd7"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/snes9x"
PKG_URL="https://github.com/libretro/snes9x/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.snes9x: snes9x for Kodi"
PKG_TOOLCHAIN="manual"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Snes9x - Portable Super Nintendo Entertainment System (TM) emulator"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="snes9x_libretro.so"
PKG_LIBPATH="libretro/${PKG_LIBNAME}"
PKG_LIBVAR="SNES9X_LIB"
make_target() {
make -C libretro/
}
PKG_MAKE_OPTS_TARGET="-C libretro/"
if [ "${DEVICE}" = "OdroidGoAdvance" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=classic_armv8_a35"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -4,20 +4,22 @@
PKG_NAME="libretro-snes9x2002"
PKG_VERSION="540baad622d9833bba7e0696193cb06f5f02f564"
PKG_SHA256="07f0e54c61b2608480157a2259dfa7aba2ff3e746935b3b51068b0f69d67d289"
PKG_ARCH="arm"
PKG_LICENSE="GPL"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/snes9x2002"
PKG_URL="https://github.com/libretro/snes9x2002/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="Port of SNES9x 1.39 for libretro. Heavily optimized for ARM."
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Snes9x 2002. Port of SNES9x 1.39 for libretro (was previously called PocketSNES). Heavily optimized for ARM."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="snes9x2002_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="SNES9X2002_LIB"
pre_make_target() {
export CFLAGS="${CFLAGS} -std=gnu11"
}
PKG_MAKE_OPTS_TARGET="platform=unix"
if [ "${PROJECT}" = "RPi" ] && [ "${DEVICE}" = "RPi" -o "${DEVICE}" = "GPICase" ]; then
PKG_MAKE_OPTS_TARGET+=" ARM_ASM=1"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -4,16 +4,25 @@
PKG_NAME="libretro-snes9x2010"
PKG_VERSION="d8b10c4cd7606ed58f9c562864c986bc960faaaf"
PKG_SHA256="7faf4243226cfed3a2926ef78d7db74905947ecda8770575a81b1792b2345302"
PKG_LICENSE="GPLv3"
PKG_LICENSE="Non-commercial"
PKG_SITE="https://github.com/libretro/snes9x2010"
PKG_URL="https://github.com/libretro/snes9x2010/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="snes9x2010 for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="libretro"
PKG_LONGDESC="Snes9x 2010. Port of Snes9x 1.52+ to Libretro (previously called SNES9x Next). Rewritten in C and several optimizations and speedhacks."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="snes9x2010_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="SNES9X2010_LIB"
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
if [ "${PROJECT}" = "Rockchip" -a "${DEVICE}" = "OdroidGoAdvance" ];then
PKG_MAKE_OPTS_TARGET+=" platform=goa_armv8_a35"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,21 +2,20 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-stella"
PKG_VERSION="8ab051edd4816f33a5631d230d54059eeed52c5f"
PKG_SHA256="08976546ed707e7d83a1e4b1204bba8e854f41c0a0a9d8d5d8447c4489fb1fe0"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/stella-libretro"
PKG_URL="https://github.com/libretro/stella2014-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.stella: Stella for Kodi"
PKG_VERSION="1cc58b9d02ec79fed9c52a5fb99ad35681b1d2ce"
PKG_SHA256="9798c63936747f4f1bcb6b3d56d42769a5d0a145160a48242a4d296dacdb06b3"
PKG_LICENSE="GPL2"
PKG_SITE="https://github.com/stella-emu/stella"
PKG_URL="https://github.com/stella-emu/stella/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL)."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="stella2014_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBNAME="stella_libretro.so"
PKG_LIBPATH="../src/os/libretro/${PKG_LIBNAME}"
PKG_LIBVAR="STELLA_LIB"
make_target() {
make
}
PKG_MAKE_OPTS_TARGET="-C ../src/os/libretro -f Makefile"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -4,20 +4,17 @@
PKG_NAME="libretro-tgbdual"
PKG_VERSION="a6f3018e6a23030afc1873845ee54d4b2d8ec9d3"
PKG_SHA256="5df48cf8a8091cb68b5f21e90671cf27afaf2d0fcf35431093cccff0e4e95c7f"
PKG_LICENSE="GPLv3"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/tgbdual-libretro"
PKG_URL="https://github.com/libretro/tgbdual-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.tgbdual: tgbdual for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro port of TGB Dual"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="tgbdual_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="TGBDUAL_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,22 +2,19 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-tyrquake"
PKG_VERSION="fdd8d2746d527722dffe2ac9a208a753bef62f7b"
PKG_SHA256="f2c4a88974230ad7b517dc1de4e24a9cfb2f5b4c0f38b1b0a4c9e5c7721f7fad"
PKG_LICENSE="GPLv3"
PKG_VERSION="b3fcc43e57543ef499df91b5c5d931680addf070"
PKG_SHA256="40ac0fda5f9facae7ea74bbcbb61b105a5006919d24420089ccd0d20fcf7c656"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/tyrquake"
PKG_URL="https://github.com/libretro/tyrquake/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.tyrquake: tyrquake for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Libretro port of Tyrquake (Quake 1 engine)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="tyrquake_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="TYRQUAKE_LIB"
make_target() {
make
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}

View File

@ -2,28 +2,24 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-uae"
PKG_VERSION="9f0f10d92cc83afa66d35d398b7af959bd4b90c5"
PKG_SHA256="6e9afa5c7711587f64e91cee456d1aa0a13ce22068999598b508f2bc6e0bd9ad"
PKG_VERSION="30063cdaf8492363128afe6e682ac2223f1ffcb4"
PKG_SHA256="890316fab52e2df0a2ca59902001d30a2f710d3517a871f29ee2f2e31bc0aeb8"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/libretro-uae"
PKG_URL="https://github.com/libretro/libretro-uae/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="libretro wrapper for UAE emulator."
PKG_BUILD_FLAGS="-lto"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Portable Commodore Amiga Emulator"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="puae_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="UAE_LIB"
pre_configure_target() {
CFLAGS+=" -fcommon"
if [ "${TARGET_ARCH}" = "arm" ]; then
CFLAGS+=" -DARM -marm"
fi
}
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
mkdir -p ${SYSROOT_PREFIX}/usr/share/retroarch/system/uae_data
cp -vR ${PKG_BUILD}/sources/uae_data/* ${SYSROOT_PREFIX}/usr/share/retroarch/system/uae_data/
}

View File

@ -2,37 +2,34 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-uae4arm"
PKG_VERSION="5cbf44464507ff9262c2403c9f8d5bc5957afd1a"
PKG_SHA256="4d97fb681f6de97569ad9e653bd4178aea37803d6370c23a1d3d5d4a06f5e2dd"
PKG_ARCH="arm"
PKG_VERSION="177c2f0e892adf2603ada9b150e31beffe0f76c3"
PKG_SHA256="0be54f926740333d1b2832d4bb78e6b1e47409c75f40e99e544b7265327c0708"
PKG_ARCH="arm aarch64"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/libretro/uae4arm-libretro"
PKG_URL="https://github.com/libretro/uae4arm-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain zlib"
PKG_LONGDESC="UAE4ARM amiga emulator."
PKG_SITE="https://github.com/Chips-fr/uae4arm-rpi"
PKG_URL="https://github.com/Chips-fr/uae4arm-rpi/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain flac mpg123 zlib"
PKG_LONGDESC="Port of uae4arm for libretro (rpi/android)"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="uae4arm_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="UAE4ARM_LIB"
pre_configure_target() {
if target_has_feature neon; then
CFLAGS+=" -D__NEON_OPT"
fi
}
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
make_target() {
if target_has_feature neon; then
PKG_HAVE_NEON=1
else
PKG_HAVE_NEON=0
fi
make HAVE_NEON=${PKG_HAVE_NEON} USE_PICASSO96=1
}
if [ "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=unix-aarch64"
elif target_has_feature neon ; then
PKG_MAKE_OPTS_TARGET+=" platform=unix-neon"
else
PKG_MAKE_OPTS_TARGET+=" platform=unix"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
cp -v capsimg.so ${SYSROOT_PREFIX}/usr/lib/
}

View File

@ -2,28 +2,20 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libretro-vbam"
PKG_VERSION="7e30b038893de63e674944f75581d57c7685ea3a"
PKG_SHA256="589d4c4ff0764ea0f3b4829291bff773ef228926531fb35a1705f8770ea130a2"
PKG_VERSION="928a61704f6636d5e24f0a73374d360fe546cb5a"
PKG_SHA256="0c3bf3a05b6fedee8b5b9830344c03e275359c560bfac5a16bcb3e048d96dd50"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/vbam-libretro"
PKG_URL="https://github.com/libretro/vbam-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.vbam: VBA-M for Kodi"
PKG_SITE="https://github.com/visualboyadvance-m/visualboyadvance-m"
PKG_URL="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="VBA-M with libretro integration"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="vbam_libretro.so"
PKG_LIBPATH="src/libretro/${PKG_LIBNAME}"
PKG_LIBPATH="../src/libretro/${PKG_LIBNAME}"
PKG_LIBVAR="VBAM_LIB"
pre_configure_target() {
# fails to build in subdirs
cd ${PKG_BUILD}
rm -rf .${TARGET_NAME}
}
make_target() {
make -C src/libretro
}
PKG_MAKE_OPTS_TARGET="-C ../src/libretro/"
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -4,31 +4,40 @@
PKG_NAME="libretro-vecx"
PKG_VERSION="8e932c1d585ae9e467186dea9e73ce38fe1490f7"
PKG_SHA256="19eaa6d1ad035c01e979550787319f7d0b2398288f7c657eefea6c6d9b4cf49f"
PKG_LICENSE="GPLv3"
PKG_LICENSE="GPLv2|LGPLv2.1"
PKG_SITE="https://github.com/libretro/libretro-vecx"
PKG_URL="https://github.com/libretro/libretro-vecx/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.vecx: vecx for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libretro adaptation of vecx"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="vecx_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"
PKG_LIBVAR="VECX_LIB"
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
PKG_MAKE_OPTS_TARGET="-f Makefile.libretro"
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
make_target() {
if [ "${OPENGL_SUPPORT}" = no ]; then
HAS_GLES=1 make
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
fi
if [ "${PROJECT}" = "RPi" ]; then
if [ "${OPENGLES}" = "mesa" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=rpi-mesa"
else
make
PKG_MAKE_OPTS_TARGET+=" platform=rpi"
fi
}
elif [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_MAKE_OPTS_TARGET+=" HAS_GLES=1 GLES=1"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}

View File

@ -7,8 +7,9 @@ PKG_SHA256="08d0f3403b41a2606e66aa78e35e3cd8fff8bf14050b260ce6f0395f51d48f7b"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/libretro/virtualjaguar-libretro"
PKG_URL="https://github.com/libretro/virtualjaguar-libretro/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of Virtual Jaguar to Libretro"
PKG_TOOLCHAIN="make"
PKG_LIBNAME="virtualjaguar_libretro.so"
PKG_LIBPATH="${PKG_LIBNAME}"

View File

@ -7,33 +7,34 @@ PKG_SHA256="76f50b21d81507ac29e80bbcfbfc8dbf71d6bf051f1267973eabed99a6681654"
PKG_LICENSE="GPLv2"
PKG_SITE="https://github.com/libretro/yabause"
PKG_URL="https://github.com/libretro/yabause/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_LONGDESC="game.libretro.yabause: Yabause for Kodi"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Port of Yabause to libretro."
PKG_TOOLCHAIN="make"
PKG_LIBNAME="yabause_libretro.so"
PKG_LIBPATH="yabause/src/libretro/${PKG_LIBNAME}"
PKG_LIBVAR="YABAUSE_LIB"
PKG_MAKE_OPTS_TARGET="-C yabause/src/libretro GIT_VERSION=${PKG_VERSION:0:7}"
PKG_MAKE_OPTS_TARGET="-C yabause/src/libretro"
pre_configure_target() {
if [ "${ARCH}" = "arm" ]; then
PKG_MAKE_OPTS_TARGET+=" platform=armv"
# ARM NEON support
if target_has_feature neon; then
PKG_MAKE_OPTS_TARGET+="-neon"
fi
PKG_MAKE_OPTS_TARGET+="-${TARGET_FLOAT}float-${TARGET_CPU}"
fi
}
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGL}"
fi
pre_make_target() {
make CC=${HOST_CC} -C yabause/src/libretro generate-files
}
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" ${VULKAN}"
fi
if [ "${ARCH}" = "arm" -o "${ARCH}" = "aarch64" ]; then
PKG_MAKE_OPTS_TARGET+=" HAVE_SSE=0"
fi
makeinstall_target() {
mkdir -p ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}
cp ${PKG_LIBPATH} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME}
echo "set(${PKG_LIBVAR} ${SYSROOT_PREFIX}/usr/lib/${PKG_LIBNAME})" > ${SYSROOT_PREFIX}/usr/lib/cmake/${PKG_NAME}/${PKG_NAME}-config.cmake
}