New package: kf6-kimageformats-6.1.0

This commit is contained in:
John 2024-02-29 22:25:04 +01:00 committed by Đoàn Trần Công Danh
parent 6b129628aa
commit 93f88c4e89

View file

@ -0,0 +1,23 @@
# Template file for 'kf6-kimageformats'
pkgname=kf6-kimageformats
version=6.1.0
revision=1
build_style=cmake
configure_args="-DKIMAGEFORMATS_HEIF=ON -DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
pkg-config"
makedepends="kf6-karchive-devel libopenexr-devel libheif-devel libraw-devel
libjxl-devel libavif-devel"
short_desc="KDE Plugins to allow QImage to support extra file formats"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kimageformats"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=b033fa058ab4c9657e1bcd682a89ca94a5b881e7904dddee6aab4a14bafcc95e
do_check() {
cd build
# disable failing tests
ctest -E "kimageformats-read-xcf|kimageformats-read-psd|kimageformats-read-hej2"
}