36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'ksolid'
|
|
pkgname=ksolid
|
|
version=5.72.0
|
|
revision=1
|
|
wrksrc="${pkgname#k}-${version}"
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
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=d3228ac90f0aa203340cac1bc0c0fd1d2c77b6c94a811d52409d8608d1477e9f
|
|
|
|
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"
|
|
}
|
|
}
|