1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
8 pkgdesc='Image format plugins for Qt5'
10 url='https://community.kde.org/Frameworks'
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')
21 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
22 sha256sums=('fb3f3e8aeb97fcf35151787a5ccab4938d4d711415cc5be9d61d768c32790e8f'
24 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
27 cmake -B build -S $pkgname-$pkgver \
29 -DKIMAGEFORMATS_HEIF=ON
34 DESTDIR="$pkgdir" cmake --install build