# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=xdg-desktop-portal-kde arch=('x86_64') pkgver=${_plasmaver} pkgrel=1 pkgdesc="A backend implementation for xdg-desktop-portal that is using Qt/KDE" url="https://invent.kde.org/plasma/xdg-desktop-portal-kde" license=('GPL' 'LGPL' 'FDL') depends=('kcoreaddons6' 'kconfig6' 'ki18n6' 'kguiaddons6' 'kglobalaccel6' 'kio6' 'kirigami6' 'knotifications6' 'kservice6' 'kwidgetsaddons6' 'kwindowsystem6' 'kiconthemes6' 'kstatusnotifieritem' 'kwayland' 'libepoxy' 'pipewire' 'xdg-desktop-portal' 'cups' 'kio-fuse') makedepends=('extra-cmake-modules') conflicts=('xdg-desktop-portal-kde6') replaces=('xdg-desktop-portal-kde6') source=("https://download.kde.org/unstable/plasma/${_plasmaver}/${pkgname}-${_plasmaver}.tar.xz") md5sums=(`grep ${pkgname}-${_plasmaver}.tar.xz ../kf6.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }