diff --git a/srcpkgs/lxqt-powermanagement/template b/srcpkgs/lxqt-powermanagement/template index 64c4c009ab..0f8dc5e319 100644 --- a/srcpkgs/lxqt-powermanagement/template +++ b/srcpkgs/lxqt-powermanagement/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-host-tools qt5-svg-devel liblxqt-devel" makedepends="qt5-svg-devel liblxqt-devel ksolid-devel kidletime-devel" short_desc="LXQt power management module" maintainer="Juan RP " @@ -12,3 +12,7 @@ license="LGPL-2.1" homepage="http://lxqt.org/" distfiles="https://github.com/lxde/lxqt-powermanagement/releases/download/${version}/lxqt-powermanagement-${version}.tar.xz" checksum=6acebb2407400bca52bb1f167f786d4343e37fdb5c7c8b1c34358bcdad1099d6 + +post_configure() { + find -name flags.make -exec sed -i "{}" -e"s;-isystem;-I;g" \; +}