kdelibs: nocross

FIXME: cross builds fail even with required dependencies installed
after building plasma_automoc.
This commit is contained in:
Jürgen Buchmüller 2017-12-22 01:06:34 +01:00
parent 225c5d2f00
commit 71cc21c6f9

View file

@ -25,9 +25,16 @@ makedepends="libressl-devel libSM-devel libXext-devel libXScrnSaver-devel
libopenexr-devel media-player-info shared-mime-info shared-desktop-ontologies"
depends="docbook-xsl media-player-info shared-mime-info
shared-desktop-ontologies hicolor-icon-theme ca-certificates"
nocross="Fails to build after plasma_automoc with cross dependencies installed"
CXXFLAGS="-std=gnu++98 -Wno-deprecated-declarations"
if [ -n "$CROSS_BUILD" ]; then
# FIXME: still does not work
hostmakedepends+=" shared-mime-info qt-qmake qt-host-tools"
makedepends+=" docbook-xsl"
fi
pre_configure() {
sed -i cmake/modules/FindKDE4Internal.cmake -e"s;_BSD_SOURCE;_DEFAULT_SOURCE;g"
}