summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-07-24 01:27:19 -0400
committerCraig Andrews <candrews@gentoo.org>2018-08-14 20:22:44 -0400
commitb38be659d301b55fc7a6a7fe268ea75e09c05e43 (patch)
treef5f9fb647199997d07bf18c5a030e8d6ab4619b2 /media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-9999.ebuild
parentmedia-plugins/kodi-game-libretro-bnes: bNES GameClient for Kodi (diff)
downloadgentoo-b38be659d301b55fc7a6a7fe268ea75e09c05e43.tar.gz
gentoo-b38be659d301b55fc7a6a7fe268ea75e09c05e43.tar.bz2
gentoo-b38be659d301b55fc7a6a7fe268ea75e09c05e43.zip
media-plugins/kodi-game-libretro-fceumm: FCEU-Next for Kodi
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-9999.ebuild')
-rw-r--r--media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-9999.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-9999.ebuild b/media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-9999.ebuild
new file mode 100644
index 00000000000..803fb82b6ea
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-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="FCEU-Next GameClient for Kodi"
+HOMEPAGE="https://github.com/kodi-game/game.libretro.fceumm"
+SRC_URI=""
+
+if [[ ${PV} == *9999 ]]; then
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.fceumm.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://github.com/kodi-game/game.libretro.fceumm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/game.libretro.fceumm-${PV}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ ~media-tv/kodi-9999
+ games-emulation/libretro-fceumm
+ "
+RDEPEND="
+ media-plugins/kodi-game-libretro
+ ${DEPEND}
+ "
+src_prepare() {
+ echo 'find_library(FCEUMM_LIB NAMES fceumm_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-fceumm.cmake" || die
+ default
+}