# Contributor: Rasmus Thomsen # Maintainer: Bart Ribbers pkgname=xdg-desktop-portal-kde pkgver=9999_git1689478197 pkgrel=0 pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://phabricator.kde.org/source/xdg-desktop-portal-kde" license="LGPL-2.0-or-later" depends="xdg-desktop-portal" makedepends=" cups-dev extra-cmake-modules glib-dev kcoreaddons-dev kdeclarative-dev kio-dev kirigami2-dev kwayland-dev libepoxy-dev pipewire-dev plasma-framework-dev plasma-wayland-protocols qt5-qtbase-dev samurai xdg-desktop-portal-dev " subpackages="" case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/xdg-desktop-portal-kde-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=libexec cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build rm -rf "$pkgdir"/usr/lib/systemd } sha512sums=" 83cf7cac4f242ebf59e33206821179ead129d0969489aea9e8e2a34b772936f9306ecebda66c790524d51b0121465a0a344b591fd49deeff1bc005c4a623c95c xdg-desktop-portal-kde-5.27.6.tar.xz " options="$options !strip"