Add kodi-addon-pvr-hts-git
This commit is contained in:
parent
4615c41709
commit
04b6b07e61
|
@ -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
|
||||
|
|
@ -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
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Tue Feb 23 23:00:57 UTC 2016
|
||||
pkgbase = kodi-platform-git
|
||||
pkgdesc = Kodi platform support library
|
||||
pkgver = r38.15edaf7
|
||||
pkgrel = 1
|
||||
url = https://github.com/xbmc/kodi-platform
|
||||
arch = armv7h
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
depends = kodi
|
||||
depends = libplatform-legacy
|
||||
provides = kodi-platform
|
||||
conflicts = kodi-platform
|
||||
source = kodi-platform-git::git+https://github.com/xbmc/kodi-platform.git#commit=15edaf78d
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = kodi-platform-git
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
# 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-platform-git
|
||||
pkgver=r38.15edaf7
|
||||
pkgrel=1
|
||||
pkgdesc='Kodi platform support library'
|
||||
arch=('armv7h' 'i686' 'x86_64')
|
||||
url="https://github.com/xbmc/kodi-platform"
|
||||
license=('GPL')
|
||||
makedepends=('cmake' 'git')
|
||||
depends=('kodi')
|
||||
provides=('kodi-platform')
|
||||
conflicts=('kodi-platform')
|
||||
source=("${pkgname}::git+https://github.com/xbmc/kodi-platform.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
# Corresponding commit IDs are taken from
|
||||
# https://github.com/xbmc/xbmc/blob/$BRANCH/project/cmake/addons/depends/common/kodi-platform/kodi-platform.txt
|
||||
case "$API" in
|
||||
15) depends+=('libplatform-legacy')
|
||||
source[0]="${pkgname}::git+https://github.com/xbmc/kodi-platform.git#commit=054a42f66" ;;
|
||||
16) depends+=('libplatform-legacy')
|
||||
source[0]="${pkgname}::git+https://github.com/xbmc/kodi-platform.git#commit=15edaf78d" ;;
|
||||
17) depends+=('p8-platform')
|
||||
source[0]="${pkgname}::git+https://github.com/xbmc/kodi-platform.git#commit=c8188d826" ;;
|
||||
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 \
|
||||
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_PREFIX_PATH=/usr/lib/kodi \
|
||||
..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname/build"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Tue Nov 15 18:01:54 UTC 2016
|
||||
pkgbase = libplatform-legacy
|
||||
pkgdesc = Platform support library used by add-ons for Kodi up to Jarvis
|
||||
pkgver = 1.0.10
|
||||
pkgrel = 2
|
||||
url = https://github.com/Pulse-Eight/platform
|
||||
arch = armv6h
|
||||
arch = armv7h
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
depends = gcc-libs
|
||||
source = https://github.com/Pulse-Eight/platform/archive/1.0.10.tar.gz
|
||||
sha256sums = 6ba3239cb1c0a5341efcf9488f4d3dfad8c26d6b2994b2b2247e5a61568ab5cd
|
||||
|
||||
pkgname = libplatform-legacy
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Michael Lass <bevan@bi-co.net>
|
||||
# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
|
||||
# Contributor: Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
# This PKGBUILD is maintained on github:
|
||||
# https://github.com/michaellass/AUR
|
||||
|
||||
pkgname=libplatform-legacy
|
||||
pkgver=1.0.10
|
||||
pkgrel=2
|
||||
pkgdesc="Platform support library used by add-ons for Kodi up to Jarvis"
|
||||
arch=('armv6h' 'armv7h' 'i686' 'x86_64')
|
||||
url="https://github.com/Pulse-Eight/platform"
|
||||
license=('GPL')
|
||||
makedepends=('cmake')
|
||||
depends=('gcc-libs')
|
||||
source=(https://github.com/Pulse-Eight/platform/archive/${pkgver}.tar.gz)
|
||||
sha256sums=('6ba3239cb1c0a5341efcf9488f4d3dfad8c26d6b2994b2b2247e5a61568ab5cd')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/platform-${pkgver}
|
||||
cmake . \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_SHARED_LIBS=1 \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DCMAKE_INSTALL_LIBDIR_NOARCH=/usr/lib
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/platform-${pkgver}
|
||||
make DESTDIR="$pkgdir/" install
|
||||
}
|
Loading…
Reference in New Issue