Add kodi-addon-pvr-hts-git
This commit is contained in:
24
src/kodi-addon-pvr-hts-git/.SRCINFO
Normal file
24
src/kodi-addon-pvr-hts-git/.SRCINFO
Normal file
@@ -0,0 +1,24 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Mon Jan 9 18:34:43 UTC 2017
|
||||
pkgbase = kodi-addon-pvr-hts-git
|
||||
pkgdesc = Tvheadend HTSP PVR client addon for Kodi
|
||||
pkgver = r510.9261047
|
||||
pkgrel = 1
|
||||
url = https://github.com/kodi-pvr/pvr.hts
|
||||
arch = armv7h
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
makedepends = kodi-platform-git
|
||||
depends = kodi
|
||||
depends = libplatform-legacy
|
||||
provides = kodi-addon-pvr-hts
|
||||
conflicts = kodi-addon-pvr-hts
|
||||
conflicts = kodi-pvr-addons
|
||||
source = kodi-addon-pvr-hts-git::git+https://github.com/kodi-pvr/pvr.hts.git#branch=Jarvis
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = kodi-addon-pvr-hts-git
|
||||
|
63
src/kodi-addon-pvr-hts-git/PKGBUILD
Normal file
63
src/kodi-addon-pvr-hts-git/PKGBUILD
Normal file
@@ -0,0 +1,63 @@
|
||||
# Maintainer: Michael Lass <bevan@bi-co.net>
|
||||
|
||||
# This PKGBUILD is maintained on github:
|
||||
# https://github.com/michaellass/AUR
|
||||
|
||||
###############################################################################
|
||||
# INSTRUCTIONS #
|
||||
# ------------ #
|
||||
# #
|
||||
# API changes between different Kodi versions make it necessary to specify #
|
||||
# the version of Kodi you want to build this package for. You can choose #
|
||||
# between Isengard (15), Jarvis (16) and git master (99). Do so in the #
|
||||
# following line. #
|
||||
###############################################################################
|
||||
|
||||
API=16
|
||||
|
||||
pkgname=kodi-addon-pvr-hts-git
|
||||
pkgver=r510.9261047
|
||||
pkgrel=1
|
||||
pkgdesc='Tvheadend HTSP 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-git')
|
||||
depends=('kodi')
|
||||
provides=('kodi-addon-pvr-hts')
|
||||
conflicts=('kodi-addon-pvr-hts' 'kodi-pvr-addons')
|
||||
source=("${pkgname}::git+https://github.com/kodi-pvr/pvr.hts.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
case "$API" in
|
||||
15) depends+=('libplatform-legacy')
|
||||
source[0]="${pkgname}::git+https://github.com/kodi-pvr/pvr.hts.git#branch=Isengard" ;;
|
||||
16) depends+=('libplatform-legacy')
|
||||
source[0]="${pkgname}::git+https://github.com/kodi-pvr/pvr.hts.git#branch=Jarvis" ;;
|
||||
17) depends+=('p8-platform')
|
||||
source[0]="${pkgname}::git+https://github.com/kodi-pvr/pvr.hts.git#branch=Krypton" ;;
|
||||
99) depends+=('p8-platform') ;;
|
||||
*) error "Unknown API version. Follow instructions in PKGBUILD." && false
|
||||
esac
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user