aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kphotoalbum/APKBUILD
blob: 4c53946212a4bd58c6b1ddbdb471b544f1498487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 "$builddir"/build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make -C build install
}

sha512sums="fa1f4d566cd99e8c434b6e1fe28d8910b3b9c6aa05947ffbfa1b2b8efdab76f243f4b12883586e0c6692bfe54763a285374e16f3ceb23051619fe9b84cd58ea7  kphotoalbum-5.6.1.tar.xz"