summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-01-06 09:57:38 -0500
committerCraig Andrews <candrews@gentoo.org>2021-01-06 09:58:17 -0500
commite4613c6ecf7aba2816082bc29ff657fbb1203692 (patch)
tree57a77ef57c5b77ce91fa904e8e557961f81b418f /media-plugins
parentmedia-plugins/kodi-game-libretro-nestopia: Cleanup old version (diff)
downloadgentoo-e4613c6ecf7aba2816082bc29ff657fbb1203692.tar.gz
gentoo-e4613c6ecf7aba2816082bc29ff657fbb1203692.tar.bz2
gentoo-e4613c6ecf7aba2816082bc29ff657fbb1203692.zip
media-plugins/kodi-game-libretro-snes9x: 1.60.0.15 version bump
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Craig Andrews <candrews@gentoo.org>
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.15.ebuild42
-rw-r--r--media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-9999.ebuild8
3 files changed, 49 insertions, 2 deletions
diff --git a/media-plugins/kodi-game-libretro-snes9x/Manifest b/media-plugins/kodi-game-libretro-snes9x/Manifest
index 38f3292cec81..f4a1485dee9c 100644
--- a/media-plugins/kodi-game-libretro-snes9x/Manifest
+++ b/media-plugins/kodi-game-libretro-snes9x/Manifest
@@ -1,2 +1,3 @@
DIST kodi-game-libretro-snes9x-1.60.0.13.tar.gz 1374918 BLAKE2B 33612498a9e41818a981f5c7a6f13318d727d9bbeed22dd95059db08a4cd37a3b11e56ac14fd664b31e6409721b02cabaaaa081cf08ed31cb35c58445279ca61 SHA512 91af9e0e52e9ab44329dca07e9cea1ac5ae9e3fd6f7b25e00a37bba5e50d14a9c67798fdca24c7fcbca052a878d01a381b511853e950bbaba232f6bccc7d0f7f
DIST kodi-game-libretro-snes9x-1.60.0.14.tar.gz 1374878 BLAKE2B d33b3781d259a1c007808cb9c724c38e5dfeb41f61cab3f1a1fc118b2ad2e0ec5ab16ad7c5c2c29ff1dc6655da9431713db724911106d438d01376fb8a840056 SHA512 dd0e9ef1e944f9621a7adc792e0ac5d64e9f03489aadd9de21d0565ba4bd41c82230bce28797898e1708fdf3c623c994e4229037bb892a65e3b0954b07b9d2ca
+DIST kodi-game-libretro-snes9x-1.60.0.15.tar.gz 1374884 BLAKE2B 19014248468fb1a899dd122a465b7aac36472969a463576657f6b6246659f6e772dd3934616c26f7673da037654369fe015d0d4e939391c3c76f019c28cf64ff SHA512 bff92e9c37125203dd696ebe115c01b0ade4a97161f23b99d22e407b35fec90f0c598cdefc3d9964a55625a5a393bb6df73c6eb7041e566da6d6a80f1e23df71
diff --git a/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.15.ebuild b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.15.ebuild
new file mode 100644
index 000000000000..11af75672b0a
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.15.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
+}
diff --git a/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-9999.ebuild b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-9999.ebuild
index 1b63e3b85540..11af75672b0a 100644
--- a/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-9999.ebuild
+++ b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,11 +13,15 @@ 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"
@@ -25,7 +29,7 @@ SLOT="0"
IUSE=""
DEPEND="
- ~media-tv/kodi-9999
+ ${DEPEND}
games-emulation/libretro-snes9x
"
RDEPEND="