void-packages/srcpkgs/ksolid/template
2021-09-21 09:39:51 +02:00

34 lines
1,019 B
Bash

# Template file for 'ksolid'
pkgname=ksolid
version=5.86.0
revision=1
wrksrc="${pkgname#k}-${version}"
build_style=cmake
hostmakedepends="kcoreaddons 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 <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/solid"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#k}-${version}.tar.xz"
checksum=a0862c0c78102705be5f36b2b45e2e2ceb0d7e443dc3251dbd7baf03f3218b6d
libksolid_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
ksolid-devel_package() {
short_desc+=" - development files"
depends="${makedepends} lib${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}