diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-25 03:02:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-25 03:02:44 +0000 |
commit | 7f0b7329b3aa78ea82792fdf68ab48415fe4cc35 (patch) | |
tree | 5c9f3c3f65f2be496e4d9778fdeb4d0da2207c29 /sys-power | |
parent | 530a5a826feeb71085fb8a01927f4d775a0b131b (diff) |
gentoo auto-resync : 25:11:2024 - 03:02:44
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/Manifest.gz | bin | 5587 -> 5587 bytes | |||
-rw-r--r-- | sys-power/tlp/Manifest | 4 | ||||
-rw-r--r-- | sys-power/tlp/tlp-1.6.1.ebuild | 48 | ||||
-rw-r--r-- | sys-power/tlp/tlp-1.7.0-r1.ebuild (renamed from sys-power/tlp/tlp-1.7.0.ebuild) | 18 |
4 files changed, 13 insertions, 57 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz Binary files differindex f5943293ccd0..415a817628aa 100644 --- a/sys-power/Manifest.gz +++ b/sys-power/Manifest.gz diff --git a/sys-power/tlp/Manifest b/sys-power/tlp/Manifest index 660a1c0e8e7a..9897033b097e 100644 --- a/sys-power/tlp/Manifest +++ b/sys-power/tlp/Manifest @@ -1,6 +1,4 @@ AUX tlp.init 337 BLAKE2B 612bbf72ce36991cdf07f350325d52938d80b0fa1e11a6c1b6c1c98d2b00972b33a7517410c96b4454ac6e1180070ddeadad79df034dd378dac7c74c9dfe4aba SHA512 d9c260b3f5ea2e5a82a855913c403606522fd6b15e26a11456e56d3d7a82045c9abd63db381b89ee6b3fa5e213f38f3bfca7659e188a6b3a5827db272349bffb -DIST tlp-1.6.1.tar.gz 143688 BLAKE2B e7ddc8c792bf9911204556f6845da27e0c8722b5dc25b4b855c044a7d6b27662b6bad607532b631ea3766651f43321fda21ca1b51a01955d113ba838700d0182 SHA512 de88c4b4ae7d742eeec2bce7e43ccd99f971620541edc416471a46cb76a4f0c072821348d6c7f7fc44e7c70f2e3cde231d74546424ece533b2b2f531aee22b79 DIST tlp-1.7.0.tar.gz 151003 BLAKE2B 3dbd600921fe29d6adc4d195000087c969b4be8f8c3b6052cf411ad820f06c47e31e2cf93a0c33f822491f1cf2420fd6cf1193d45846b067975b4efbb3e5407e SHA512 db6777dff1b253f63941271d39b3785646ad15b4351a4a647ec748d9beabcc891b70d4070d0ce5b01919024e7560eac6ee858b720f8ec0a5535c51513ccf7a3d -EBUILD tlp-1.6.1.ebuild 1197 BLAKE2B 0a6d145e44864c0b2487d9b1c8b3bcca3dfb12982084e5d13245e73f438ae6c06ee84abdf4f38bf72dba75527daf98e003439b46df6bb978cc73b97c59453ed4 SHA512 9e9da5848f163cf7b59ebb8d9bc4349cba5e7910fd3f08e4d2937fa9f4a0936d3f952793555ccd675841518177629c7203df26e0ec46a6a859f0a2b367b0cd88 -EBUILD tlp-1.7.0.ebuild 1311 BLAKE2B 342a46030cc7a8d3f2b185253a77069dc3bca926b6a41b1811b78d4e9de32a3c2f89045dd3c8ec4d90d7c1e25a5c513e9f3c12cd392decb386fabf2fbe83a56b SHA512 49112aa0142e07f2cd9e3b3224707bf5059408b29693568da90e82b114b7aed6f6ec55ada8ab9186b4d94ca8241cb75b7a7245d24587ba61eff3c2cbb5fb38eb +EBUILD tlp-1.7.0-r1.ebuild 1542 BLAKE2B 7f954791a31e8a9716f1fc8a59bc5ab2bed01a3838cf4b260679fcda0513f6d41d2cd1b1690334ad01ee1b85dbc3fd8584ca301e0988d958d072e3562cfd1b70 SHA512 4137c6f39b2d647a11f674d61d2b930134dc5af8fc6031975e9ea7c7f237a02a5acea177e85fad3b191f4af73af29d0305fcebba36781477e5bcee0344a9e83c MISC metadata.xml 659 BLAKE2B d626047b39c900047ccc6772acb9e876f783b9ce633abe6f97971cf535df134fb8e620122c5fe25357a6fadc93fc38a7ec50c08fe3cbdaa09b523ba1d644338c SHA512 88677604a0144e2862d71f521c577e6d39480f60071d666810263429db50a5610b82ea9f3902e161434b02e42e39b1f7818ea3a97bb15d0f5c319d83da780be0 diff --git a/sys-power/tlp/tlp-1.6.1.ebuild b/sys-power/tlp/tlp-1.6.1.ebuild deleted file mode 100644 index 8c81e057e0fc..000000000000 --- a/sys-power/tlp/tlp-1.6.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -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=" - dev-lang/perl - virtual/udev - || ( sys-auth/elogind sys-apps/systemd ) -" - -src_install() { - emake \ - DESTDIR="${D}" \ - TLP_NO_INIT=1 \ - TLP_ELOD=/$(get_libdir)/elogind/system-sleep \ - TLP_WITH_ELOGIND=1 \ - TLP_WITH_SYSTEMD=1 \ - install install-man - - 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 -} - -pkg_postinst() { - udev_reload - - optfeature "disable Wake-on-LAN" sys-apps/ethtool - optfeature "see disk drive health info in tlp-stat" sys-apps/smartmontools -} - -pkg_postrm() { - udev_reload -} diff --git a/sys-power/tlp/tlp-1.7.0.ebuild b/sys-power/tlp/tlp-1.7.0-r1.ebuild index 4945297e5355..9932188670b3 100644 --- a/sys-power/tlp/tlp-1.7.0.ebuild +++ b/sys-power/tlp/tlp-1.7.0-r1.ebuild @@ -25,17 +25,23 @@ RDEPEND=" src_install() { # NOTE(JayF): TLP_WITH_ELOGIND/TLP_WITH_SYSTEMD are both only installing # small init/config files. - emake \ - DESTDIR="${D}" \ - TLP_NO_INIT=1 \ - TLP_ELOD=/$(get_libdir)/elogind/system-sleep \ - TLP_WITH_ELOGIND=1 \ - TLP_WITH_SYSTEMD=1 \ + local myemakeargs=( + DESTDIR="${D}" + TLP_NO_INIT=1 + TLP_ELOD=/usr/lib/elogind/system-sleep + TLP_WITH_ELOGIND=1 + TLP_WITH_SYSTEMD=1 install install-man + ) + emake "${myemakeargs[@]}" 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 + + # <elogind-255.5 used a different path (bug #939216), keep a compat symlink + # TODO: cleanup after 255.5 been stable for a few months + dosym {/usr/lib,/"$(get_libdir)"}/elogind/system-sleep/49-tlp-sleep } pkg_postinst() { |