void-packages/srcpkgs/xdg-desktop-portal-kde/template

26 lines
1.0 KiB
Bash

# Template file for 'xdg-desktop-portal-kde'
pkgname=xdg-desktop-portal-kde
version=6.1.1
revision=1
build_style=cmake
configure_args="-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools gettext
wayland-devel plasma-wayland-protocols pkg-config qt6-wayland-tools"
makedepends="kf6-kio-devel kf6-kdeclarative-devel kf6-kirigami-devel
kf6-kstatusnotifieritem-devel libplasma-devel kf6-kwayland-devel
qt6-base-private-devel qt6-wayland-devel
libepoxy-devel pipewire-devel glib-devel"
depends="xdg-desktop-portal"
checkdepends="dbus python3-gobject"
short_desc="Backend implementation for xdg-desktop-portal that is using Qt/KF6"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/xdg-desktop-portal-kde"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=bc81542d6ff792046438277909d403137fd5b1caffa22349bddd0f14ff442804
do_check() {
cd build
dbus-run-session ctest -E colorschemetest
}