aboutsummaryrefslogtreecommitdiffstats
path: root/community/kphotoalbum/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kphotoalbum/APKBUILD')
-rw-r--r--community/kphotoalbum/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/kphotoalbum/APKBUILD b/community/kphotoalbum/APKBUILD
new file mode 100644
index 0000000000..60993a7fda
--- /dev/null
+++ b/community/kphotoalbum/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kphotoalbum
+pkgver=5.6.1
+pkgrel=0
+pkgdesc="KDE Photo Album, picture collection manager"
+url="https://kphotoalbum.org"
+# mips, ppc64le and s390x blocked by marble-dev
+# armhf blocked my libkgeomap
+arch="all !ppc64le !s390x !armhf !mips !mips64"
+license="GPL-2.0-or-later"
+makedepends="extra-cmake-modules qt5-qtbase-dev phonon-dev karchive-dev kcompletion-dev kconfig-dev kcoreaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kjobwidgets-dev kio-dev ktextwidgets-dev kxmlgui-dev kwidgetsaddons-dev jpeg-dev exiv2-dev libkipi-dev purpose-dev libkdcraw-dev marble-dev libkgeomap-dev"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/kphotoalbum/$pkgver/kphotoalbum-$pkgver.tar.xz"
+
+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 --build build --target install
+}
+
+sha512sums="fa1f4d566cd99e8c434b6e1fe28d8910b3b9c6aa05947ffbfa1b2b8efdab76f243f4b12883586e0c6692bfe54763a285374e16f3ceb23051619fe9b84cd58ea7 kphotoalbum-5.6.1.tar.xz"