void-packages/srcpkgs/deepin-system-monitor/template

23 lines
909 B
Bash

# Template file for 'deepin-system-monitor'
pkgname=deepin-system-monitor
version=5.0.0
revision=2
build_style=qmake
hostmakedepends="qt5-qmake pkg-config qt5-host-tools"
makedepends="dtkwm-devel dtkwidget-devel qt5-x11extras-devel libpcap-devel
procps-ng-devel libxcb-devel libXtst-devel xcb-util-devel"
depends="qt5integration"
short_desc="User-friendly system monitor for Deepin"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/deepin-system-monitor"
changelog="https://github.com/linuxdeepin/deepin-system-monitor/blob/${version}/CHANGELOG.md"
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