23 lines
859 B
Bash
23 lines
859 B
Bash
# Template file for 'xfce4-sensors-plugin'
|
|
pkgname=xfce4-sensors-plugin
|
|
version=1.3.92
|
|
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="Orphaned <orphan@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=3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Cannot detect these when cross compiling
|
|
configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"
|
|
fi
|