media-plugins/kodi-game-libretro-nestopia: 1.50.0.9 version bump
authorCraig Andrews <candrews@gentoo.org>
Mon, 30 Mar 2020 01:18:35 +0000 (21:18 -0400)
committerCraig Andrews <candrews@gentoo.org>
Mon, 30 Mar 2020 01:21:43 +0000 (21:21 -0400)
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-game-libretro-nestopia/Manifest
media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.9.ebuild [new file with mode: 0644]

index 27a2a9e944645ef712b2fc2302639fa5f1ba1879..04002d16f36af670e7919c96cea375edf2aeed2a 100644 (file)
@@ -1 +1,2 @@
 DIST kodi-game-libretro-nestopia-1.50.0.8.tar.gz 793551 BLAKE2B d616ec3b69c0e996136e2977860c08537dee8a9ba5682ade887de59ead6d02e6ec7426025f562e2b67700cf525149f3bafa427dd365ad87020377c52b080d5f9 SHA512 97e6cc6253c52bc4d5697210004dcaea775f2537db81cfa2131be149b53cd2e0204f3618d15e2f5bce3b334a75525cc220a8b05f61a4aa3a0979608ec8f0a8d2
+DIST kodi-game-libretro-nestopia-1.50.0.9.tar.gz 793618 BLAKE2B 367dde5b556dca45b86b94ae4592d2a07d63b5b136ec77e32d51cbc9ec7cc6e6ba48b409d66984e54988e79bdf8034cde871cd4898b1c3673830a06692fadeff SHA512 1bac70812ecf58f74adcebbe9bb0520eee5eb070b307b79d9c0b7c2d5393b7191eea89b8a8b490c4626701993164b142864c999abb34f525d7e73a673c60b5a4
diff --git a/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.9.ebuild b/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-1.50.0.9.ebuild
new file mode 100644 (file)
index 0000000..8bacdf0
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 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
+else
+       KEYWORDS="~amd64 ~x86"
+       CODENAME="Leia"
+       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}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       =media-tv/kodi-18*
+       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
+}