Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 906901

Summary: gui-apps/poweralertd-0.2.0.ebuild (New Package)
Product: Gentoo Linux Reporter: ponky
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gui-apps/poweralertd-0.2.0.ebuild
Fixed .ebuild

Description ponky 2023-05-21 18:39:41 UTC
Created attachment 862136 [details]
gui-apps/poweralertd-0.2.0.ebuild

Hi!

Please find attached poweralertd-0.2.0 (&-9999) ebuild.

Poweralertd is a UPower-powered power alerting software that uses notification daemon, such as mako, to send alerts on low battery, AC plugged/unplugged etc.
Comment 1 ponky 2023-05-24 20:18:38 UTC
Need to add virtual/notification-daemon in dependencies.
Comment 2 ponky 2023-05-25 11:42:11 UTC
Comment on attachment 862136 [details]
gui-apps/poweralertd-0.2.0.ebuild

># Copyright 1999-2023 Gentoo Authors
># Distributed under the terms of the GNU General Public License v2
>
>EAPI=8
>
>inherit meson systemd
>
>DESCRIPTION="UPower-powered power alerter"
>HOMEPAGE="https://sr.ht/~kennylevinsen/poweralertd/"
>
>if [[ ${PV} == 9999 ]]; then
>	inherit git-r3
>	EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/poweralertd"
>else
>	SRC_URI="https://git.sr.ht/~kennylevinsen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
>	KEYWORDS="~amd64 ~arm64 ~x86"
>fi
>
>LICENSE="GPL-3"
>SLOT="0"
>IUSE="elogind systemd"
>
>RDEPEND="
>	|| (
>		systemd? ( sys-apps/systemd )
>		elogind? ( sys-auth/elogind )
>		sys-libs/basu
>	)
>	sys-power/upower
        virtual/notification-daemon
>"
>DEPEND="
>	${RDEPEND}
>"
>BDEPEND="
>	app-text/scdoc
>	virtual/pkgconfig
>"
>
>src_configure() {
>	meson_src_configure
>}
>
>src_install() {
>	meson_src_install
>
>	systemd_newuserunit contrib/systemd-user/poweralertd.service.in poweralertd.service
>}
Comment 3 ponky 2023-06-13 17:29:27 UTC
Created attachment 863785 [details]
Fixed .ebuild