media-plugins/kodi-game-libretro-twentyfortyeight: 1.0.0.106 version bump
authorCraig Andrews <candrews@gentoo.org>
Tue, 2 Jul 2019 21:14:46 +0000 (17:14 -0400)
committerCraig Andrews <candrews@gentoo.org>
Tue, 2 Jul 2019 21:16:30 +0000 (17:16 -0400)
Bug: https://bugs.gentoo.org/688474
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-game-libretro-twentyfortyeight/Manifest [new file with mode: 0644]
media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.106.ebuild [new file with mode: 0644]
media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild

diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest b/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest
new file mode 100644 (file)
index 0000000..94a2651
--- /dev/null
@@ -0,0 +1 @@
+DIST kodi-game-libretro-twentyfortyeight-1.0.0.106.tar.gz 94621 BLAKE2B 584e66eedb9956e75997fc8792652e0c5982150657169687976f0a52ecd07da1d50d2c43aed9379379a8cf1c668a1e9fda2c4c375910bbe02101d67f7813ff65 SHA512 2a30089b617bbbe62af7b17821e69d8c7bc8a393abbfdff5980b62753763595a93e6c326ee4ff17f4d48801399b325634d72c13ca22a30c4c490dfcc7c21952a
diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.106.ebuild b/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.106.ebuild
new file mode 100644 (file)
index 0000000..b31e256
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+       CODENAME="Leia"
+       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-18*
+       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
+}
index 7a9f482f6a1b0fff8b164ff477f35ae804cb7d08..a01c322557c365e598c1dd121fa9e909c87f324d 100644 (file)
@@ -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.2048/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-       S="${WORKDIR}/game.libretro.2048-${PV}"
+       CODENAME="Leia"
+       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"