void-packages/srcpkgs/lxqt-config/template
2015-08-30 08:52:52 +02:00

20 lines
671 B
Bash

# Template file for 'lxqt-config'
pkgname=lxqt-config
version=0.9.0
revision=2
build_style=cmake
configure_args="-DUSE_QT5=1"
hostmakedepends="cmake pkg-config"
makedepends="liblxqt-devel libqtxdg-devel libXcursor-devel"
short_desc="LXQt System Settings"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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 <QStringList>/i #include<QObject>"
}