summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-05-02 16:55:11 -0400
committerCraig Andrews <candrews@gentoo.org>2021-05-02 16:56:10 -0400
commitcdbe9ad67d22e7803da71056c69934f801370562 (patch)
tree7732268c13c71bdcefcbdc1e819fd0423fe26907
parentmedia-plugins/kodi-game-libretro-nestopia: Cleanup old version (diff)
downloadgentoo-cdbe9ad67d22e7803da71056c69934f801370562.tar.gz
gentoo-cdbe9ad67d22e7803da71056c69934f801370562.tar.bz2
gentoo-cdbe9ad67d22e7803da71056c69934f801370562.zip
media-plugins/kodi-game-libretro-snes9x: 1.60.0.17 version bump
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-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.17.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 c57c693a97a..e6ffedb942e 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.16.tar.gz 1374876 BLAKE2B 63813b7d7e178d12eb235d00e2719de715ddba7c40e7d08b364d327d3201789fae7b4ce8411c4e3cdb8558afbc5964db8bb2685d686adf53f6b1bf54db6c7c03 SHA512 e884322e3cf6dee23254e951fc6790c6be4e26c38c9f872bb680ea199fa1e0c686a8abddb48105bdd8b89cc0e0f62d310e1e0eb3cae4f9b466011b3329daec2c
+DIST kodi-game-libretro-snes9x-1.60.0.17.tar.gz 1374877 BLAKE2B c0b20b73cf31053227770c58ddc700a435b75af84cbdfae837ea1a2ee14aaec42abba201438e64dc36654dd9b32d8923287a5067fae5f30adaf4796b2f83aba2 SHA512 afee625f729d790c3ba0ad8baa8f7b46e0573a6d7ac9ac14311b181d4eb020457ff51a391618c48e9ae7354493858f13729bf8219e6527acdc7f3ac1da57303c
diff --git a/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.17.ebuild b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.17.ebuild
new file mode 100644
index 00000000000..11af75672b0
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.17.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
+}