# Template file for 'kimageformats'
pkgname=kimageformats
version=5.115.0
revision=2
build_style=cmake
configure_args="-DKIMAGEFORMATS_HEIF=ON"
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools
 pkg-config"
makedepends="karchive-devel libopenexr-devel libheif-devel libraw-devel libavif-devel
 libjxl-devel"
short_desc="KDE Plugins to allow QImage to support extra file formats"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kimageformats"
distfiles="${KDE_SITE}/frameworks/${version%.*}/kimageformats-${version}.tar.xz"
checksum=9f61020d66f86b8b10bce14e42a39c5e8fd8e40ec9e6ca8b9e9b5ce3e1aa7283

# FIXME: some tests fail on i686.
# FIXME: 1 test fails on all archs, solved by
# https://invent.kde.org/frameworks/kimageformats/-/commit/41f0411b62d10d602a4def0c0d12975e77a16028
make_check=no
