Added PPP packages agian

This commit is contained in:
2024-05-18 19:13:56 +02:00
parent 0075079246
commit e363beceb7
50 changed files with 1854 additions and 0 deletions

View 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
}