Added gtherm
This commit is contained in:
parent
317945e9a2
commit
b3855d37c8
1
sys-power/gtherm/Manifest
Normal file
1
sys-power/gtherm/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST gtherm-0.0.2.tar.gz 39325 BLAKE2B 4ccf4d080de2c14014e4fac579b11a12e1007c7ed1aaf1d3e45f142e61f28a106d58c287315a3d0417552bab83e3ee8bce9a55cc344a1db0c6a0953a846f0ac7 SHA512 1241c19be3138dbe4e9d223236005a2eb7c1f3dbadd3bb3e083a273a0dd611acaf85e21df2c9d1f7ebe26afdefacfe0f7d2ba8960d18a3224a603b6e91e38a6b
|
42
sys-power/gtherm/gtherm-0.0.2.ebuild
Normal file
42
sys-power/gtherm/gtherm-0.0.2.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
|
||||||
|
}
|
8
sys-power/gtherm/metadata.xml
Normal file
8
sys-power/gtherm/metadata.xml
Normal file
@ -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>gjdijkman@gjdwebserver.nl</email>
|
||||||
|
<name>Gerben Jan Dijkman</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user