aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kmediaplayer
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-05-31 22:25:22 +0200
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 07:01:19 +0000
commit8df22e7ddafd23efff51457389185f74111b543b (patch)
tree9d98dda27e9eedcbdc9ef3ab3ae929dc34372e67 /testing/kmediaplayer
parent8650fc5380adb46b4d1df16cb04c355caa1f3926 (diff)
downloadaports-8df22e7ddafd23efff51457389185f74111b543b.tar.bz2
aports-8df22e7ddafd23efff51457389185f74111b543b.tar.xz
testing/kmediaplayer: new aport
Closes GH-8334
Diffstat (limited to 'testing/kmediaplayer')
-rw-r--r--testing/kmediaplayer/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kmediaplayer/APKBUILD b/testing/kmediaplayer/APKBUILD
new file mode 100644
index 0000000000..c5eccc2ade
--- /dev/null
+++ b/testing/kmediaplayer/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kmediaplayer
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Media player framework for KDE 5"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="X11 AND LGPL-2.1-or-later"
+depends_dev="qt5-qtbase-dev kparts-dev kxmlgui-dev"
+makedepends="$depends_dev extra-cmake-modules"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ # viewtest requires X11 to be running
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "viewtest"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="08c48d48ed149b52ed2b9838a78d9b08011c859d63f1b18ad8238042c3e710d9b40a7c719e36d5a70161a3c27827ea0394f61c9556f72a25bc6acaee31791e74 kmediaplayer-5.58.0.tar.xz"