From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/tlp/
Date: Wed, 12 Oct 2022 23:41:32 +0000 (UTC) [thread overview]
Message-ID: <1665617963.24e01c69286c0aae15052c4c6bdf3efce8a2fa16.sam@gentoo> (raw)
commit: 24e01c69286c0aae15052c4c6bdf3efce8a2fa16
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 23:39:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 23:39:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e01c69
sys-power/tlp: tweak whitespace
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-power/tlp/tlp-1.5.0.ebuild | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/sys-power/tlp/tlp-1.5.0.ebuild b/sys-power/tlp/tlp-1.5.0.ebuild
index 8eb8387f0e60..58c6a1db7a7d 100644
--- a/sys-power/tlp/tlp-1.5.0.ebuild
+++ b/sys-power/tlp/tlp-1.5.0.ebuild
@@ -6,24 +6,21 @@ EAPI=8
inherit udev optfeature
DESCRIPTION="Optimize laptop battery life"
-
HOMEPAGE="https://linrunner.de/tlp/"
-
SRC_URI="https://github.com/linrunner/TLP/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
S="${WORKDIR}/TLP-${PV}"
LICENSE="GPL-2"
-
SLOT="0"
-
KEYWORDS="~amd64"
# It's uncertain if elogind/systemd is actually required, however, without the sleep
# hooks working, which require one of them, it doesn't seem like this app is very useful.
-RDEPEND="virtual/udev
+RDEPEND="
dev-lang/perl
- || ( sys-auth/elogind sys-apps/systemd )"
+ virtual/udev
+ || ( sys-auth/elogind sys-apps/systemd )
+"
src_install() {
emake \
@@ -33,9 +30,9 @@ src_install() {
TLP_WITH_SYSTEMD=1 \
install install-man
- fperms 444 "/usr/share/tlp/defaults.conf" # manpage says this file should not be edited
+ fperms 444 /usr/share/tlp/defaults.conf # manpage says this file should not be edited
newinitd "${FILESDIR}/tlp.init" tlp
- keepdir "/var/lib/tlp" # created by Makefile, probably important
+ keepdir /var/lib/tlp # created by Makefile, probably important
}
pkg_postinst() {
next reply other threads:[~2022-10-12 23:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-12 23:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-03 19:13 [gentoo-commits] repo/gentoo:master commit in: sys-power/tlp/ Sam James
2023-09-18 9:20 Sam James
2023-09-18 9:20 Sam James
2023-09-18 16:39 Joonas Niilola
2023-12-01 22:17 Patrick McLean
2024-06-13 18:59 Arthur Zamarin
2024-06-13 20:49 Sam James
2024-10-25 7:31 Yixun Lan
2024-11-23 20:15 Arthur Zamarin
2024-11-24 10:24 Andreas Sturmlechner
2024-11-24 10:24 Andreas Sturmlechner
2025-03-12 19:24 Jay Faulkner
2025-03-12 19:24 Jay Faulkner
2025-03-12 19:24 Jay Faulkner
2025-03-12 20:42 Jay Faulkner
2025-04-30 21:43 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1665617963.24e01c69286c0aae15052c4c6bdf3efce8a2fa16.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox