kwindowsystem: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-01-02 21:37:24 +01:00
parent c671cd0ffb
commit cb5e5cef54

View file

@ -1,10 +1,10 @@
# Template file for 'kwindowsystem'
pkgname=kwindowsystem
version=5.29.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="pkg-config extra-cmake-modules qt5-qmake qt5-host-tools qt5-tools-devel"
configure_args="-DBUILD_TESTING=OFF -DCMAKE_VERBOSE_MAKEFILE=ON"
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel libXfixes-devel xcb-util-keysyms-devel"
short_desc="KDE frameworks - Access to the windowing system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -13,9 +13,10 @@ homepage="https://projects.kde.org/projects/frameworks/kwindowsystem"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=361eebfebc753019d3b507c5b758dfb878c032b41c9062930bc46239618e7fa5
# /usr/arm-linux-gnueabihf/usr/include/c++/6.2.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
# #include_next <stdlib.h>
nocross="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/3036/steps/shell_3/logs/stdio"
post_configure() {
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \;
}
kwindowsystem-devel_package() {
short_desc+=" - development"