OCaml 4.14.0 rebuild
[arch-packages.git] / kimageformats / repos / extra-x86_64 / PKGBUILD
blob7bae85dd1210a04c74f240872090ceae63339a6b
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.96.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)
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 groups=(kf5)
20 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
21 sha256sums=('a5ce354ef2d0146609e0a681e74da078b0592195e304d45670e5e698d5167435'
22             'SKIP')
23 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
24 options=(debug)
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