diff --git a/srcpkgs/deepin-system-monitor/template b/srcpkgs/deepin-system-monitor/template index 43c88f71077..f7eca081e10 100644 --- a/srcpkgs/deepin-system-monitor/template +++ b/srcpkgs/deepin-system-monitor/template @@ -1,7 +1,7 @@ # Template file for 'deepin-system-monitor' pkgname=deepin-system-monitor version=5.0.0 -revision=1 +revision=2 build_style=qmake hostmakedepends="qt5-qmake pkg-config qt5-host-tools" makedepends="dtkwm-devel dtkwidget-devel qt5-x11extras-devel libpcap-devel @@ -15,6 +15,8 @@ changelog="https://github.com/linuxdeepin/deepin-system-monitor/blob/${version}/ distfiles="https://github.com/linuxdeepin/deepin-system-monitor/archive/${version}.tar.gz" checksum=5af4f6c321719937f47a07929bc94dd4de8b64a977bcc32355620d2606ee0de9 +CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DWm" + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-x11extras-devel" fi