Install this version:
emerge -a =sys-power/gtherm-0.0.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-power/gtherm-0.0.3
Or alternatively:
emerge --autounmask-write -a =sys-power/gtherm-0.0.3
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_USE_DEPEND="vapigen"
inherit meson systemd vala
DESCRIPTION="A simple daemon to monitor thermal zones and cooling devices"
HOMEPAGE="https://source.puri.sm/Librem5/gtherm"
SRC_URI="https://source.puri.sm/Librem5/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="+introspection +vala"
REQUIRED_USE="vala? ( introspection )"
DEPEND="
dev-libs/gobject-introspection
dev-util/gdbus-codegen
vala? ( $(vala_depend) )
"
RDEPEND="${DEPEND}"
src_prepare() {
eapply_user
use vala && vala_src_prepare
}
src_install() {
meson_src_install
systemd_newuserunit "${S}"/debian/gthd.user.service "gthd.service"
}
pkg_postinst() {
systemd_reenable --global gthd
}
Manage flags for this package:
euse -i <flag> -p sys-power/gtherm |
euse -E <flag> -p sys-power/gtherm |
euse -D <flag> -p sys-power/gtherm
dev-libs/gobject-introspection dev-util/gdbus-codegen vala? ( $(vala_depend) )
dev-libs/gobject-introspection dev-util/gdbus-codegen vala? ( $(vala_depend) )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | gtherm-0.0.3.tar.gz | 39400 bytes | https://source.puri.sm/Librem5/gtherm/-/archive/v0.0.3/gtherm-v0.0.3.tar.gz |