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 | |
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')
-rw-r--r-- | media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild | 38 | ||||
-rw-r--r-- | media-plugins/kodi-game-libretro-twentyfortyeight/metadata.xml | 12 |
2 files changed, 50 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 +} diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/metadata.xml b/media-plugins/kodi-game-libretro-twentyfortyeight/metadata.xml new file mode 100644 index 000000000000..3eea08ec1e14 --- /dev/null +++ b/media-plugins/kodi-game-libretro-twentyfortyeight/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <longdescription>2048 for Kodi</longdescription> + <upstream> + <remote-id type="github">kodi-game/game.libretro.2048</remote-id> + </upstream> +</pkgmetadata> |