archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kimageformats / trunk / PKGBUILD
blob6a13d1353a9dd0a692accfe10bc7194e1e3a522f
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kimageformats
6 pkgver=5.101.0
7 pkgrel=2
8 pkgdesc='Image format plugins for Qt5'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(qt5-base)
13 makedepends=(extra-cmake-modules karchive libavif openexr libheif libjxl libraw)
14 optdepends=('karchive: plugin for Krita and OpenRaster images'
15             'libavif: AVIF format support'
16             'openexr: EXR format support'
17             'libheif: HEIF format support'
18             'libjxl: JPEG-XL format support'
19             'libraw: RAW format support')
20 groups=(kf5)
21 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
22 sha256sums=('ae19b07141fdf977035e6decc50fa45855c0e635f57333a2443d3c24464c625f'
23             'SKIP')
24 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
25 options=(debug)
27 build() {
28   cmake -B build -S $pkgname-$pkgver \
29     -DBUILD_TESTING=OFF \
30     -DKIMAGEFORMATS_HEIF=ON
31   cmake --build build
34 package() {
35   DESTDIR="$pkgdir" cmake --install build