lxqt-config: fix build with Qt5 >= 5.5.0
This commit is contained in:
parent
7abfcc53c9
commit
c0bc16e8c3
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lxqt-config'
|
# Template file for 'lxqt-config'
|
||||||
pkgname=lxqt-config
|
pkgname=lxqt-config
|
||||||
version=0.9.0
|
version=0.9.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DUSE_QT5=1"
|
configure_args="-DUSE_QT5=1"
|
||||||
hostmakedepends="cmake pkg-config"
|
hostmakedepends="cmake pkg-config"
|
||||||
|
@ -12,3 +12,9 @@ license="LGPL-2.1"
|
||||||
homepage="http://lxqt.org/"
|
homepage="http://lxqt.org/"
|
||||||
distfiles="http://downloads.lxqt.org/lxqt/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="http://downloads.lxqt.org/lxqt/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=9d6b0d21846ac5d9c62c5806ce04383b92708ab7bd095b46d0ac9fbb3f84b913
|
checksum=9d6b0d21846ac5d9c62c5806ce04383b92708ab7bd095b46d0ac9fbb3f84b913
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# Need to explicitly include QObject with Qt5 >= 5.5.0
|
||||||
|
sed -i lxqt-config-monitor/monitor.h \
|
||||||
|
-e "/#include <QStringList>/i #include<QObject>"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue