summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2019-07-02 17:14:46 -0400
committerCraig Andrews <candrews@gentoo.org>2019-07-02 17:16:30 -0400
commit57cdd2a7fca48e29cfc61011ff0b584f6b6bd798 (patch)
treedca391f20d74c7d5574a5bff7b91c3b0c692a9dc /media-plugins/kodi-game-libretro-twentyfortyeight
parentmedia-plugins/kodi-game-libretro-fceumm: 0.0.1.9 version bump (diff)
downloadgentoo-57cdd2a7fca48e29cfc61011ff0b584f6b6bd798.tar.gz
gentoo-57cdd2a7fca48e29cfc61011ff0b584f6b6bd798.tar.bz2
gentoo-57cdd2a7fca48e29cfc61011ff0b584f6b6bd798.zip
media-plugins/kodi-game-libretro-twentyfortyeight: 1.0.0.106 version bump
Bug: https://bugs.gentoo.org/688474 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Craig Andrews <candrews@gentoo.org>
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.106.ebuild39
-rw-r--r--media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-9999.ebuild7
3 files changed, 44 insertions, 3 deletions
diff --git a/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest b/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest
new file mode 100644
index 000000000000..94a26510dd71
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-twentyfortyeight/Manifest
@@ -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
index 000000000000..b31e25621de2
--- /dev/null
+++ b/media-plugins/kodi-game-libretro-twentyfortyeight/kodi-game-libretro-twentyfortyeight-1.0.0.106.ebuild
@@ -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
+}
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 7a9f482f6a1b..a01c322557c3 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
@@ -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"