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.2.0
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=800684c5bbcdbd41dbc8bfcba8eda9a27a0db9f0f72099d18246fb7940764ffc
do_check() {
cd build
dbus-run-session ctest -E colorschemetest
}