aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gwenview/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 03:04:50 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-18 22:06:12 -0300
commitdf47d91d182c2096effab8e749584b957f611727 (patch)
treed2ab84726f59d343143d9b2d4450b29d03beea94 /testing/gwenview/APKBUILD
parent494c09089f4c7bbe694b376dabef5eff9c737464 (diff)
downloadaports-df47d91d182c2096effab8e749584b957f611727.tar.bz2
aports-df47d91d182c2096effab8e749584b957f611727.tar.xz
testing/gwenview: new aport
Diffstat (limited to 'testing/gwenview/APKBUILD')
-rw-r--r--testing/gwenview/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/gwenview/APKBUILD b/testing/gwenview/APKBUILD
new file mode 100644
index 0000000000..8eb2f1dcbd
--- /dev/null
+++ b/testing/gwenview/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=gwenview
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/gwenview/org.kde.gwenview"
+pkgdesc="Fast and easy to use image viewer by KDE"
+license="GPL-2.0-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtx11extras-dev
+ kio-dev kitemmodels-dev ki18n-dev kdoctools-dev kparts-dev kwindowsystem-dev
+ kiconthemes-dev knotifications-dev kactivities-dev libjpeg-turbo-dev
+ libpng-dev libkipi-dev lcms2-dev baloo-dev libkdcraw-dev"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ # urlutilstest is broken
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "urlutilstest"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="38592c6f456fa9d6627a4044b06da0688126fc2f0cffdd0c9cfcc9c31886981d73d4cc7c4c764385c05c0d1e39155ea2c7ff6c2c1c3e81361a3537d31b80907f gwenview-19.04.2.tar.xz"