summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-07-24 01:35:56 -0400
committerCraig Andrews <candrews@gentoo.org>2018-08-14 20:22:45 -0400
commita659ee14c5a6f5ba6e3faeec6450c3f9346b13bf (patch)
tree557727b9cd511e939ce086f7e5f1c6a28b4c8b18 /media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild
parentgames-emulation/libretro-nestopia: Nestopia libretro port (diff)
downloadgentoo-a659ee14c5a6f5ba6e3faeec6450c3f9346b13bf.tar.gz
gentoo-a659ee14c5a6f5ba6e3faeec6450c3f9346b13bf.tar.bz2
gentoo-a659ee14c5a6f5ba6e3faeec6450c3f9346b13bf.zip
media-plugins/kodi-game-libretro-nestopia: Nestopia for Kodi
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild')
-rw-r--r--media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild37
1 files changed, 37 insertions, 0 deletions
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
new file mode 100644
index 000000000000..532ff29f02e5
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-nestopia/kodi-game-libretro-nestopia-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils 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"
+ SRC_URI="https://github.com/kodi-game/game.libretro.nestopia/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/game.libretro.nestopia-${PV}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ ~media-tv/kodi-9999
+ 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
+ default
+}