36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'kdesignerplugin'
|
|
pkgname=kdesignerplugin
|
|
version=5.99.0
|
|
revision=1
|
|
build_style=cmake
|
|
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 <me@johnnynator.dev>"
|
|
license="LGPL-2.1-only"
|
|
homepage="https://invent.kde.org/frameworks/kdesignerplugin"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
|
|
checksum=aee65abd481e2cb8d900b52b9e1bf6c74f71ff7eaa621f562c6285d06d497d73
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools 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
|
|
}
|
|
}
|