void-packages/srcpkgs/kdesignerplugin/template
2019-04-15 03:11:12 +02:00

36 lines
1.1 KiB
Bash

# Template file for 'kdesignerplugin'
pkgname=kdesignerplugin
version=5.57.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kdoctools-devel kplotting-devel kcoreaddons-devel
kconfig-devel"
depends="kgendesignerplugin>=${version}_${revision}"
short_desc="Integrating KDE frameworks widgets with Qt Designer"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-only"
homepage="https://projects.kde.org/projects/frameworks/kdesignerplugin"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9e85a4ac798122b459722773a6e81f639be6dfe9c9714a16704f555c88334393
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools python kgendesignerplugin kdoctools"
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
fi
kgendesignerplugin_package() {
short_desc+=" - tool"
pkg_install() {
vmove usr/bin/kgendesignerplugin
}
}
kdesignerplugin-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
}
}