diff --git a/packages/audio/openal-soft/package.mk b/packages/audio/openal-soft/package.mk new file mode 100644 index 0000000000..61724daa3f --- /dev/null +++ b/packages/audio/openal-soft/package.mk @@ -0,0 +1,34 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="openal-soft" +PKG_VERSION="1.18.2" +PKG_SHA256="9f8ac1e27fba15a59758a13f0c7f6540a0605b6c3a691def9d420570506d7e82" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.openal.org/" +PKG_URL="http://kcat.strangesoft.net/openal-releases/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS_TARGET="toolchain alsa-lib" +PKG_LONGDESC="OpenAL the Open Audio Library" + +PKG_CMAKE_OPTS_TARGET="-DALSOFT_BACKEND_OSS=off \ + -DALSOFT_BACKEND_WAVE=off \ + -DALSOFT_BACKEND_PULSEAUDIO=off \ + -DALSOFT_EXAMPLES=off \ + -DALSOFT_TESTS=off \ + -DALSOFT_UTILS=off" diff --git a/packages/emulation/libretro-bsnes-mercury-performance/package.mk b/packages/emulation/libretro-bsnes-mercury-performance/package.mk index 310e95f6c3..7dc9518af5 100644 --- a/packages/emulation/libretro-bsnes-mercury-performance/package.mk +++ b/packages/emulation/libretro-bsnes-mercury-performance/package.mk @@ -19,8 +19,7 @@ PKG_NAME="libretro-bsnes-mercury-performance" PKG_VERSION="b626037" PKG_SHA256="a07a5e4a5f7f39743c88ac841603832629dd12ce37b9ea361a45958b667d5699" -# currently broken -PKG_ARCH="none" +PKG_ARCH="any" PKG_LICENSE="GPLv2" PKG_SITE="https://github.com/libretro/bsnes-mercury" PKG_URL="https://github.com/libretro/bsnes-mercury/archive/$PKG_VERSION.tar.gz" diff --git a/packages/emulation/libretro-fsuae/package.mk b/packages/emulation/libretro-fsuae/package.mk new file mode 100644 index 0000000000..d46ee4d713 --- /dev/null +++ b/packages/emulation/libretro-fsuae/package.mk @@ -0,0 +1,55 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-fsuae" +PKG_VERSION="7990f7a" +PKG_SHA256="ad8a499e86ad782a0ecbdc4452c7fb70e1fabff42a2e5fbb081ec1b1f314a897" +PKG_ARCH="x86_64" +PKG_LICENSE="GPLv3" +PKG_SITE="https://github.com/libretro/libretro-fsuae" +PKG_URL="https://github.com/libretro/libretro-fsuae/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain libmpeg2 openal-soft" +PKG_SECTION="emulation" +PKG_LONGDESC="FS-UAE amiga emulator." +PKG_BUILD_FLAGS="-lto" +PKG_TOOLCHAIN="autotools" + +PKG_LIBNAME="fsuae_libretro.so" +PKG_LIBPATH="$PKG_LIBNAME" +PKG_LIBVAR="FSUAE_LIB" + +if [ "$TARGET_ARCH" = "arm" ] && target_has_feature neon; then + PKG_CONFIGURE_OPTS_TARGET="--disable-jit --enable-neon" +fi + +pre_configure_target() { + cd $PKG_BUILD + rm -rf .$TARGET_NAME + export ac_cv_func_realloc_0_nonnull=yes +} + +make_target() { + make -j1 CC="$CC" gen + make CC="$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 +} diff --git a/packages/emulation/libretro-mame/package.mk b/packages/emulation/libretro-mame/package.mk index a4b9c3b4d8..d0f18d6494 100644 --- a/packages/emulation/libretro-mame/package.mk +++ b/packages/emulation/libretro-mame/package.mk @@ -19,23 +19,35 @@ PKG_NAME="libretro-mame" PKG_VERSION="3f5b1456" PKG_SHA256="6814be8a249bef7bd847ba51ef5f10c94ca3b8d996b772d5ef4ee7304bd31b3f" -PKG_ARCH="x86_64" +PKG_ARCH="x86_64 arm" PKG_LICENSE="GPLv2" PKG_SITE="https://github.com/libretro/mame" PKG_URL="https://github.com/libretro/mame/archive/$PKG_VERSION.tar.gz" PKG_SOURCE_DIR="mame-$PKG_VERSION*" PKG_DEPENDS_TARGET="toolchain kodi-platform" PKG_SECTION="emulation" -PKG_SHORTDESC="game.libretro.mame: MAME for Kodi" PKG_LONGDESC="game.libretro.mame: MAME for Kodi" -PKG_BUILD_FLAGS="-gold" +PKG_BUILD_FLAGS="-gold -lto" +PKG_TOOLCHAIN="make" -PKG_LIBNAME="mame_libretro.so" +PKG_LIBNAME="mamearcade_libretro.so" PKG_LIBPATH="$PKG_LIBNAME" PKG_LIBVAR="MAME_LIB" make_target() { - make -f Makefile.libretro + PTR64="0" + NOASM="0" + + if [ "$ARCH" == "arm" ]; then + NOASM="1" + elif [ "$ARCH" == "x86_64" ]; then + PTR64="1" + fi + + make REGENIE=1 VERBOSE=1 NOWERROR=1 PYTHON_EXECUTABLE=python2 CONFIG=libretro \ + LIBRETRO_OS="unix" ARCH="" PROJECT="" LIBRETRO_CPU="$ARCH" DISTRO="debian-stable" \ + CC="$CC" CXX="$CXX" LD="$LD" CROSS_BUILD="" PTR64="$PTR64" TARGET="mame" \ + SUBTARGET="arcade" PLATFORM="$ARCH" RETRO=1 OSD="retro" } makeinstall_target() { diff --git a/packages/emulation/libretro-melonds/package.mk b/packages/emulation/libretro-melonds/package.mk new file mode 100644 index 0000000000..ae9e01fe27 --- /dev/null +++ b/packages/emulation/libretro-melonds/package.mk @@ -0,0 +1,44 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-melonds" +PKG_VERSION="ee2f3e3" +PKG_SHA256="008aab83d55dbb0aed05020d6f39b7fd91eccc2e12e65f674c67110fc48b5d88" +PKG_ARCH="any" +PKG_LICENSE="GPLv3" +PKG_SITE="https://github.com/libretro/melonds" +PKG_URL="https://github.com/libretro/melonds/archive/$PKG_VERSION.tar.gz" +PKG_SOURCE_DIR="melonDS-$PKG_VERSION*" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_SECTION="emulation" +PKG_LONGDESC="libretro wrapper for melonDS DS emulator." +PKG_TOOLCHAIN="make" + +PKG_LIBNAME="melonds_libretro.so" +PKG_LIBPATH="$PKG_LIBNAME" +PKG_LIBVAR="MELONDS_LIB" + +configure_target() { + cd $PKG_BUILD +} + +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 +} diff --git a/packages/emulation/libretro-pokemini/package.mk b/packages/emulation/libretro-pokemini/package.mk new file mode 100644 index 0000000000..30ab5731da --- /dev/null +++ b/packages/emulation/libretro-pokemini/package.mk @@ -0,0 +1,44 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-pokemini" +PKG_VERSION="36a3f63" +PKG_SHA256="487508fed406893d19332521d6f3791e726b5b9cdf99e93f4796b45d6aa4f872" +PKG_ARCH="any" +PKG_LICENSE="GPLv3" +PKG_SITE="https://github.com/libretro/pokemini" +PKG_URL="https://github.com/libretro/pokemini/archive/$PKG_VERSION.tar.gz" +PKG_SOURCE_DIR="PokeMini-$PKG_VERSION*" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_SECTION="emulation" +PKG_LONGDESC="libretro wrapper for PokeMini emulator." +PKG_TOOLCHAIN="make" + +PKG_LIBNAME="pokemini_libretro.so" +PKG_LIBPATH="$PKG_LIBNAME" +PKG_LIBVAR="POKEMINI_LIB" + +configure_target() { + cd $PKG_BUILD +} + +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 +} diff --git a/packages/emulation/libretro-sameboy/package.mk b/packages/emulation/libretro-sameboy/package.mk new file mode 100644 index 0000000000..46d3878aad --- /dev/null +++ b/packages/emulation/libretro-sameboy/package.mk @@ -0,0 +1,43 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-sameboy" +PKG_VERSION="1829313" #buildbot branch +PKG_SHA256="fb30679f5fe056bc87ce49e0d493bc4ffec66d4c143893ac0734c9bf47aca7e1" +PKG_ARCH="any" +PKG_LICENSE="MIT" +PKG_SITE="https://github.com/libretro/sameboy" +PKG_URL="https://github.com/libretro/sameboy/archive/$PKG_VERSION.tar.gz" +PKG_SOURCE_DIR="SameBoy-$PKG_VERSION*" +PKG_DEPENDS_TARGET="toolchain kodi-platform" +PKG_SECTION="emulation" +PKG_LONGDESC="libretro wrapper for SameBoy emulator." + +PKG_LIBNAME="sameboy_libretro.so" +PKG_LIBPATH="libretro/$PKG_LIBNAME" +PKG_LIBVAR="SAMEBOY_LIB" + +make_target() { + make -C libretro +} + +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 +} diff --git a/packages/emulation/libretro-uae/package.mk b/packages/emulation/libretro-uae/package.mk new file mode 100644 index 0000000000..bbd8d5ca31 --- /dev/null +++ b/packages/emulation/libretro-uae/package.mk @@ -0,0 +1,45 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-uae" +PKG_VERSION="555bfce" +PKG_SHA256="a28bb68a8bfec18e7d7122f9d8b28b0edad7e60cad4dfd98e4c4fd059b017f85" +PKG_ARCH="any" +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_SECTION="emulation" +PKG_LONGDESC="libretro wrapper for UAE emulator." +PKG_BUILD_FLAGS="-lto" + +PKG_LIBNAME="puae_libretro.so" +PKG_LIBPATH="$PKG_LIBNAME" +PKG_LIBVAR="UAE_LIB" + +pre_configure_target() { + if [ "$TARGET_ARCH" = "arm" ]; then + CFLAGS="$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 +} diff --git a/packages/emulation/libretro-uae4arm/package.mk b/packages/emulation/libretro-uae4arm/package.mk new file mode 100644 index 0000000000..bde56b8c0b --- /dev/null +++ b/packages/emulation/libretro-uae4arm/package.mk @@ -0,0 +1,49 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-uae4arm" +PKG_VERSION="0e9dd6e" +PKG_SHA256="ccc989c75c11cbc1be96b917cadc3551b5fb8710f2a203f2ce86c46196229a4a" +PKG_ARCH="arm" +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_SOURCE_DIR="uae4arm-libretro-${PKG_VERSION}*" +PKG_DEPENDS_TARGET="toolchain" +PKG_SECTION="emulation" +PKG_LONGDESC="UAE4ARM amiga emulator." + +PKG_LIBNAME="uae4arm_libretro.so" +PKG_LIBPATH="$PKG_LIBNAME" +PKG_LIBVAR="UAE4ARM_LIB" + +pre_configure_target() { + if target_has_feature neon; then + CFLAGS="$CFLAGS -D__NEON_OPT" + fi +} + +make_target() { + make HAVE_NEON=1 USE_PICASSO96=1 +} + +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 +} diff --git a/packages/emulation/libretro-vice/package.mk b/packages/emulation/libretro-vice/package.mk new file mode 100644 index 0000000000..7d3860f632 --- /dev/null +++ b/packages/emulation/libretro-vice/package.mk @@ -0,0 +1,47 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-vice" +PKG_VERSION="bd62332" +PKG_SHA256="8ae4ac2af1729b70a54669e4f7beaed942408061fa68a7974ba6b131b1ee15b7" +PKG_ARCH="any" +PKG_LICENSE="GPLv2" +PKG_SITE="https://github.com/libretro/vice-libretro" +PKG_URL="https://github.com/libretro/vice-libretro/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain" +PKG_SECTION="emulation" +PKG_LONGDESC="VICE C64 libretro" +PKG_SOURCE_DIR="vice-libretro-*" + +PKG_LIBNAME="vice_x64_libretro.so" +PKG_LIBPATH="$PKG_LIBNAME" +PKG_LIBVAR="VICE_LIB" + +pre_build_target() { + export GIT_VERSION=$PKG_VERSION +} + +make_target() { + make -f Makefile.libretro CC=$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 +} diff --git a/packages/emulation/libretro-vram-test/package.mk b/packages/emulation/libretro-vram-test/package.mk new file mode 100644 index 0000000000..9367135f0e --- /dev/null +++ b/packages/emulation/libretro-vram-test/package.mk @@ -0,0 +1,45 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libretro-vram-test" +PKG_VERSION="6b90ce9" +PKG_SHA256="2bd1b3af783a028355eb4b4c416f09802313a9a69759e716377b55012f7bb4ae" +PKG_ARCH="any" +PKG_LICENSE="MIT" +PKG_SITE="https://github.com/libretro/libretro-samples" +PKG_URL="https://github.com/libretro/libretro-samples/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain" +PKG_SECTION="emulation" +PKG_LONGDESC="VRAM Test from libretro" +PKG_SOURCE_DIR="libretro-samples-*" +PKG_TOOLCHAIN="manual" + +PKG_LIBNAME="testsw_vram_libretro.so" +PKG_LIBPATH="$PKG_BUILD/video/software/rendering_direct_to_vram/$PKG_LIBNAME" +PKG_LIBVAR="VRAM-TEST_LIB" + +make_target() { + cd $PKG_BUILD/video/software/rendering_direct_to_vram + 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 +} diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.bsnes-mercury-performance/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.bsnes-mercury-performance/package.mk index 8f28625b7f..a7366089fe 100644 --- a/packages/mediacenter/kodi-binary-addons/game.libretro.bsnes-mercury-performance/package.mk +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.bsnes-mercury-performance/package.mk @@ -20,8 +20,7 @@ PKG_NAME="game.libretro.bsnes-mercury-performance" PKG_VERSION="5b19c24" PKG_SHA256="aa569a6f32631f9c7f2fd09c2fe9bde0ddb81e47e9557c6f62b9621eda99f28b" PKG_REV="106" -# currently broken -PKG_ARCH="none" +PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="https://github.com/kodi-game/game.libretro.bsnes-mercury-performance" PKG_URL="https://github.com/kodi-game/game.libretro.bsnes-mercury-performance/archive/$PKG_VERSION.tar.gz" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.fsuae/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.fsuae/package.mk new file mode 100644 index 0000000000..bee9152e0b --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.fsuae/package.mk @@ -0,0 +1,31 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.fsuae" +PKG_VERSION="aaae96a" +PKG_SHA256="f2dd360ab5504f38ab3e75985fcf1bf9c7eeaf30dc37c7fb0eefd93850dd09e8" +PKG_REV="100" +PKG_ARCH="x86_64" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.fsuae" +PKG_URL="https://github.com/kodi-game/game.libretro.fsuae/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-fsuae" +PKG_LONGDESC="game.libretro.fsuae: fsuae emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.mame/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.mame/package.mk index dc662a6580..54cc813f99 100644 --- a/packages/mediacenter/kodi-binary-addons/game.libretro.mame/package.mk +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.mame/package.mk @@ -20,8 +20,7 @@ PKG_NAME="game.libretro.mame" PKG_VERSION="c6f51cb" PKG_SHA256="516cafcd8c3d07bc5482f42d1da57fa8aa26dc94c795594a52f79d6fe2b9d9c1" PKG_REV="105" -# broken -PKG_ARCH="none" +PKG_ARCH="x86_64" PKG_LICENSE="GPL" PKG_SITE="https://github.com/kodi-game/game.libretro.mame" PKG_URL="https://github.com/kodi-game/game.libretro.mame/archive/$PKG_VERSION.tar.gz" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.melonds/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.melonds/package.mk new file mode 100644 index 0000000000..bc7d4b3bb3 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.melonds/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.melonds" +PKG_VERSION="8263fa7" +PKG_SHA256="15df7d44cc990cbea20e9003338f8621f2961e8c5033acda6346495e5361c299" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.melonds" +PKG_URL="https://github.com/kodi-game/game.libretro.melonds/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-melonds" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.melonds: melonDS emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.pokemini/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.pokemini/package.mk new file mode 100644 index 0000000000..9fc853a280 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.pokemini/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.pokemini" +PKG_VERSION="84a1066" +PKG_SHA256="f8ba6e469fde8f354181e7802d89fbe99aad377315cf116760dda4a0a335ed32" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.pokemini" +PKG_URL="https://github.com/kodi-game/game.libretro.pokemini/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-pokemini" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.pokemini: PokeMini emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.sameboy/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.sameboy/package.mk new file mode 100644 index 0000000000..a65c6a7821 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.sameboy/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.sameboy" +PKG_VERSION="f99abee" +PKG_SHA256="e13a479551c1a5550842d57a0bebd53cc02ad6f1bff061fc8a980615e1deac91" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.sameboy" +PKG_URL="https://github.com/kodi-game/game.libretro.sameboy/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-sameboy" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.sameboy: SameBoy emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.uae/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.uae/package.mk new file mode 100644 index 0000000000..31111d28aa --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.uae/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.uae" +PKG_VERSION="b0f7c0d" +PKG_SHA256="87d4074ccc5e8ba35aa8adaeafcf40bfce94c2d3e61ee768a25c8a0f38f7aeb4" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.uae" +PKG_URL="https://github.com/kodi-game/game.libretro.uae/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-uae" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.uae: uae emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.uae4arm/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.uae4arm/package.mk new file mode 100644 index 0000000000..120e910716 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.uae4arm/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.uae4arm" +PKG_VERSION="ae25a26" +PKG_SHA256="5c6b1cc5a5200a47d090e8dee884ee24726c191887d412c738a1a165139dc297" +PKG_REV="100" +PKG_ARCH="arm" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.uae4arm" +PKG_URL="https://github.com/kodi-game/game.libretro.uae4arm/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-uae4arm" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.uae4arm: uae4arm emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.vice/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.vice/package.mk new file mode 100644 index 0000000000..b05fbaea03 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.vice/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.vice" +PKG_VERSION="ae89cda" +PKG_SHA256="57fa261c6552b7ebc96e54ff50c14ce89a2fd1137a2780f87205e27a82a745a8" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.vice" +PKG_URL="https://github.com/kodi-game/game.libretro.vice/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-vice" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.vice: vice emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/mediacenter/kodi-binary-addons/game.libretro.vram-test/package.mk b/packages/mediacenter/kodi-binary-addons/game.libretro.vram-test/package.mk new file mode 100644 index 0000000000..3f627baa35 --- /dev/null +++ b/packages/mediacenter/kodi-binary-addons/game.libretro.vram-test/package.mk @@ -0,0 +1,32 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="game.libretro.vram-test" +PKG_VERSION="0c29c7b" +PKG_SHA256="ece792fb35a7bf1cbf9c07c335149a5f05d92181289612b121fd529204e16278" +PKG_REV="100" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/kodi-game/game.libretro.vram-test" +PKG_URL="https://github.com/kodi-game/game.libretro.vram-test/archive/$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain kodi-platform libretro-vram-test" +PKG_SECTION="" +PKG_LONGDESC="game.libretro.vram-test: vram-test emulator for Kodi" + +PKG_IS_ADDON="yes" +PKG_ADDON_TYPE="kodi.gameclient" diff --git a/packages/multimedia/libmpeg2/package.mk b/packages/multimedia/libmpeg2/package.mk new file mode 100644 index 0000000000..f868488863 --- /dev/null +++ b/packages/multimedia/libmpeg2/package.mk @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2018-present Team LibreELEC +# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="libmpeg2" +PKG_VERSION="0.5.1" +PKG_SHA256="dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4" +PKG_ARCH="any" +PKG_LICENSE="GPLv2" +PKG_SITE="http://libmpeg2.sourceforge.net/" +PKG_URL="http://libmpeg2.sourceforge.net/files/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS_TARGET="toolchain" +PKG_LONGDESC="The MPEG Library is a collection of C routines to decode MPEG-1 and MPEG-2 movies." + +PKG_CONFIGURE_OPTS_TARGET="--disable-sdl \ + --without-x" + +post_makeinstall_target() { + rm -rf $INSTALL/usr/bin +}