aboutsummaryrefslogtreecommitdiffstats
path: root/testing/parley
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-09-03 15:37:08 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-09-03 10:54:38 -0300
commit25043e50d7956aa6899815d8f48db06ba4505dd3 (patch)
tree0d825070c590398e471f8a3466d5a5b05cece871 /testing/parley
parent060a10d2a0dc3d9331169bbbf199aca2f6bdf8f3 (diff)
downloadaports-25043e50d7956aa6899815d8f48db06ba4505dd3.tar.bz2
aports-25043e50d7956aa6899815d8f48db06ba4505dd3.tar.xz
testing/parley: new aport
Diffstat (limited to 'testing/parley')
-rw-r--r--testing/parley/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/parley/APKBUILD b/testing/parley/APKBUILD
new file mode 100644
index 0000000000..cec7013e03
--- /dev/null
+++ b/testing/parley/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=parley
+pkgver=19.08.0
+pkgrel=0
+arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine
+url="https://kde.org/applications/education/org.kde.parley"
+pkgdesc="Vocabulary Trainer"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtmultimedia-dev qt5-qtwebengine-dev kdoctools-dev kcoreaddons-dev kconfig-dev kcrash-dev ki18n-dev kio-dev knewstuff-dev kross-dev sonnet-dev kcmutils-dev kxmlgui-dev knotifications-dev libkeduvocdocument-dev libxslt-dev libxml2-dev"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/applications/$pkgver/src/parley-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="486c653e6ef8970fb298feea85aca72f11a289813822771badaa7c037e1604ed864d6074c2de3ac1a3a40267fdc96e82b0abe20a203cd18d1948ebd780610c01 parley-19.08.0.tar.xz"