media-plugins/kodi-audioencoder-lame: 2.0.2 version bump
authorCraig Andrews <candrews@gentoo.org>
Sat, 21 Sep 2019 01:19:43 +0000 (21:19 -0400)
committerCraig Andrews <candrews@gentoo.org>
Sat, 21 Sep 2019 01:23:06 +0000 (21:23 -0400)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
media-plugins/kodi-audioencoder-lame/Manifest
media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-2.0.2.ebuild [new file with mode: 0644]
media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild

index 227ed2350dd91ccfd12e17f76b5c9e98e1ad47bf..c58bb0894d869fbf1ac50b3496e63fc0c2650625 100644 (file)
@@ -1 +1,2 @@
 DIST kodi-audioencoder-lame-2.0.1.tar.gz 23505 BLAKE2B 706cefee19bfdc19caa7c65101d61a3032f70033b4c8adf40c90009aed81c8b69c30e0a8982cf633267c26ea568b19adbefaf6c035617573fa09ae486a6d8e80 SHA512 eb780f31e96a0c745cb2598212aab39a065cc85b186b579ba2ace4732640588dabf9a6ef2e6ee57ddd793a2790cab0b8c2a1068714b80ecbfa4ae4a6eaf2f4b1
+DIST kodi-audioencoder-lame-2.0.2.tar.gz 20286 BLAKE2B 56ebf807a40d2d77469c454db0011a4c70000bc90cb3cbd41839719e376a56b9d07733a583f551fc74eff6de42b25d6c84027e678f7d5f34bdee9fa576b0ac33 SHA512 e4a73dadba4fafc8e60c1730404f9390a191bec58823202c3193f7f0571e914151c74b6d18e7d48551ae2f493b9ef11a84ddb27976a5f766e1ba512f1a0e141b
diff --git a/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-2.0.2.ebuild b/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-2.0.2.ebuild
new file mode 100644 (file)
index 0000000..633bde6
--- /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="Lame MP3 encoder addon for Kodi"
+HOMEPAGE="https://github.com/xbmc/audioencoder.lame"
+SRC_URI=""
+
+case ${PV} in
+9999)
+       SRC_URI=""
+       EGIT_REPO_URI="https://github.com/xbmc/audioencoder.lame.git"
+       inherit git-r3
+       ;;
+*)
+       KEYWORDS="~amd64 ~x86"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/xbmc/audioencoder.lame/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/audioencoder.lame-${PV}-${CODENAME}"
+       ;;
+esac
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+       =media-tv/kodi-18*
+       >=media-sound/lame-3.100
+       "
+
+RDEPEND="
+       ${DEPEND}
+       "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}
index 0d70f244b6769a5a9ebb4e794408eab3adce20ea..54032ba673edfa1e77af765c6754e1106addc57f 100644 (file)
@@ -17,8 +17,9 @@ case ${PV} in
        ;;
 *)
        KEYWORDS="~amd64 ~x86"
-       SRC_URI="https://github.com/xbmc/audioencoder.lame/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-       S="${WORKDIR}/audioencoder.lame-${PV}"
+       CODENAME="Leia"
+       SRC_URI="https://github.com/xbmc/audioencoder.lame/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/audioencoder.lame-${PV}-${CODENAME}"
        ;;
 esac
 
@@ -28,9 +29,14 @@ IUSE=""
 
 DEPEND="
        ~media-tv/kodi-9999
-       media-sound/lame
+       >=media-sound/lame-3.100
        "
 
 RDEPEND="
        ${DEPEND}
        "
+
+src_prepare(){
+       [ -d depends ] && rm -rf depends || die
+       cmake-utils_src_prepare
+}