Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 1.04 KB
KODIADDONNAME ?= "${PN}"
DEPENDS += "zip-native \
p8platform \
kodi-platform \
"
inherit cmake pkgconfig gettext
ASNEEDED = ""
EXTRA_OECMAKE = " \
-DADDONS_TO_BUILD=inputstream.adaptive \
-DADDON_SRC_PREFIX=${WORKDIR}/git \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=${datadir}/kodi/addons \
-DKODI_INCLUDE_DIR=${STAGING_INCDIR}/kodi \
-DCMAKE_MODULE_PATH='${STAGING_DIR_HOST}${libdir}/kodi;${STAGING_DIR_HOST}${datadir}/kodi/cmake' \
-DCMAKE_PREFIX_PATH=${STAGING_DIR_HOST}${prefix} \
-DPACKAGE_ZIP=1 \
"
# Make zip package for manual installation
do_install_append() {
install -d ${D}${datadir}/kodi/addons/packages/
( cd ${D}${datadir}/kodi/addons
zip -r ${D}${datadir}/kodi/addons/packages/${KODIADDONNAME}-${PV}.zip ${KODIADDONNAME} -x '*.debug*' )
}
# Doesn't get added automagically, dlopen()?
RDEPENDS_${PN} = "libkodiplatform"
INSANE_SKIP_${PN} = "dev-so"
FILES_${PN} += "${datadir}/kodi"
FILES_${PN}-dbg += "${datadir}/kodi/addons/*/.debug/"
You can’t perform that action at this time.