kdesignerplugin: attempt to fix cross

This commit is contained in:
Jürgen Buchmüller 2018-02-22 07:27:09 +01:00
parent bd1a6bf0c1
commit ddcc092efa
1 changed files with 4 additions and 1 deletions

View File

@ -16,9 +16,12 @@ checksum=bfabe42cf4e667cabaa2754ea80decd4a53cff769951a530e0f218f9f42e695e
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools python kdesignerplugin kdoctools"
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
configure_args+=" -DKF5DESIGNERPLUGIN_GENERATOR_EXECUTABLE=/usr/bin/kgendesignerplugin"
fi
pre_configure() {
sed -i KF5DesignerPluginConfig.cmake -e "s;KF5::;/usr/bin/;"
}
kdesignerplugin-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"