summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/kodi-game-libretro-twentyfortyeight')
-rw-r--r--media-plugins/kodi-game-libretro-twentyfortyeight/Manifest1
-rw-r--r--media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.113.ebuild39
-rw-r--r--media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild2
3 files changed, 41 insertions, 1 deletions
diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest b/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest
index 953416167897..31732b323503 100644
--- a/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest
+++ b/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest
@@ -1 +1,2 @@
DIST kodi-game-libretro-twentyfortyeight-1.0.0.111.tar.gz 94690 BLAKE2B 54a48051a2b49161ab8fd75872935af2d313856b1e465d37270819aaaaa7548a01c4078020911e5630ecabc348475842c5d8f813cdb6e94d4868fbcc686fb423 SHA512 3f539c4e238ed9f8872fc443f15fd4ecf6234a6c5e3f9dd701b53fec0804a98f87d27a40023fd861afca3cafd4d17fa5b187e24b921fd87d37a23205a6c798e8
+DIST kodi-game-libretro-twentyfortyeight-1.0.0.113.tar.gz 94713 BLAKE2B d161fd0b5314b21bdddb97cd4a4bcdf6066ad6b0280d75ca5c810435867d0edc1b7d58e77021744bc9d39628025d151f628ef07f3e9e5a6be8cc1b039dd0ae2c SHA512 19e667bb4a658a8319c626113f8ff839d5c84afd23a1dd013adce51a29cc9761cd2a93f30f4a8cf3a82a84685269c8e5354982b3022d464057a6f6059eb301d3
diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.113.ebuild b/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.113.ebuild
new file mode 100644
index 000000000000..40a5d4cac208
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.113.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake 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"
+ CODENAME="Matrix"
+ SRC_URI="https://github.com/kodi-game/game.libretro.2048/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/game.libretro.2048-${PV}-${CODENAME}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ =media-tv/kodi-19*
+ 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
+ cmake_src_prepare
+}
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
index 54c4ca455484..c87648aaa370 100644
--- 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
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
- CODENAME="Leia"
+ CODENAME="Matrix"
SRC_URI="https://github.com/kodi-game/game.libretro.2048/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/game.libretro.2048-${PV}-${CODENAME}"
fi