aboutsummaryrefslogtreecommitdiffstats
path: root/community/kimageformats/APKBUILD
blob: e2068f6b6db53bd8fbaf2c0de4123ddc9a96045e (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.62.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%.*}/kimageformats-$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="edc219ae7be1746098789f6ec3dbe96cbca406a753ded68dc8f713d03f1258a228234ae3d5d5b3dcb1503372460c1e5bcd097c2936b7d1cd8d0bbcd85c32e434  kimageformats-5.62.0.tar.xz"