36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'kdesignerplugin'
|
|
pkgname=kdesignerplugin
|
|
version=5.47.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="kdoctools-devel kplotting-devel kdewebkit-devel"
|
|
short_desc="Integrating KDE frameworks widgets with Qt Designer"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2"
|
|
homepage="https://projects.kde.org/projects/frameworks/kdesignerplugin"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=2fe41d35f59367f1228b8de3490d4ae88c464e04c98a9c25a0970b899d944d46
|
|
depends="kgendesignerplugin>=${version}_${revision}"
|
|
|
|
if [ -n "$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
|
|
}
|
|
}
|