# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kimageformats pkgver=5.49.0 pkgrel=2 pkgdesc="Image format plugins for Qt5" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev karchive-dev" makedepends="$depends_dev extra-cmake-modules openexr-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" options="!check" # Fails due to requiring running X11 build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="8bc64d106e99dc0f210a88eb55dadf87d6464fb0d4c32cb07287f8cd8fd5d8528f3b32a31416e0f29fa6f39a779df15fadaa2ea8d12c47d238eae98b899d13ea kimageformats-5.49.0.tar.xz"