void-packages/srcpkgs/kf6-kdeclarative/template

27 lines
964 B
Bash

# Template file for 'kf6-kdeclarative'
pkgname=kf6-kdeclarative
version=6.2.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools gettext qt6-shadertools"
makedepends="kf6-kconfig-devel kf6-kglobalaccel-devel kf6-ki18n-devel
kf6-kwidgetsaddons-devel kf6-kguiaddons-devel qt6-shadertools-devel"
short_desc="KDE Integration of QML and KDE work spaces"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kdeclarative"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=a85c3f1599d229f052ee3786e9041ace5510c99844c8efc7bfc9ddaed1936d84
kf6-kdeclarative-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}