diff options
Diffstat (limited to 'media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild')
-rw-r--r-- | media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild b/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild index 0d70f244b676..54032ba673ed 100644 --- a/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild +++ b/media-plugins/kodi-audioencoder-lame/kodi-audioencoder-lame-9999.ebuild @@ -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 +} |