void-packages/srcpkgs/kf6-kdeclarative/template

27 lines
964 B
Bash

# Template file for 'kf6-kdeclarative'
pkgname=kf6-kdeclarative
version=6.3.0
revision=2
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=807d83c487759ed54085ce514a80fb3aecea04ef98ee0ea306668fb6d5a46dce
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"
}
}