aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasmatube/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/plasmatube/APKBUILD')
-rw-r--r--community/plasmatube/APKBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/community/plasmatube/APKBUILD b/community/plasmatube/APKBUILD
new file mode 100644
index 0000000000..1843fbe9c5
--- /dev/null
+++ b/community/plasmatube/APKBUILD
@@ -0,0 +1,54 @@
+# Contributor: Ralf Rachinger <ralfrachinger@gmail.com>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=plasmatube
+pkgver=0_git20210530
+pkgrel=0
+_commit="7427989bbe4e0356a8355103f3bcb883a09a7de7"
+pkgdesc="Kirigami YouTube video player based on Invidious"
+# armhf blocked by extra-cmake-modules
+# mips64, s390x and riscv64 blocked by polkit
+arch="all !armhf !s390x !mips64 !riscv64"
+url="https://invent.kde.org/plasma-mobile/plasmatube"
+license="GPL-3.0-or-later AND CC0-1.0"
+depends="
+ gst-libav
+ gst-plugins-good
+ gst-plugins-good-qt
+ kcoreaddons
+ kdeclarative
+ ki18n
+ kirigami2
+ qt5-qtmultimedia
+ qt5-qtquickcontrols2
+ "
+makedepends="
+ extra-cmake-modules
+ ki18n-dev
+ kirigami2-dev
+ qt5-qtbase-dev
+ qt5-qtquickcontrols2-dev
+ "
+source="https://invent.kde.org/plasma-mobile/plasmatube/-/archive/$_commit/plasmatube-$_commit.tar.gz"
+options="!check" # No tests
+builddir="$srcdir/$pkgname-$_commit"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="
+614ac9fdd0a0fcdff976bfaeeb0870cebff34baec231b55fd3212d6d6e964ac495ce626e3b43447de0a9b881b6ce08b7fd4e7d335c2ccdadcf3d1f43f94f06dd plasmatube-7427989bbe4e0356a8355103f3bcb883a09a7de7.tar.gz
+"