# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=ikona pkgver=1.0 pkgrel=7 pkgdesc="Icon preview utility designed for KDE Plasma" url="https://invent.kde.org/kde/ikona/" # ppc64le and s390x blocked by qt5-qtwebengine-dev # armhf blocked by qt5-qtdeclarative-dev # riscv64 blocked by qt5-qtwebengine and rust/cargo arch="all !ppc64le !s390x !armhf !riscv64" license="GPL-2.0-or-later" depends=" kirigami-addons qt5-qtquickcontrols " makedepends=" cargo extra-cmake-modules kconfigwidgets-dev ki18n-dev kirigami2-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev samurai " source="https://download.kde.org/stable/ikona/$pkgver/ikona-$pkgver.tar.xz cargo.patch fish-completion.patch " subpackages=" $pkgname-lang $pkgname-bash-completion $pkgname-zsh-completion $pkgname-fish-completion " options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_SYSCONFDIR=/etc cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build mkdir -p "$pkgdir"/usr/share/bash-completion mv "$pkgdir"/etc/bash_completion.d "$pkgdir"/usr/share/bash-completion/completions } sha512sums=" 30bde3f3b062ccf661ee8950c762412a6b9eebff625216641607cbae7f7f8123702c231cbce82acfb666a8b69c863e4b22e8daf79d1541b7c70781189ffee144 ikona-1.0.tar.xz 5bddc44736a2dd5e1b2f77da5ccb92c1160edb8add9d07fd09a2c9b3fbbeb38d9bc53627385ab3ac493bf3561fcf570de6463e1e39311ef581c687ae4184859f cargo.patch a4b661832e82b6c3a3a01b2325f7ba4368002eef36051f63ac49eeb4f79062ced18a65d5f3a86d59fac7432d17793b073b3ab75268c0877e406d9c01f7c5c07d fish-completion.patch "