summaryrefslogtreecommitdiffstats
path: root/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-02-06 23:56:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-02-06 23:56:32 (GMT)
commit417c14d649d2bff64ef03245381845096c671ebb (patch)
tree34998faa4720fbf59d4823a95001cd59c1c32d27 /abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD
parent44e83c2380d62397979db59372afb54dfde0b221 (diff)
downloadlinhes_pkgbuild-417c14d649d2bff64ef03245381845096c671ebb.zip
linhes_pkgbuild-417c14d649d2bff64ef03245381845096c671ebb.tar.gz
linhes_pkgbuild-417c14d649d2bff64ef03245381845096c671ebb.tar.bz2
kodi-addon-pvr-mythtv: initial inclusion. replaced kodi-addon-pvr-mythtv-git
Diffstat (limited to 'abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD')
-rw-r--r--abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD64
1 files changed, 0 insertions, 64 deletions
diff --git a/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD b/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD
deleted file mode 100644
index cee5f2d..0000000
--- a/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD
+++ /dev/null
@@ -1,64 +0,0 @@
-# Maintainer: Westin Miller <equinox.aur@gmail.com>
-# Contributor: Michael Lass <bevan@bi-co.net>
-
-pkgname=kodi-addon-pvr-mythtv-git
-pkgver=r543.fd91be1
-pkgrel=1
-API=16
-if [ -z "$API" ]; then
- error "No API Version Defined, defaulting to 16. 15 = Isengard, 16 = Jarvis, 99 = git master"
-fi
-API=${API:-16}
-
-_branch=$(
- case "${API}" in
- 15) echo "Isengard";;
- 16) echo "Jarvis";;
- 99) echo "master";;
- *) error "Unknown API version.";;
- esac
-)
-pkgdesc='MythTV PVR client addon for Kodi'
-arch=('armv7h' 'i686' 'x86_64')
-url="https://github.com/kodi-pvr/pvr.hts"
-license=('GPL')
-makedepends=('cmake' 'git' 'kodi-platform')
-if [ "$API" -eq "99" ]; then
- depends=("kodi-git")
-else
- depends=("kodi>=$API.0" "kodi<$[$API+1].0")
-fi
-provides=('kodi-addon-pvr-mythtv')
-conflicts=('kodi-addon-pvr-mythtv' 'kodi-pvr-addons')
-source=("${pkgname}::git+https://github.com/kodi-pvr/pvr.mythtv.git#branch=${_branch}"
- 'p8-platform.patch')
-
-pkgver() {
- cd "$pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-build() {
- cd kodi-addon-pvr-mythtv-git/
- patch -p1 -i ${srcdir}/p8-platform.patch
- cd ..
-
- echo "API Version $API"
- echo "Branch version $_branch"
- mkdir -p "$pkgname/build"
- cd "$pkgname/build"
-
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make
-}
-
-package() {
- cd "$pkgname/build"
- make DESTDIR="$pkgdir" install
-}
-md5sums=('SKIP'
- 'a3cf865a74564f1c07b16c20265174d2')