lxqt-globalkeys: fix cross

This commit is contained in:
Michael Gehring 2017-01-07 12:07:44 +00:00
parent 4c7920de3a
commit 9a4aa51c4a
1 changed files with 6 additions and 1 deletions

View File

@ -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 <xtraeme@voidlinux.eu>"
@ -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 <stdlib.h>" 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}"