# Template file for 'kf6-solid'
pkgname=kf6-solid
version=6.5.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base flex"
makedepends="qt6-base-devel"
depends="upower udisks2 media-player-info"
short_desc="Hardware integration and detection"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/solid"
#changelog=""
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=e8237c6c9617bef4bf5fc74461bb7417ca57afe15d4f54878cfe8c806e706a5c

kf6-solid-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
