diff options
Diffstat (limited to 'media-plugins/kodi-game-libretro-snes9x')
-rw-r--r-- | media-plugins/kodi-game-libretro-snes9x/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.11.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/media-plugins/kodi-game-libretro-snes9x/Manifest b/media-plugins/kodi-game-libretro-snes9x/Manifest index 1c681cc16c5a..8a96a1f05798 100644 --- a/media-plugins/kodi-game-libretro-snes9x/Manifest +++ b/media-plugins/kodi-game-libretro-snes9x/Manifest @@ -1 +1,2 @@ DIST kodi-game-libretro-snes9x-1.60.0.10.tar.gz 1374802 BLAKE2B 3ce46bbda7412e7cd561ab3caf0f5d466ed23dd20ba730a6181ebf78d7d01f4f80b38d51b20061ac17e03e6e90047c977555e53ef3deb8f82b7dd409f8def750 SHA512 0b59b4d3038a0e85d2380a7de1ec7c8f70bc37679c7fe6ad1fc284ba2dabb195274c732dc7e9e6a78d4337c935de84087297424ec8afc981f08a70fba1150f31 +DIST kodi-game-libretro-snes9x-1.60.0.11.tar.gz 1374854 BLAKE2B 26d56c86e65d1aac7b90d9a1f4cdcc226c3e8d4edfd68a740846f4718f17dcc4fc114ed02ff6e737c3c6274a61c5f8f7b4b7833501365bd14a92be04e9e396bf SHA512 0d434053808f85b45ed7eb54de1dad8cb1d78b9e7c4cff25039620f622c942d10eb38c982c7ea92a160ec42f485a129a1b77692d6794628bf5ba0f778ea429a9 diff --git a/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.11.ebuild b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.11.ebuild new file mode 100644 index 000000000000..bbf8e92da4aa --- /dev/null +++ b/media-plugins/kodi-game-libretro-snes9x/kodi-game-libretro-snes9x-1.60.0.11.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils kodi-addon + +DESCRIPTION="Snes9x GameClient for Kodi" +HOMEPAGE="https://github.com/kodi-game/game.libretro.snes9x" +SRC_URI="" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.snes9x.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + CODENAME="Leia" + SRC_URI="https://github.com/kodi-game/game.libretro.snes9x/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/game.libretro.snes9x-${PV}-${CODENAME}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + =media-tv/kodi-18* + games-emulation/libretro-snes9x + " +RDEPEND=" + media-plugins/kodi-game-libretro + ${DEPEND} + " +src_prepare() { + echo 'find_library(SNES9X_LIB NAMES snes9x_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-snes9x.cmake" || die + default +} |