diff options
author | Craig Andrews <candrews@gentoo.org> | 2018-07-24 01:28:46 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2018-08-14 20:22:45 -0400 |
commit | 55f8a221cf024bb54e0387d1be313d3a7c89c884 (patch) | |
tree | 0d4b07e2a365a7cf0ff72fe5f1a1e7499f4f0f78 /media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild | |
parent | media-plugins/kodi-game-libretro-snes9x: Snes9x GameClient for Kodi (diff) | |
download | gentoo-55f8a221cf024bb54e0387d1be313d3a7c89c884.tar.gz gentoo-55f8a221cf024bb54e0387d1be313d3a7c89c884.tar.bz2 gentoo-55f8a221cf024bb54e0387d1be313d3a7c89c884.zip |
media-plugins/kodi-game-libretro-twentyfortyeight: 2048 for Kodi
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild')
-rw-r--r-- | media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild b/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild new file mode 100644 index 000000000000..7a9f482f6a1b --- /dev/null +++ b/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils kodi-addon + +DESCRIPTION="2048 for Kodi" +HOMEPAGE="https://github.com/kodi-game/game.libretro.2048" +SRC_URI="" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.2048.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/kodi-game/game.libretro.2048/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/game.libretro.2048-${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + ~media-tv/kodi-9999 + games-emulation/libretro-twentyfortyeight + " +RDEPEND=" + media-plugins/kodi-game-libretro + ${DEPEND} + " + +src_prepare() { + echo 'find_library(2048_LIB NAMES 2048_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-2048.cmake" || die + default +} |