media-plugins/kodi-audioencoder-vorbis: 2.0.2 version bump
authorCraig Andrews <candrews@gentoo.org>
Wed, 21 Aug 2019 23:50:23 +0000 (19:50 -0400)
committerCraig Andrews <candrews@gentoo.org>
Wed, 21 Aug 2019 23:50:49 +0000 (19:50 -0400)
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-audioencoder-vorbis/Manifest
media-plugins/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis-2.0.2.ebuild [new file with mode: 0644]
media-plugins/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis-9999.ebuild

index b12f63084a5e8c3219eb3691c026ebe36768896b..6734edda950c3afae232b682825e11d55253edac 100644 (file)
@@ -1,2 +1,3 @@
 DIST kodi-audioencoder-vorbis-1.1.0.tar.gz 14964 BLAKE2B df97adfd06660f95d060ddc18105a7279f09488f16ba2fd9ef640bcfbc92e676a9ff3b782a4aeae98a8dc9b169b4197221b5136798969995ceea85bdf569950c SHA512 db07cead7c814003ce231e650b9e66718b9dc3860363f5d1019e73ba3763b1e8d6dd68d0e4f37b3f0eafd6504b60f69ddd7414f8e790956036a350196a360408
 DIST kodi-audioencoder-vorbis-2.0.1.tar.gz 15878 BLAKE2B 66bed287d8af393d914678a3e8da13e73d969fe8dabdaa3ed3c579851f40456d12f32f7edf416eb2a9b8734a2868ed8c0d4eb0a22b70fbb74167f3de1cdca2e5 SHA512 ed560a014d135dc9bc57f0185afd3fc4636158309eb4029b0fa1392ef2109c7795902eb37ce051d99199e5834d530c67b63362fdfb9db500a27e10c39d49e1d9
+DIST kodi-audioencoder-vorbis-2.0.2.tar.gz 15881 BLAKE2B 78181ec315abbbc7a3594f11c5730d8e9913f4529ba449c230e18d8d0bdffcb26e756dd6af6ea390a575a5c47e7f34483cd93dbfc0f13e50e1b0fab0eb7b843d SHA512 9f6262cbd39735b6492e9d5a4f2fb0e0277d32428fab2aca463d104e7f49e68ce922c4ee633a830eb855aa42a7cff6392a98637bcc09e5dc19ee57807af02dd2
diff --git a/media-plugins/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis-2.0.2.ebuild b/media-plugins/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis-2.0.2.ebuild
new file mode 100644 (file)
index 0000000..23e0495
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="Vorbis encoder addon for Kodi"
+HOMEPAGE="https://github.com/xbmc/audioencoder.vorbis"
+SRC_URI=""
+
+case ${PV} in
+9999)
+       SRC_URI=""
+       EGIT_REPO_URI="https://github.com/xbmc/audioencoder.vorbis.git"
+       inherit git-r3
+       ;;
+*)
+       KEYWORDS="~amd64 ~x86"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/xbmc/audioencoder.vorbis/archive/v${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/audioencoder.vorbis-${PV}-${CODENAME}"
+       ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       =media-tv/kodi-18*
+       media-libs/libogg
+       media-libs/libvorbis
+       "
+
+RDEPEND="
+       ${DEPEND}
+       "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}
index 45b19d3b5cd7547037f7447ef3ec4b00b47934e9..1f4772c37145091a65330d49da44389ec5394014 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,8 +17,9 @@ case ${PV} in
        ;;
 *)
        KEYWORDS="~amd64 ~x86"
-       SRC_URI="https://github.com/xbmc/audioencoder.vorbis/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-       S="${WORKDIR}/audioencoder.vorbis-${PV}"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/xbmc/audioencoder.vorbis/archive/v${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/audioencoder.vorbis-${PV}-${CODENAME}"
        ;;
 esac
 
@@ -35,3 +36,8 @@ DEPEND="
 RDEPEND="
        ${DEPEND}
        "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}