summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-01-06 09:54:35 -0500
committerCraig Andrews <candrews@gentoo.org>2021-01-06 09:58:16 -0500
commit884bdc7dc057b59ebf3b662b428bdae6f6e35c6c (patch)
tree4fcc70e4c825158ea015f258489ab40048856f9a /media-plugins/kodi-game-libretro-nestopia
parentmedia-plugins/kodi-game-libretro-dosbox: Cleanup old version (diff)
downloadgentoo-884bdc7dc057b59ebf3b662b428bdae6f6e35c6c.tar.gz
gentoo-884bdc7dc057b59ebf3b662b428bdae6f6e35c6c.tar.bz2
gentoo-884bdc7dc057b59ebf3b662b428bdae6f6e35c6c.zip
media-plugins/kodi-game-libretro-nestopia: 1.50.0.12 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/kodi-game-libretro-nestopia')
-rw-r--r--media-plugins/kodi-game-libretro-nestopia/Manifest1
-rw-r--r--media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.12.ebuild44
-rw-r--r--media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild12
3 files changed, 54 insertions, 3 deletions
diff --git a/media-plugins/kodi-game-libretro-nestopia/Manifest b/media-plugins/kodi-game-libretro-nestopia/Manifest
index 87cd8674f8c1..b261cc5d3ab7 100644
--- a/media-plugins/kodi-game-libretro-nestopia/Manifest
+++ b/media-plugins/kodi-game-libretro-nestopia/Manifest
@@ -1 +1,2 @@
DIST kodi-game-libretro-nestopia-1.50.0.11.tar.gz 793923 BLAKE2B df194ea50610ebe799cb29fa1c9bc3526d96b11a88def22576eb14fd589089f4a0dc4b13c39bb2d10d9ef4164d1c573c978ab3574f5a8342d07bdb776c33b93a SHA512 97adf49af64f256b33b915eb8d3ce05abc7092335a606090344e2194e6a640e489d306ce0dcacc71ee75ddd80b9191036f8aaa634ece4b6b4d0971c663f23368
+DIST kodi-game-libretro-nestopia-1.50.0.12.tar.gz 793989 BLAKE2B 7206ed81885af75bb4a7c7b1b46f7be346708b982027928d9ef10b8e00841df9cd6fe173d1c6508cfd4184df17b63c8a02a23ad2968540d0fef3d291e22ff38e SHA512 65290fd67c22fe3e195fb82ee17ac6d5d78242472b750e5e9283cd497b4764c92bf3877f0860416523d69d4413a78cca1cd1e89ffb50598ec2411ca8620408dd
diff --git a/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.12.ebuild b/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.12.ebuild
new file mode 100644
index 000000000000..8b618564c444
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.12.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake kodi-addon
+
+DESCRIPTION="Nestopia GameClient for Kodi"
+HOMEPAGE="https://github.com/kodi-game/game.libretro.nestopia"
+SRC_URI=""
+
+if [[ ${PV} == *9999 ]]; then
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.nestopia.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.nestopia/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/game.libretro.nestopia-${PV}-${CODENAME}"
+ DEPEND="
+ ${DEPEND}
+ =media-tv/kodi-19*"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ ${DEPEND}
+ games-emulation/libretro-nestopia
+ "
+RDEPEND="
+ media-plugins/kodi-game-libretro
+ ${DEPEND}
+ "
+src_prepare() {
+ echo 'find_library(NESTOPIA_LIB NAMES nestopia_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-nestopia.cmake" || die
+ cmake_src_prepare
+}
diff --git a/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild b/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild
index f4ad1ce4d7b1..8b618564c444 100644
--- a/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild
+++ b/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-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,17 @@ if [[ ${PV} == *9999 ]]; then
SRC_URI=""
EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.nestopia.git"
inherit git-r3
+ DEPEND="
+ ${DEPEND}
+ ~media-tv/kodi-9999"
else
KEYWORDS="~amd64 ~x86"
- CODENAME="Leia"
+ CODENAME="Matrix"
SRC_URI="https://github.com/kodi-game/game.libretro.nestopia/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/game.libretro.nestopia-${PV}-${CODENAME}"
+ DEPEND="
+ ${DEPEND}
+ =media-tv/kodi-19*"
fi
LICENSE="GPL-2"
@@ -25,7 +31,7 @@ SLOT="0"
IUSE=""
DEPEND="
- ~media-tv/kodi-9999
+ ${DEPEND}
games-emulation/libretro-nestopia
"
RDEPEND="