diff options
author | Marco Scardovi <marco@scardovi.com> | 2021-06-23 22:20:35 +0200 |
---|---|---|
committer | Marco Scardovi <marco@scardovi.com> | 2021-06-23 22:20:57 +0200 |
commit | 546b8e64ce7b3564be247a1ce7bc049510bb9da9 (patch) | |
tree | 3cfc742e361b5c0a958ff642ac8f70f81d4c0247 /sys-power | |
parent | app-misc/broot: bump to 1.6.1 (diff) | |
download | guru-546b8e64ce7b3564be247a1ce7bc049510bb9da9.tar.gz guru-546b8e64ce7b3564be247a1ce7bc049510bb9da9.tar.bz2 guru-546b8e64ce7b3564be247a1ce7bc049510bb9da9.zip |
sys-power/gtherm: add new package
gtherm is the temperature daemon for mobile phone/tablets
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco@scardovi.com>
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/gtherm/Manifest | 1 | ||||
-rw-r--r-- | sys-power/gtherm/gtherm-0.0.2.ebuild | 41 | ||||
-rw-r--r-- | sys-power/gtherm/metadata.xml | 8 |
3 files changed, 50 insertions, 0 deletions
diff --git a/sys-power/gtherm/Manifest b/sys-power/gtherm/Manifest new file mode 100644 index 000000000..2e0a68465 --- /dev/null +++ b/sys-power/gtherm/Manifest @@ -0,0 +1 @@ +DIST gtherm-0.0.2.tar.gz 39325 BLAKE2B 4ccf4d080de2c14014e4fac579b11a12e1007c7ed1aaf1d3e45f142e61f28a106d58c287315a3d0417552bab83e3ee8bce9a55cc344a1db0c6a0953a846f0ac7 SHA512 1241c19be3138dbe4e9d223236005a2eb7c1f3dbadd3bb3e083a273a0dd611acaf85e21df2c9d1f7ebe26afdefacfe0f7d2ba8960d18a3224a603b6e91e38a6b diff --git a/sys-power/gtherm/gtherm-0.0.2.ebuild b/sys-power/gtherm/gtherm-0.0.2.ebuild new file mode 100644 index 000000000..1602dc4a3 --- /dev/null +++ b/sys-power/gtherm/gtherm-0.0.2.ebuild @@ -0,0 +1,41 @@ +# 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=" + vala? ( $(vala_depend) ) + dev-libs/gobject-introspection +" +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 +} diff --git a/sys-power/gtherm/metadata.xml b/sys-power/gtherm/metadata.xml new file mode 100644 index 000000000..144c8091c --- /dev/null +++ b/sys-power/gtherm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marco@scardovi.com</email> + <name>Marco Scardovi</name> + </maintainer> +</pkgmetadata> |