void-packages/srcpkgs/kwayland-server/template

27 lines
906 B
Bash

# Template file for 'kwayland-server'
pkgname=kwayland-server
version=5.22.1
revision=1
build_style=cmake
build_helper="qemu"
configure_args="-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools
qt5-wayland plasma-wayland-protocols pkg-config wayland-devel"
makedepends="kwayland-devel wayland-protocols"
short_desc="Wayland server components built on KDE Frameworks"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/kwayland-server"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=8c76ed9a33e729b58901fbe36e1c8c0c7c79f9582504f9ccee8e0174a6c2953d
kwayland-server-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}