lxqt-globalkeys: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-01-07 13:58:34 +01:00
parent 9900244211
commit 5a02b3db5c

View file

@ -4,7 +4,7 @@ version=0.11.1
revision=1
build_style=cmake
configure_args="-DPULL_TRANSLATIONS=0"
hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools"
hostmakedepends="pkg-config qt5-host-tools liblxqt-devel"
makedepends="liblxqt-devel"
short_desc="LXQt daemon and library for global keyboard shortcuts registration"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -14,8 +14,7 @@ distfiles="https://github.com/lxde/lxqt-globalkeys/releases/download/${version}/
checksum=18bdff9c909c6d7a7ef97fdbd8fc878d20633fdc29136d0799db33d88b7425f3
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" \;
find -name flags.make -exec sed -i "{}" -e"s;-isystem;-I;g" \;
}
lxqt-globalkeys-devel_package() {