From 578e03522d9081bb4040a6715089b7dd281c6b54 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Tue, 2 Jul 2019 17:11:25 -0400 Subject: media-plugins/kodi-game-libretro-dosbox: 0.74.0.3 version bump Bug: https://bugs.gentoo.org/688474 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Craig Andrews --- media-plugins/kodi-game-libretro-dosbox/Manifest | 1 + .../kodi-game-libretro-dosbox-0.74.0.3.ebuild | 38 ++++++++++++++++++++++ .../kodi-game-libretro-dosbox-9999.ebuild | 7 ++-- 3 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 media-plugins/kodi-game-libretro-dosbox/Manifest create mode 100644 media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-0.74.0.3.ebuild (limited to 'media-plugins/kodi-game-libretro-dosbox') diff --git a/media-plugins/kodi-game-libretro-dosbox/Manifest b/media-plugins/kodi-game-libretro-dosbox/Manifest new file mode 100644 index 000000000000..57ac8b7a065f --- /dev/null +++ b/media-plugins/kodi-game-libretro-dosbox/Manifest @@ -0,0 +1 @@ +DIST kodi-game-libretro-dosbox-0.74.0.3.tar.gz 53861 BLAKE2B bba95d96c9a313a96df7e3774573fdf43040efd23629242f1400a5a5ca8c2ebe948b68fba7d780ccd4cb3ca7cc4db74e23fece9d192e6988493a89eec19cdca7 SHA512 e802f5bdb1c9b82c5fa3224138f1956e4210aa532bea3ead20fba1a9349ef780f52d966b334beb498ab3433bd3822df7ae9e5cdcddbbf5b97318a5b65f4fc277 diff --git a/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-0.74.0.3.ebuild b/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-0.74.0.3.ebuild new file mode 100644 index 000000000000..8d15e745cc22 --- /dev/null +++ b/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-0.74.0.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils kodi-addon + +DESCRIPTION="DOSBox GameClient for Kodi" +HOMEPAGE="https://github.com/kodi-game/game.libretro.dosbox" +SRC_URI="" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + EGIT_REPO_URI="https://github.com/kodi-game/game.libretro.dosbox.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + CODENAME="Leia" + SRC_URI="https://github.com/kodi-game/game.libretro.dosbox/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/game.libretro.dosbox-${PV}-${CODENAME}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + =media-tv/kodi-18* + games-emulation/libretro-dosbox + " +RDEPEND=" + media-plugins/kodi-game-libretro + ${DEPEND} + " +src_prepare() { + echo 'find_library(DOSBOX_LIB NAMES dosbox_libretro${CMAKE_SHARED_LIBRARY_SUFFIX} PATH_SUFFIXES libretro)' > "${S}/Findlibretro-dosbox.cmake" || die + default +} diff --git a/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild b/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild index 44c31d728f6e..3e5fcb2608a7 100644 --- a/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-9999.ebuild +++ b/media-plugins/kodi-game-libretro-dosbox/kodi-game-libretro-dosbox-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.dosbox/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/game.libretro.dosbox-${PV}" + CODENAME="Leia" + SRC_URI="https://github.com/kodi-game/game.libretro.dosbox/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/game.libretro.dosbox-${PV}-${CODENAME}" fi LICENSE="GPL-2" -- cgit v1.2.3-65-gdbad