lxqt-globalkeys: fix cross
This commit is contained in:
parent
4c7920de3a
commit
9a4aa51c4a
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@ version=0.11.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DPULL_TRANSLATIONS=0"
|
configure_args="-DPULL_TRANSLATIONS=0"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools"
|
||||||
makedepends="liblxqt-devel"
|
makedepends="liblxqt-devel"
|
||||||
short_desc="LXQt daemon and library for global keyboard shortcuts registration"
|
short_desc="LXQt daemon and library for global keyboard shortcuts registration"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
distfiles="https://github.com/lxde/lxqt-globalkeys/releases/download/${version}/lxqt-globalkeys-${version}.tar.xz"
|
||||||
checksum=18bdff9c909c6d7a7ef97fdbd8fc878d20633fdc29136d0799db33d88b7425f3
|
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() {
|
lxqt-globalkeys-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue