31 lines
994 B
Bash
31 lines
994 B
Bash
# Template file for 'psensor'
|
|
pkgname=psensor
|
|
version=1.2.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config glib-devel automake gettext-devel-tools"
|
|
makedepends="gtk+3-devel udisks2-devel libgtop-devel json-c-devel
|
|
libsensors-devel libatasmart-devel libcurl-devel libnotify-devel
|
|
libayatana-appindicator-devel libmicrohttpd-devel"
|
|
depends="lm_sensors"
|
|
short_desc="Graphical hardware temperature monitor for Linux"
|
|
maintainer="Foxlet <foxlet@furcode.co>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://wpitchoune.net/psensor"
|
|
changelog="https://gitlab.com/jeanfi/psensor/-/raw/master/NEWS"
|
|
distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz"
|
|
checksum=084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab
|
|
disable_parallel_build=yes
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" help2man"
|
|
fi
|
|
|
|
post_extract() {
|
|
vsed -e 's/-Werror//g' -i tests/Makefile.in src/lib/Makefile.in src/server/Makefile.in
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|