-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-power/poweralertd: new package, add 0.3.0
- Loading branch information
1 parent
1231988
commit d809aff
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
BDEPEND=man? ( app-text/scdoc ) >=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array | ||
DEFINED_PHASES=compile configure install test | ||
DEPEND=sys-power/upower elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd ) !elogind? ( !systemd? ( sys-libs/basu ) ) | ||
DESCRIPTION=UPower-powered power alerter | ||
EAPI=8 | ||
HOMEPAGE=https://sr.ht/~kennylevinsen/poweralertd | ||
INHERIT=meson | ||
IUSE=elogind systemd man | ||
KEYWORDS=~amd64 | ||
LICENSE=GPL-3 | ||
RDEPEND=sys-power/upower elogind? ( sys-auth/elogind ) systemd? ( sys-apps/systemd ) !elogind? ( !systemd? ( sys-libs/basu ) ) | ||
REQUIRED_USE=?? ( elogind systemd ) | ||
SLOT=0 | ||
SRC_URI=https://git.sr.ht/~kennylevinsen/poweralertd/archive/0.3.0.tar.gz -> poweralertd-0.3.0.tar.gz | ||
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea meson 99466844dd8d4fcfb07578a76f5a9922 | ||
_md5_=1ecf50b520e6278b02789b501d020091 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST poweralertd-0.3.0.tar.gz 40774 BLAKE2B e53b2d2f3a041b95a5ce236ef4fabd5de60a125ed1c7ea6e1716148572077c3dccd14191dbb74b4c260598dd0ea55c25debf3a5984cafad19ab4af249361b481 SHA512 db1760b536059607677781b4ac91811aedebb083ca3af90c5b328a9dd4bdd916bb0d89f553a2bf6066f88b91dcf11cb7ded35cda9f7085467138aa29c12d4ea1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<name>Benjamin Neff</name> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="sourcehut">~kennylevinsen/poweralertd</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit meson | ||
|
||
DESCRIPTION="UPower-powered power alerter" | ||
HOMEPAGE="https://sr.ht/~kennylevinsen/poweralertd" | ||
SRC_URI="https://git.sr.ht/~kennylevinsen/poweralertd/archive/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
IUSE="elogind systemd man" | ||
REQUIRED_USE="?? ( elogind systemd )" | ||
|
||
DEPEND=" | ||
sys-power/upower | ||
elogind? ( sys-auth/elogind ) | ||
systemd? ( sys-apps/systemd ) | ||
!elogind? ( !systemd? ( sys-libs/basu ) ) | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="man? ( app-text/scdoc )" | ||
|
||
src_configure() { | ||
local emesonargs=( | ||
$(meson_feature man man-pages) | ||
) | ||
meson_src_configure | ||
} |