void-packages/srcpkgs/kf6-kwayland/template

27 lines
964 B
Bash

# Template file for 'kf6-kwayland'
pkgname=kf6-kwayland
version=6.0.5
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kf6-kcoreaddons pkg-config extra-cmake-modules qt6-tools qt6-base
wayland-devel"
makedepends="qt6-tools-devel MesaLib-devel wayland-devel wayland-protocols qt6-wayland-private-devel
libxkbcommon-devel plasma-wayland-protocols qt6-base-private-devel"
short_desc="Qt-style client and server library wrapper for Wayland libraries"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/kwayland"
distfiles="${KDE_SITE}/plasma/${version}/kwayland-${version}.tar.xz"
checksum=a8b88411d2ad9497e27d6dbd95d647de5ebe6314561e7a8d935fd79b2fe7ae84
kf6-kwayland-devel_package() {
short_desc+=" - development"
depends="${makedepends//private-} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}