summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/kodi-game-libretro-snes9x/Manifest1
-rw-r--r--media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.16.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/media-plugins/kodi-game-libretro-snes9x/Manifest b/media-plugins/kodi-game-libretro-snes9x/Manifest
index 78a0a307174e..88e819c1a8ed 100644
--- a/media-plugins/kodi-game-libretro-snes9x/Manifest
+++ b/media-plugins/kodi-game-libretro-snes9x/Manifest
@@ -1 +1,2 @@
DIST kodi-game-libretro-snes9x-1.60.0.15.tar.gz 1374884 BLAKE2B 19014248468fb1a899dd122a465b7aac36472969a463576657f6b6246659f6e772dd3934616c26f7673da037654369fe015d0d4e939391c3c76f019c28cf64ff SHA512 bff92e9c37125203dd696ebe115c01b0ade4a97161f23b99d22e407b35fec90f0c598cdefc3d9964a55625a5a393bb6df73c6eb7041e566da6d6a80f1e23df71
+DIST kodi-game-libretro-snes9x-1.60.0.16.tar.gz 1374876 BLAKE2B 63813b7d7e178d12eb235d00e2719de715ddba7c40e7d08b364d327d3201789fae7b4ce8411c4e3cdb8558afbc5964db8bb2685d686adf53f6b1bf54db6c7c03 SHA512 e884322e3cf6dee23254e951fc6790c6be4e26c38c9f872bb680ea199fa1e0c686a8abddb48105bdd8b89cc0e0f62d310e1e0eb3cae4f9b466011b3329daec2c
diff --git a/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.16.ebuild b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.16.ebuild
new file mode 100644
index 000000000000..11af75672b0a
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.16.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Snes9x GameClient for Kodi"
+HOMEPAGE="https://github.com/kodi-game/game.libretro.snes9x"
+SRC_URI=""
+
+if [[ ${PV} == *9999 ]]; then
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.snes9x.git"
+ inherit git-r3
+ DEPEND="${DEPEND}
+ ~media-tv/kodi-9999"
+else
+ KEYWORDS="~amd64 ~x86"
+ CODENAME="Matrix"
+ SRC_URI="https://github.com/kodi-game/game.libretro.snes9x/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/game.libretro.snes9x-${PV}-${CODENAME}"
+ DEPEND="${DEPEND}
+ =media-tv/kodi-19*"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ ${DEPEND}
+ games-emulation/libretro-snes9x
+ "
+RDEPEND="
+ media-plugins/kodi-game-libretro
+ ${DEPEND}
+ "
+src_prepare() {
+ echo 'find_library(SNES9X_LIB NAMES snes9x_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-snes9x.cmake" || die
+ cmake_src_prepare
+}