diff --git a/srcpkgs/lxqt-config/template b/srcpkgs/lxqt-config/template index e1bc2dee513..2d4223912d5 100644 --- a/srcpkgs/lxqt-config/template +++ b/srcpkgs/lxqt-config/template @@ -1,7 +1,7 @@ # Template file for 'lxqt-config' pkgname=lxqt-config version=0.9.0 -revision=1 +revision=2 build_style=cmake configure_args="-DUSE_QT5=1" hostmakedepends="cmake pkg-config" @@ -12,3 +12,9 @@ license="LGPL-2.1" homepage="http://lxqt.org/" distfiles="http://downloads.lxqt.org/lxqt/${version}/${pkgname}-${version}.tar.xz" checksum=9d6b0d21846ac5d9c62c5806ce04383b92708ab7bd095b46d0ac9fbb3f84b913 + +pre_configure() { + # Need to explicitly include QObject with Qt5 >= 5.5.0 + sed -i lxqt-config-monitor/monitor.h \ + -e "/#include /i #include" +}