void-packages/srcpkgs/ksolid/template

29 lines
940 B
Bash

# Template file for 'ksolid'
pkgname=ksolid
version=5.55.0
revision=1
wrksrc="${pkgname#k}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config flex extra-cmake-modules qt5-host-tools
qt5-tools-devel qt5-declarative-devel"
makedepends="qt5-tools-devel qt5-declarative-devel"
depends="upower udisks2 media-player-info"
short_desc="KDE frameworks - Hardware integration and detection"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/solid"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#k}-${version}.tar.xz"
checksum=f68a9b56342313d641abc251dbb1cfdeb6a095be7bf9fdb1a864e0405e29bca1
ksolid-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}