summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-2.0.2.ebuild')
-rw-r--r--media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-2.0.2.ebuild42
1 files changed, 42 insertions, 0 deletions
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
index 000000000000..633bde6e6833
--- /dev/null
+++ b/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-2.0.2.ebuild
@@ -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
+}