aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libkdcraw/APKBUILD
blob: c051b39d7236a9e6615332c49db6e1f02078df25 (plain)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libkdcraw
pkgver=19.04.3
pkgrel=0
arch="all"
url="https://kde.org"
pkgdesc="RAW image file format support for KDE"
license="GPL-2.0-or-later and LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev libraw-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="354415fd02353f083d699e4bb69a007871bc09d59cb4ad9397c89675dd5a204ec21841b156ab20afb646de3c8c79119bc2867666cafde9f1d3f66847dbaf8b4d  libkdcraw-19.04.3.tar.xz"