kdesignerplugin: kgendesignerplugin subpackage

This commit is contained in:
Jürgen Buchmüller 2018-02-22 13:19:08 +01:00
parent 59bdf89e7d
commit 70d727f06c
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kdesignerplugin'
pkgname=kdesignerplugin
version=5.43.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
@ -12,9 +12,10 @@ license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdesignerplugin"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=bfabe42cf4e667cabaa2754ea80decd4a53cff769951a530e0f218f9f42e695e
depends="kgendesignerplugin>=${version}_${revision}"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools python kdesignerplugin kdoctools"
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools python kgendesignerplugin kdoctools"
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
fi
@ -26,6 +27,13 @@ post_configure() {
fi
}
kgendesignerplugin_package() {
short_desc+=" - tool"
pkg_install() {
vmove usr/bin/kgendesignerplugin
}
}
kdesignerplugin-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

1
srcpkgs/kgendesignerplugin Symbolic link
View File

@ -0,0 +1 @@
kdesignerplugin