From 887da4092165772b313c27c7f12be9bb5d73c8b2 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Thu, 12 Sep 2019 11:14:09 -0400 Subject: [PATCH] media-plugins/kodi-audiodecoder-sidplay: 1.2.0 version bump, EAPI 7, unbundle Unbundle libsidplay instead dependending on it Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Craig Andrews --- .../kodi-audiodecoder-sidplay/Manifest | 1 + .../kodi-audiodecoder-sidplay-1.2.0.ebuild | 41 +++++++++++++++++++ .../kodi-audiodecoder-sidplay-9999.ebuild | 9 ++-- 3 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-1.2.0.ebuild diff --git a/media-plugins/kodi-audiodecoder-sidplay/Manifest b/media-plugins/kodi-audiodecoder-sidplay/Manifest index 3ff4ecbddb41..c993efc0c36c 100644 --- a/media-plugins/kodi-audiodecoder-sidplay/Manifest +++ b/media-plugins/kodi-audiodecoder-sidplay/Manifest @@ -1 +1,2 @@ DIST kodi-audiodecoder-sidplay-1.1.3.tar.gz 10362 BLAKE2B e34853b875b8e328d06d67986609b40f31308c4e914f332420c8ce855c1d594b0bdd112689e874a663f189c722db6811ec12bfa64eb1e9b8907045776821d515 SHA512 8d3f43746328999ea817cd52e4e8f0f1454ffb1e243de4941752cfd7ea6f48848fe7d0855e7a9207934cb61e633389fed79379d3302d58c7c9e8c53784fc2adc +DIST kodi-audiodecoder-sidplay-1.2.0.tar.gz 25655 BLAKE2B c34ca8a4e411875ef83a87443b52d57d48ae1897b15415f982e2f9f3af654bf3f412704d3e58994e64ada1bf2d63c64508afa7682048ed9e81cb2dfd92f9c552 SHA512 28124b04c6fcbcc8df341c8c5b3da6ec57a106a806e70bf9278ed15c471063db4e04190d8886770f9f430d024f273cad16779caeff7de02eb7ef7db1d07dba2d diff --git a/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-1.2.0.ebuild b/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-1.2.0.ebuild new file mode 100644 index 000000000000..e81e5bf4b20e --- /dev/null +++ b/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-1.2.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils kodi-addon + +DESCRIPTION="SidPlay decoder addon for Kodi" +HOMEPAGE="https://github.com/notspiff/audiodecoder.sidplay" +SRC_URI="" + +case ${PV} in +9999) + SRC_URI="" + EGIT_REPO_URI="https://github.com/notspiff/audiodecoder.sidplay.git" + inherit git-r3 + ;; +*) + CODENAME="Leia" + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/notspiff/audiodecoder.sidplay/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/audiodecoder.sidplay-${PV}-${CODENAME}" + ;; +esac + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=" + =media-tv/kodi-18* + media-libs/libsidplay:2" + +RDEPEND=" + ${DEPEND} + " + +src_prepare(){ + [ -d depends ] && rm -rf depends || die + cmake-utils_src_prepare +} diff --git a/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-9999.ebuild b/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-9999.ebuild index 3efad63660e9..ba6f78a64c2c 100644 --- a/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-9999.ebuild +++ b/media-plugins/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay-9999.ebuild @@ -29,10 +29,13 @@ IUSE="" DEPEND=" ~media-tv/kodi-9999 - ~media-libs/kodi-platform-9999 - media-libs/libsidplay:2 - " + media-libs/libsidplay:2" RDEPEND=" ${DEPEND} " + +src_prepare(){ + [ -d depends ] && rm -rf depends || die + cmake-utils_src_prepare +} -- 2.26.2