diff options
Diffstat (limited to 'media-plugins/kodi-screensaver-asteroids/kodi-screensaver-asteroids-9999.ebuild')
-rw-r--r-- | media-plugins/kodi-screensaver-asteroids/kodi-screensaver-asteroids-9999.ebuild | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/media-plugins/kodi-screensaver-asteroids/kodi-screensaver-asteroids-9999.ebuild b/media-plugins/kodi-screensaver-asteroids/kodi-screensaver-asteroids-9999.ebuild index 1b2552c29bda..a423eb767979 100644 --- a/media-plugins/kodi-screensaver-asteroids/kodi-screensaver-asteroids-9999.ebuild +++ b/media-plugins/kodi-screensaver-asteroids/kodi-screensaver-asteroids-9999.ebuild @@ -3,30 +3,42 @@ EAPI=7 -inherit cmake kodi-addon +inherit kodi-addon DESCRIPTION="Asteroids screensaver for Kodi" HOMEPAGE="https://github.com/xbmc/screensaver.asteroids" -SRC_URI="" +KODI_PLUGIN_NAME="screensaver.asteroids" case ${PV} in 9999) SRC_URI="" - EGIT_REPO_URI="https://github.com/xbmc/screensaver.asteroids.git" + EGIT_REPO_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}.git" inherit git-r3 + DEPEND="~media-tv/kodi-9999" ;; *) - CODENAME="Leia" + CODENAME="Matrix" KEYWORDS="~amd64 ~x86" - SRC_URI="https://github.com/xbmc/screensaver.asteroids/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/screensaver.asteroids-${PV}-${CODENAME}" + SRC_URI="https://github.com/xbmc/${KODI_PLUGIN_NAME}/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${KODI_PLUGIN_NAME}-${PV}-${CODENAME}" + DEPEND="=media-tv/kodi-19*:=" ;; esac -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" IUSE="" -DEPEND=" - ~media-tv/kodi-9999 +DEPEND+=" + >=media-libs/glm-0.9.9.8-r1 " + +RDEPEND="${DEPEND}" + +BDEPEND="virtual/pkgconfig" + +src_prepare() { + if [ -d depends ]; then rm -rf depends || die; fi + + cmake_src_prepare +} |