aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdegraphics-thumbnailers/APKBUILD
blob: cebab69c2635123df6d0689a54eff1506952cf1f (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
34
35
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdegraphics-thumbnailers
pkgver=20.12.1
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by kio
arch="all !armhf !s390x !mips64"
pkgdesc="Thumbnailers for various graphics file formats"
url="https://www.kde.org/applications/graphics/"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="
	extra-cmake-modules
	qt5-qtbase-dev
	kio-dev
	karchive-dev
	libkexiv2-dev
	libkdcraw-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdegraphics-thumbnailers-$pkgver.tar.xz"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="760240961d1ab1ca2276c28bd800ef8bfff6f90b9b9b1df650869eb841f6c120c33922781660a280690fe64d2ae5424d58f7ae37f3e058d5bb7d0fccfba07922  kdegraphics-thumbnailers-20.12.1.tar.xz"