aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasmatube
diff options
context:
space:
mode:
Diffstat (limited to 'community/plasmatube')
-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..476eefc6b2
--- /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_git20210719
+pkgrel=0
+_commit="1b8b8b96f1f545b45ba46af4c181a996269ab0a8"
+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="
+0c508d62a9854e411e2fe1615dee94e092ae45139559dadac72c7c230775b47ebf1c1a7ae2a2ef9b927fee9bf772b205db2962202af091df4874c878125964cb plasmatube-1b8b8b96f1f545b45ba46af4c181a996269ab0a8.tar.gz
+"