media-plugins/kodi-audioencoder-flac: 2.0.2 version bump
authorCraig Andrews <candrews@gentoo.org>
Fri, 20 Sep 2019 20:22:34 +0000 (16:22 -0400)
committerCraig Andrews <candrews@gentoo.org>
Fri, 20 Sep 2019 20:22:48 +0000 (16:22 -0400)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-audioencoder-flac/Manifest
media-plugins/kodi-audioencoder-flac/kodi-audioencoder-flac-2.0.2.ebuild [new file with mode: 0644]
media-plugins/kodi-audioencoder-flac/kodi-audioencoder-flac-9999.ebuild

index 0e54fce9511f69e473e51dcd9faf692189c391e1..70c842b117939f3fd14d0a17aa14d59b22d9e992 100644 (file)
@@ -1 +1,2 @@
 DIST kodi-audioencoder-flac-2.0.1.tar.gz 20523 BLAKE2B 6ef8f51df7d0c0113389508e3d295b9adf7757684e42ab01ed19f4837881b2f9adfcfd6950f01fb0de54a772a7ea907afd3c4595b0df4b8fd2be647149a5a510 SHA512 4fcbfd4efe52b6983622367eefbbf09a9392c460160d6b4659df0e8b86a565a23f140a22728a2e40b033ad8cdbab68b786e90120dca034dd690217f8ba2b5c01
+DIST kodi-audioencoder-flac-2.0.2.tar.gz 21036 BLAKE2B 52296b0a85b3f6778cf5de67d5b5b95339195f23dcc1d35b4b3e738d7c2ca2932f1584a467a6654837f6baf898f118976c2d67087ada4561971f725978740587 SHA512 5e5ac3e66b193727e5d2d85c5416275adda642502526bf2525864135119f831b0332a50fca9dbb0042cb0a8165fa93de12d49f1e9cd467eb3280f31e3ee99486
diff --git a/media-plugins/kodi-audioencoder-flac/kodi-audioencoder-flac-2.0.2.ebuild b/media-plugins/kodi-audioencoder-flac/kodi-audioencoder-flac-2.0.2.ebuild
new file mode 100644 (file)
index 0000000..56ae791
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils kodi-addon
+
+DESCRIPTION="Flac encoder addon for Kodi"
+HOMEPAGE="https://github.com/xbmc/audioencoder.flac"
+SRC_URI=""
+
+case ${PV} in
+9999)
+       SRC_URI=""
+       EGIT_REPO_URI="https://github.com/xbmc/audioencoder.flac.git"
+       inherit git-r3
+       ;;
+*)
+       KEYWORDS="~amd64 ~x86"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/xbmc/audioencoder.flac/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/audioencoder.flac-${PV}-${CODENAME}"
+       ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       =media-tv/kodi-18*
+       >=media-libs/libogg-1.3.4
+       media-libs/flac
+       "
+RDEPEND="
+       ${DEPEND}
+       "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}
index 326c9466c5e38d1cfc0d9d1ecd37617c9a29d72b..e57669742afb249dd77c955e96efb64dec0a0f58 100644 (file)
@@ -17,8 +17,9 @@ case ${PV} in
        ;;
 *)
        KEYWORDS="~amd64 ~x86"
-       SRC_URI="https://github.com/xbmc/audioencoder.flac/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-       S="${WORKDIR}/audioencoder.flac-${PV}"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/xbmc/audioencoder.flac/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/audioencoder.flac-${PV}-${CODENAME}"
        ;;
 esac
 
@@ -28,9 +29,14 @@ IUSE=""
 
 DEPEND="
        ~media-tv/kodi-9999
-       media-libs/libogg
+       >=media-libs/libogg-1.3.4
        media-libs/flac
        "
 RDEPEND="
        ${DEPEND}
        "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}