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)
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')
20 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
21 sha256sums=('a5ce354ef2d0146609e0a681e74da078b0592195e304d45670e5e698d5167435'
23 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
27 cmake -B build -S $pkgname-$pkgver \
29 -DKIMAGEFORMATS_HEIF=ON
34 DESTDIR="$pkgdir" cmake --install build