2020-02-12 18:19:49 +03:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2019-10-15 23:59:59 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
2020-01-05 20:54:22 +03:00
|
|
|
inherit cmake kodi-addon
|
2019-10-15 23:59:59 +03:00
|
|
|
|
|
|
|
DESCRIPTION="Kodi's VuPlus client addon"
|
|
|
|
HOMEPAGE="https://github.com/kodi-pvr/pvr.vuplus"
|
|
|
|
SRC_URI=""
|
|
|
|
|
|
|
|
case ${PV} in
|
|
|
|
9999)
|
|
|
|
SRC_URI=""
|
|
|
|
EGIT_REPO_URI="https://github.com/kodi-pvr/pvr.vuplus.git"
|
|
|
|
inherit git-r3
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
CODENAME="Leia"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
SRC_URI="https://github.com/kodi-pvr/pvr.vuplus/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/pvr.vuplus-${PV}-${CODENAME}"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
=media-tv/kodi-18*
|
|
|
|
=media-libs/kodi-platform-18*
|
|
|
|
dev-libs/tinyxml
|
|
|
|
dev-cpp/nlohmann_json
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
|
|
|
"
|
|
|
|
|
2020-02-23 01:15:17 +03:00
|
|
|
src_prepare() {
|
2019-10-15 23:59:59 +03:00
|
|
|
[ -d depends ] && rm -rf depends || die
|
2020-01-05 20:54:22 +03:00
|
|
|
cmake_src_prepare
|
2019-10-15 23:59:59 +03:00
|
|
|
}
|