@
graysky I believe something changed about the way that they are requiring the binary addons to be built now. It must be built as a separate package from kodi. The idea behind it seems to be that you can then have a smaller kodi binary and modularize the addons, primarily so that you can upgrade addons without needing to recompile the entire kodi package.
This is what I have been using to build the addon binary, but I will admit that it could use some work. I started with what was on AUR and modified it for Leia. The biggest problem I have is that I am not sure how to dictate which release of pvr.mythtv to build. It seems to pull the latest release on github, so I don't even bother downloading the pvr.mythtv code with the PKGBUILD as it happens automatically during compilation. However, the pkgver in the filename may not match what is being built...
Code:
pkgname=kodi-addon-pvr-mythtv
pkgver=5.8.13
_kodiver=18.0b4
_codename=Leia
pkgrel=0
pkgdesc='MythTV PVR client addon for Kodi'
arch=('armv7h' 'i686' 'x86_64')
url="http://janbar.github.io/pvr.mythtv/"
license=('GPL')
makedepends=('cmake' 'git')
depends=("kodi")
source=("https://github.com/xbmc/xbmc/archive/${_kodiver}-$_codename.tar.gz")
md5sums=('af10526f9852570b552cbe66b11af0c1')
build() {
mkdir -p "pvr.mythtv-${pkgver}/build"
cd "pvr.mythtv-${pkgver}/build"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DADDONS_TO_BUILD=pvr.mythtv \
-DADDONS_SRC_PREFIX=../.. \
../../xbmc-${_kodiver}-$_codename/cmake/addons
make
}
package() {
cd "pvr.mythtv-${pkgver}/build"
install -d "${pkgdir}/usr"
mv .install/lib "${pkgdir}/usr/"
mv .install/share "${pkgdir}/usr/"
}
# vim:set ts=2 sw=2 et:
maybe @
janbar or someone else can chime in with some helpful information. But once I make the binary and install it, pvr.mythtv is available in Kodi. Your mileage may vary since there are some library etc folders may differ from your installation.