void-packages/srcpkgs/kf6-kdeclarative/template

27 lines
964 B
Bash

# Template file for 'kf6-kdeclarative'
pkgname=kf6-kdeclarative
version=6.7.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=f1f804f6bac2b229503cfd165ebd8ae093533888ae15e0e61474c6e328d535b9
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"
}
}