Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906901 - gui-apps/poweralertd-0.2.0.ebuild (New Package)
Summary: gui-apps/poweralertd-0.2.0.ebuild (New Package)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 18:39 UTC by ponky
Modified: 2023-06-13 17:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
gui-apps/poweralertd-0.2.0.ebuild (poweralertd-0.2.0.ebuild,870 bytes, text/plain)
2023-05-21 18:39 UTC, ponky
Details
Fixed .ebuild (poweralertd-0.2.0.ebuild,813 bytes, text/plain)
2023-06-13 17:29 UTC, ponky
Details

Note You need to log in before you can comment on or make changes to this bug.
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