aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/kodi-pvr-hts/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/kodi-pvr-hts/APKBUILD b/testing/kodi-pvr-hts/APKBUILD
new file mode 100644
index 0000000000..4ebe9cf836
--- /dev/null
+++ b/testing/kodi-pvr-hts/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Damian Kurek <starfire24680@gmail.com>
+# Maintainer: Damian Kurek <starfire24680@gmail.com>
+pkgname=kodi-pvr-hts
+pkgver=8.2.3
+_realname=Matrix
+pkgrel=0
+pkgdesc="Kodi's Tvheadend HTSP client addon"
+options="!check" # no test suite
+url="https://github.com/kodi-pvr/pvr.hts"
+arch="x86 x86_64 aarch64" # kodi
+license="GPL-2.0-only"
+makedepends="bsd-compat-headers cmake kodi-dev"
+source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/kodi-pvr/pvr.hts/archive/$pkgver-$_realname.tar.gz"
+builddir="$srcdir/pvr.hts-$pkgver-$_realname"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi \
+ -DUSE_LTO=1
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="ee40dc22827959c663f97af1c1140337c592caf1b6d64503b5d1540bb59f284a90a27df4da2547c382b2eefa1e8754eaea35bf83203ef2e8eb447de93b858b04 kodi-pvr-hts-8.2.3-Matrix.tar.gz"