diff options
Diffstat (limited to 'media-plugins')
3 files changed, 43 insertions, 3 deletions
diff --git a/media-plugins/kodi-game-libretro-fceumm/Manifest b/media-plugins/kodi-game-libretro-fceumm/Manifest new file mode 100644 index 000000000000..97c9a6c0ce1a --- /dev/null +++ b/media-plugins/kodi-game-libretro-fceumm/Manifest @@ -0,0 +1 @@ +DIST kodi-game-libretro-fceumm-0.0.1.9.tar.gz 778156 BLAKE2B a7a03d2df6cc4fbf89aa0a8b4320deb7ced5d452c045d3583fdd17dcdc2dbcf59a99ea323bc0b15355889522e2f3bf572d4b0c260dc381c2630bf58c8c7cd2ec SHA512 772b69afff01e26d04fcc33d06e35da0329a1315f0e3ef01b51cc8459d145af782b6dd72b5b460de8dd7a59e308bf4922b2d77b62be1c5561b9debf3bbe36b60 diff --git a/media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-0.0.1.9.ebuild b/media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-0.0.1.9.ebuild new file mode 100644 index 000000000000..2f5bc82a51b3 --- /dev/null +++ b/media-plugins/kodi-game-libretro-fceumm/kodi-game-libretro-fceumm-0.0.1.9.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# 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" + CODENAME="Leia" + SRC_URI="https://github.com/kodi-game/game.libretro.fceumm/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/game.libretro.fceumm-${PV}-${CODENAME}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + =media-tv/kodi-18* + 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 +} 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 index 803fb82b6ead..e80efcb5cc4f 100644 --- 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 @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,8 +15,9 @@ if [[ ${PV} == *9999 ]]; then 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}" + CODENAME="Leia" + SRC_URI="https://github.com/kodi-game/game.libretro.fceumm/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/game.libretro.fceumm-${PV}-${CODENAME}" fi LICENSE="GPL-2" |