summaryrefslogtreecommitdiff
path: root/testing/kodi-vfs-sacd
diff options
context:
space:
mode:
authorDamian Kurek <starfire24680@gmail.com>2021-05-14 23:25:01 +0200
committerMichał Polański <michal@polanski.me>2021-05-14 22:23:35 +0000
commite7be12ad9ec60c305b75b80c696bc421a5dbca13 (patch)
tree191b42108312aee2f463a0c409944c1e3480d6d4 /testing/kodi-vfs-sacd
parent6c348d048ca87cdadbc4ff7dd0494a5c98e58983 (diff)
downloadaports-e7be12ad9ec60c305b75b80c696bc421a5dbca13.zip
testing/kodi-vfs-sacd: new aport
Diffstat (limited to 'testing/kodi-vfs-sacd')
-rw-r--r--testing/kodi-vfs-sacd/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kodi-vfs-sacd/APKBUILD b/testing/kodi-vfs-sacd/APKBUILD
new file mode 100644
index 00000000000..cc8747a288a
--- /dev/null
+++ b/testing/kodi-vfs-sacd/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Damian Kurek <starfire24680@gmail.com>
+# Maintainer: Damian Kurek <starfire24680@gmail.com>
+pkgname=kodi-vfs-sacd
+pkgver=2.0.0
+_realname=Matrix
+pkgrel=0
+pkgdesc="SACD VFS add-on for Kodi"
+options="!check" # no test suite
+url="https://github.com/xbmc/vfs.sacd"
+arch="x86 x86_64 aarch64 armv7" # kodi is available only on those arches
+license="GPL-2.0-only"
+makedepends="cmake libssh-dev kodi-dev"
+source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/xbmc/vfs.sacd/archive/$pkgver-$_realname.tar.gz"
+builddir="$srcdir/vfs.sacd-$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 --install build
+}
+
+sha512sums="
+1b701189c81cd38d410de10382942478c017647050ddc6bce14f48558cd7085cae5c085cda213c88a15815be01199f8ef00f0306f4de2d3ca82293b20179f78a kodi-vfs-sacd-2.0.0-Matrix.tar.gz
+"