void-packages/srcpkgs/xfce4-sensors-plugin/template

21 lines
839 B
Bash

# Template file for 'xfce4-sensors-plugin'
pkgname=xfce4-sensors-plugin
version=1.3.0
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
makedepends="libsensors-devel xfce4-panel-devel libnotify-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Xfce hardware sensors plugin"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=b7a7834ca84f6751686fa2e20e0b44a2e68ece0cb2716792a765e03b92f65569
if [ "$CROSS_BUILD" ]; then
# Cannot detect these when cross compiling
configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"
fi