# Contributor: Rasmus Thomsen # Maintainer: Bart Ribbers pkgname=xdg-desktop-portal-kde pkgver=5.17.4 pkgrel=0 pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE" url="https://phabricator.kde.org/source/xdg-desktop-portal-kde" arch="all" license="LGPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev glib-dev kio-dev kwayland-dev libepoxy-dev pipewire-dev kcoreaddons xdg-desktop-portal cups-dev" subpackages="$pkgname-lang" source="https://download.kde.org/stable/plasma/$pkgver/xdg-desktop-portal-kde-$pkgver.tar.xz" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="2c4ce80e6a0bcc9486d1b3947c27f1af00870d6ffcf0b35c35bd7413683fae393f1b21646276c6200a41c2d5d98c84b440a8fdc3b0ac283466a45709fc151d1c xdg-desktop-portal-kde-5.17.4.tar.xz"