aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kimageformats/APKBUILD
blob: 6c9ec49bc61aa75467d7706b4fe704a4fe04846c (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kimageformats
pkgver=5.60.0
pkgrel=0
pkgdesc="Image format plugins for Qt5"
arch="all"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
makedepends="qt5-qtbase-dev karchive-dev extra-cmake-modules openexr-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

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="a63064efc1c971b5abef3e67f383e402c24e5fa911ee4bc7a3b29362afee45ab4e01287c90fedd48f281303a32336b7657fc4426043067325e53c62a85d32c7b  kimageformats-5.60.0.tar.xz"