# Template file for 'libkf6screen'
pkgname=libkf6screen
version=6.2.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="pkg-config extra-cmake-modules qt6-tools qt6-base
 qt6-wayland-tools wayland-devel"
makedepends="qt6-wayland-devel libXrandr-devel qt6-base-private-devel
 kf6-kconfig-devel wayland-devel plasma-wayland-protocols"
short_desc="KDE screen management software"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/plasma/libkscreen"
distfiles="${KDE_SITE}/plasma/${version}/libkscreen-${version}.tar.xz"
checksum=b601873845b0504690d21248591c1ad2a99bbce35dbeac747c575cc321c4d485

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