sys-power/gtherm: Version Bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
This commit is contained in:
42
sys-power/gtherm/gtherm-0.0.3.ebuild
Normal file
42
sys-power/gtherm/gtherm-0.0.3.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# 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"
|
||||
|
||||
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}"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user