# Template file for 'kf6-kwayland'
pkgname=kf6-kwayland
version=6.1.4
revision=1
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=8691c06e65ac2c739de4842c0d1219579efb4ae1864b8614dc74a4645dd59774

kf6-kwayland-devel_package() {
	short_desc+=" - development"
	depends="${sourcepkg}-${version}_${revision} qt6-base-devel"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
