archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kimageformats / repos / extra-x86_64 / PKGBUILD
blobed031cf78963a1815f372a579dfc8310f440012d
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.106.0
7 pkgrel=1
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=('fb3f3e8aeb97fcf35151787a5ccab4938d4d711415cc5be9d61d768c32790e8f'
23             'SKIP')
24 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
26 build() {
27   cmake -B build -S $pkgname-$pkgver \
28     -DBUILD_TESTING=OFF \
29     -DKIMAGEFORMATS_HEIF=ON
30   cmake --build build
33 package() {
34   DESTDIR="$pkgdir" cmake --install build