From 9a4aa51c4a383101efe263d254ed4d9e5ca4b463 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 7 Jan 2017 12:07:44 +0000 Subject: [PATCH] lxqt-globalkeys: fix cross --- srcpkgs/lxqt-globalkeys/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/lxqt-globalkeys/template b/srcpkgs/lxqt-globalkeys/template index 85e74033441..8368e0e1675 100644 --- a/srcpkgs/lxqt-globalkeys/template +++ b/srcpkgs/lxqt-globalkeys/template @@ -4,7 +4,7 @@ version=0.11.1 revision=1 build_style=cmake configure_args="-DPULL_TRANSLATIONS=0" -hostmakedepends="pkg-config" +hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools" makedepends="liblxqt-devel" short_desc="LXQt daemon and library for global keyboard shortcuts registration" maintainer="Juan RP " @@ -13,6 +13,11 @@ homepage="http://lxqt.org/" distfiles="https://github.com/lxde/lxqt-globalkeys/releases/download/${version}/lxqt-globalkeys-${version}.tar.xz" checksum=18bdff9c909c6d7a7ef97fdbd8fc878d20633fdc29136d0799db33d88b7425f3 +post_configure() { + # Replace -isystem with -I to avoid "#include_next " file not found + find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \; +} + lxqt-globalkeys-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}"