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

22 lines
965 B
Bash

# Template file for 'xfce4-sensors-plugin'
pkgname=xfce4-sensors-plugin
version=1.4.4
revision=1
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale --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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
changelog="https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/raw/master/NEWS"
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=6c1605a738e5df40e084d08ac93f962cd445093396de1e9bfadc7ab4588c36b6
if [ "$CROSS_BUILD" ]; then
# Cannot detect these when cross compiling
configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"
fi