summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/RyzenAdj/RyzenAdj-0.15.0.ebuild2
-rw-r--r--sys-power/autosuspend/metadata.xml2
-rw-r--r--sys-power/nut/nut-2.8.2.ebuild4
-rw-r--r--sys-power/nut/nut-9999.ebuild2
-rw-r--r--sys-power/pmtools/Manifest1
-rw-r--r--sys-power/pmtools/pmtools-20110323-r2.ebuild53
-rw-r--r--sys-power/pmtools/pmtools-20130209.ebuild2
-rw-r--r--sys-power/power-profiles-daemon/power-profiles-daemon-0.23.ebuild2
-rw-r--r--sys-power/sandmann-bin/Manifest3
-rw-r--r--sys-power/sandmann-bin/metadata.xml4
-rw-r--r--sys-power/sandmann-bin/sandmann-bin-1.2.ebuild (renamed from sys-power/sandmann-bin/sandmann-bin-1.0.ebuild)13
-rw-r--r--sys-power/sandmann-bin/sandmann-bin-1.3.1.ebuild59
-rw-r--r--sys-power/suspend/files/suspend-1.0_p20200924-Use-pkgconf-for-libgcrypt.patch18
-rw-r--r--sys-power/suspend/files/suspend-1.0_p20200924-fix-loff_t-for-musl.patch24
-rw-r--r--sys-power/suspend/suspend-1.0_p20200924.ebuild8
-rw-r--r--sys-power/throttled/Manifest1
-rw-r--r--sys-power/throttled/throttled-0.11.ebuild49
-rw-r--r--sys-power/tlp/Manifest2
-rw-r--r--sys-power/tlp/tlp-1.7.0-r1.ebuild (renamed from sys-power/tlp/tlp-1.6.1.ebuild)20
-rw-r--r--sys-power/wluma/wluma-4.3.0-r3.ebuild (renamed from sys-power/wluma/wluma-4.3.0-r2.ebuild)0
-rw-r--r--sys-power/wluma/wluma-4.4.0-r2.ebuild (renamed from sys-power/wluma/wluma-4.4.0-r1.ebuild)0
21 files changed, 188 insertions, 81 deletions
diff --git a/sys-power/RyzenAdj/RyzenAdj-0.15.0.ebuild b/sys-power/RyzenAdj/RyzenAdj-0.15.0.ebuild
index c605ed842519..bee51f1a6cc4 100644
--- a/sys-power/RyzenAdj/RyzenAdj-0.15.0.ebuild
+++ b/sys-power/RyzenAdj/RyzenAdj-0.15.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/FlyGoat/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
LICENSE="LGPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
DEPEND="sys-apps/pciutils"
RDEPEND="${DEPEND}"
diff --git a/sys-power/autosuspend/metadata.xml b/sys-power/autosuspend/metadata.xml
index 619a131e65bd..5db034802580 100644
--- a/sys-power/autosuspend/metadata.xml
+++ b/sys-power/autosuspend/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Florian Schmaus</name>
diff --git a/sys-power/nut/nut-2.8.2.ebuild b/sys-power/nut/nut-2.8.2.ebuild
index 9a6702956acb..6e1213d48302 100644
--- a/sys-power/nut/nut-2.8.2.ebuild
+++ b/sys-power/nut/nut-2.8.2.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://networkupstools.org/source/${PV%.*}/${MY_P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" # waiting for ~arch of dev-libs/libgpiod: ~ppc ~ppc64
+ KEYWORDS="amd64 arm ~arm64 ~riscv x86" # waiting for ~arch of dev-libs/libgpiod: ~ppc ~ppc64
fi
S="${WORKDIR}/${MY_P}"
@@ -61,7 +61,7 @@ BDEPEND="
RDEPEND="
${DEPEND}
monitor? ( $(python_gen_cond_dep '
- dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+ dev-python/pyqt5[gui,widgets,${PYTHON_USEDEP}]
')
)
selinux? ( sec-policy/selinux-nut )
diff --git a/sys-power/nut/nut-9999.ebuild b/sys-power/nut/nut-9999.ebuild
index 9a6702956acb..6cfe1784c38b 100644
--- a/sys-power/nut/nut-9999.ebuild
+++ b/sys-power/nut/nut-9999.ebuild
@@ -61,7 +61,7 @@ BDEPEND="
RDEPEND="
${DEPEND}
monitor? ( $(python_gen_cond_dep '
- dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+ dev-python/pyqt5[gui,widgets,${PYTHON_USEDEP}]
')
)
selinux? ( sec-policy/selinux-nut )
diff --git a/sys-power/pmtools/Manifest b/sys-power/pmtools/Manifest
index f01fbcc156ae..5359167ede0e 100644
--- a/sys-power/pmtools/Manifest
+++ b/sys-power/pmtools/Manifest
@@ -1,2 +1 @@
-DIST pmtools-20110323.tar.gz 62002 BLAKE2B f1de2e266d72c8a69a61df0fc57bc0b27e9a4fc89f840e893b8fbb1bc93ec54dc5f502a1066d17d082341c99b829189911d558261409455fd1db368924fbea59 SHA512 81108c011b45c58c02013a3653c2d00bc2a9a9d80bf85438a193a4fed04a3fd2890d9cd4d64ab455e3e9c1613d35a6be59698395d9a27ca0a858e3935439bafd
DIST pmtools-20130209.tar.gz 52952 BLAKE2B bf628f458f8bddb4dc7d18866026c0e45343c88686a57121a2bb5856c0816c90a85bb67636a77258530b18b8e4e72868d991eefb280741f60ac5ac8a90bbc75b SHA512 696af0967caed1ff51411c1bc5b01cbb300f465cb3c28d9d5b1d456d85a50d173a343e32a162fa1ea836f825365997c9bdf109595be737c7e01391b9d7ace6c5
diff --git a/sys-power/pmtools/pmtools-20110323-r2.ebuild b/sys-power/pmtools/pmtools-20110323-r2.ebuild
deleted file mode 100644
index 6905ae1212e8..000000000000
--- a/sys-power/pmtools/pmtools-20110323-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Collection of tools for ACPI and power management"
-HOMEPAGE="https://github.com/anyc/pmtools/"
-SRC_URI="https://github.com/anyc/pmtools/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/pmtools"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="doc"
-
-RDEPEND="
- dev-lang/perl
- >=sys-power/iasl-20090521
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch
- "${FILESDIR}"/${PN}-20100123-madt.patch
- "${FILESDIR}"/${PN}-20071116-64bit.patch
- "${FILESDIR}"/${PN}-20101124-cflags-ldflags.patch
-)
-
-src_prepare() {
- default
-
- # update version info
- sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c || die
-
- strip-unsupported-flags
-}
-
-src_compile() {
- # respect user's LDFLAGS
- emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
- newbin acpidump/acpidump acpidump-pmtools
- newbin acpixtract/acpixtract acpixtract-pmtools
- dobin madt/madt
-
- dodoc README
- docinto madt
- dodoc madt/README
- use doc && dodoc madt/APIC*
-}
diff --git a/sys-power/pmtools/pmtools-20130209.ebuild b/sys-power/pmtools/pmtools-20130209.ebuild
index b0f2450048c8..3f799aace8e6 100644
--- a/sys-power/pmtools/pmtools-20130209.ebuild
+++ b/sys-power/pmtools/pmtools-20130209.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/anyc/pmtools/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE="doc"
# dev-lang/perl - RDEPEND for the pmtest tooling, which only works on much older kernels.
diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.23.ebuild b/sys-power/power-profiles-daemon/power-profiles-daemon-0.23.ebuild
index fda723bbfe4a..55f670859d3d 100644
--- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.23.ebuild
+++ b/sys-power/power-profiles-daemon/power-profiles-daemon-0.23.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit meson python-single-r1 shell-completion systemd
diff --git a/sys-power/sandmann-bin/Manifest b/sys-power/sandmann-bin/Manifest
index 0b4301de274d..af4f6453daa4 100644
--- a/sys-power/sandmann-bin/Manifest
+++ b/sys-power/sandmann-bin/Manifest
@@ -1 +1,2 @@
-DIST sandmann-1.0.tar.xz 16661756 BLAKE2B 06a2ce44a0498987ce1dfafaa0aee560c2deef69efc7cfd6191dd12e265be21b15b167d7adc01066343a777cf66c88b2ec5d95f46fede003f80676966ad95ad3 SHA512 e9f5f41b4f2bf45f7d4528baf593f4f120e5a9c4eacf13a4c0961ba66f8ed5877abb3f10b6b35679dc56f2e55e80e0cc6bb3a42800859ff40354b0a750b16d66
+DIST sandmann-1.2.tar.xz 16868444 BLAKE2B b4e6bfefedc31af3b1fcb9c5b05349a23eb6150296dff6ee74a6626e6f6914a244bb7bb22ece4a28daa699f3291f1b7194307f1b524ed0c8ab924587e5b001f6 SHA512 44a3287f61361d0594988715ef8d302d772dbec40a50054c5091642cbba18ef006ddb59e52303f9482ddb66de6006ef340b3726be7486cdb40092302e5aa5501
+DIST sandmann-1.3.1.tar.xz 16884480 BLAKE2B 6e16eae03f7ab43d5c3807b43587dbf65047ed86196623748e499eba20d6347bd074ff6ed167f7301c7cfdc746654811428f16569bd1b8a6ebb3cb3b660cf7f0 SHA512 8aaead9ff9b711737eecff49edee042b32fdbc194b67f99a6bfbca6a8915442cd60d505ce070685915fa7aae6b0fecd7eb5c55096580bf3f8f525650eddbd8cc
diff --git a/sys-power/sandmann-bin/metadata.xml b/sys-power/sandmann-bin/metadata.xml
index 7bb88979e30d..9e9e9d6a99b7 100644
--- a/sys-power/sandmann-bin/metadata.xml
+++ b/sys-power/sandmann-bin/metadata.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Florian Schmaus</name>
<email>flow@gentoo.org</email>
</maintainer>
<upstream>
- <remote-id type="gitlab">Flow/sandmann</remote-id>
+ <remote-id type="gitlab">flow/sandmann</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sys-power/sandmann-bin/sandmann-bin-1.0.ebuild b/sys-power/sandmann-bin/sandmann-bin-1.2.ebuild
index d42f123b88a5..62f852a65ff8 100644
--- a/sys-power/sandmann-bin/sandmann-bin-1.0.ebuild
+++ b/sys-power/sandmann-bin/sandmann-bin-1.2.ebuild
@@ -9,27 +9,24 @@ MY_PN=${PN%-bin}
MY_P=${MY_PN}-${PV}
DESCRIPTION="An autosuspend and wakeup daemon"
-HOMEPAGE="https://gitlab.com/Flow/sandmann"
+HOMEPAGE="https://gitlab.com/flow/sandmann"
SRC_URI="https://geekplace.eu/projects/${MY_PN}/archive/${MY_P}.tar.xz"
-KEYWORDS="amd64"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3+ LGPL-3"
SLOT="0"
+KEYWORDS="amd64"
+
# >=java-config-2.3.2 to get the libdir fix.
RDEPEND="
acct-user/sandmann
>=dev-java/java-config-2.3.2
sys-apps/systemd
sys-auth/polkit
- || (
- virtual/jre:17
- virtual/jre:21
- )
+ >=virtual/jre-17
"
-S="${WORKDIR}/${MY_P}"
-
src_prepare() {
default
sed -i \
diff --git a/sys-power/sandmann-bin/sandmann-bin-1.3.1.ebuild b/sys-power/sandmann-bin/sandmann-bin-1.3.1.ebuild
new file mode 100644
index 000000000000..62f852a65ff8
--- /dev/null
+++ b/sys-power/sandmann-bin/sandmann-bin-1.3.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-utils-2 systemd tmpfiles
+
+MY_PN=${PN%-bin}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="An autosuspend and wakeup daemon"
+HOMEPAGE="https://gitlab.com/flow/sandmann"
+SRC_URI="https://geekplace.eu/projects/${MY_PN}/archive/${MY_P}.tar.xz"
+
+S="${WORKDIR}/${MY_P}"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+
+KEYWORDS="amd64"
+
+# >=java-config-2.3.2 to get the libdir fix.
+RDEPEND="
+ acct-user/sandmann
+ >=dev-java/java-config-2.3.2
+ sys-apps/systemd
+ sys-auth/polkit
+ >=virtual/jre-17
+"
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's|^ExecStart=.*|ExecStart=/usr/bin/sandmann|' \
+ sandmann.service || die
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ local my_emake_args=(
+ DESTDIR="${D}"
+ SYSTEMD_SYSTEM_UNIT_DIR="$(systemd_get_systemunitdir)"
+ TARGET_BINARY=
+ SOURCELESS_INSTALL=true
+ )
+
+ emake ${my_emake_args[@]} install
+
+ java-pkg_newjar out/main/assembly.dest/out.jar sandmann.jar
+ java-pkg_dolauncher sandmann
+
+ dodoc README.md
+}
+
+pkg_postinst() {
+ tmpfiles_process sandmann.conf
+}
diff --git a/sys-power/suspend/files/suspend-1.0_p20200924-Use-pkgconf-for-libgcrypt.patch b/sys-power/suspend/files/suspend-1.0_p20200924-Use-pkgconf-for-libgcrypt.patch
new file mode 100644
index 000000000000..ea77ab450e71
--- /dev/null
+++ b/sys-power/suspend/files/suspend-1.0_p20200924-Use-pkgconf-for-libgcrypt.patch
@@ -0,0 +1,18 @@
+diff --git a/configure.ac b/configure.ac
+index 5f3adb5..b7f21eb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -211,7 +211,12 @@ fi
+ if test "${enable_encrypt}" = "yes"; then
+ CONFIG_FEATURES="${CONFIG_FEATURES} encrypt"
+ AC_DEFINE([CONFIG_ENCRYPT], [1], [Define if encryption enabled])
+- AM_PATH_LIBGCRYPT([1:1.6.3], [], [AC_MSG_ERROR([Cannot locate >=libgcrypt-1.6.3])])
++ PKG_CONFIG="pkg-config --static"
++ PKG_CHECK_MODULES([LIBGCRYPT],
++ [libgcrypt >= 1.6.3],
++ ,
++ [AC_MSG_ERROR("Cannot locate >=libgcrypt-1.6.3")]
++ )
+ fi
+
+ if test "${enable_splashy}" = "yes"; then
diff --git a/sys-power/suspend/files/suspend-1.0_p20200924-fix-loff_t-for-musl.patch b/sys-power/suspend/files/suspend-1.0_p20200924-fix-loff_t-for-musl.patch
new file mode 100644
index 000000000000..37a77118f0c7
--- /dev/null
+++ b/sys-power/suspend/files/suspend-1.0_p20200924-fix-loff_t-for-musl.patch
@@ -0,0 +1,24 @@
+diff --git a/configure.ac b/configure.ac
+index 5f3adb5..0c544c8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -126,6 +126,7 @@ AC_CHECK_PROGS([M4], [m4])
+ AC_CHECK_PROG(PERL, perl, perl)
+
+ AC_SYS_LARGEFILE
++AC_USE_SYSTEM_EXTENSIONS
+
+ if test "${enable_create_device}" = "yes"; then
+ AC_CHECK_PROGS([MKNOD], [mknod])
+diff --git a/swsusp.h b/swsusp.h
+index 5f89902..6f4863e 100644
+--- a/swsusp.h
++++ b/swsusp.h
+@@ -9,6 +9,7 @@
+ *
+ */
+
++#include "config.h"
+ #include <stdint.h>
+ #include <linux/fs.h>
+ #include <linux/suspend_ioctls.h>
diff --git a/sys-power/suspend/suspend-1.0_p20200924.ebuild b/sys-power/suspend/suspend-1.0_p20200924.ebuild
index 56be503b7da8..b4d67354418a 100644
--- a/sys-power/suspend/suspend-1.0_p20200924.ebuild
+++ b/sys-power/suspend/suspend-1.0_p20200924.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -32,7 +32,11 @@ BDEPEND="
S="${WORKDIR}/${PN}"
-PATCHES=( "${WORKDIR}/${P}.patch" )
+PATCHES=(
+ "${WORKDIR}/${P}.patch"
+ "${FILESDIR}/${PN}-1.0_p20200924-Use-pkgconf-for-libgcrypt.patch"
+ "${FILESDIR}/${PN}-1.0_p20200924-fix-loff_t-for-musl.patch"
+ )
src_prepare() {
default
diff --git a/sys-power/throttled/Manifest b/sys-power/throttled/Manifest
index 67d1fc89509a..466cd33cd682 100644
--- a/sys-power/throttled/Manifest
+++ b/sys-power/throttled/Manifest
@@ -1 +1,2 @@
DIST throttled-0.10.0.gh.tar.gz 22191 BLAKE2B c301ee070ff462acd613c90525209eb5237c57e7171bf25133535f9c9a50d226b919065d8f6999f95b45f7f0d4c30e63abb5e04ec768d76b3c82dd19f092a693 SHA512 b89c467295bfc592d7b3ce0c4a41fedf436acf8067f8ef63d8596b92343ed8e04d371d065a9e35fdddba40772f12255c30960c2c46f0cbd5093bfc5e72fb4e18
+DIST throttled-0.11.gh.tar.gz 22195 BLAKE2B d45b8fe04c92dfd2903c1777a3d2bd017cfa4d4f740fa7f7dfc384b4ca902552b386f3e92112dcc57bd6b25644c9bf63a987f9ad4d7c81d3bcfa0a445c1cedfa SHA512 f60ce27d17abd6ddd7db6b77a80ac80e129fba24bbc2d21608d1cc8ed2b0131dac2f53d3fea07ac24f994850146e553c6d4c7fc0dedffee109a1aa6df8684c7a
diff --git a/sys-power/throttled/throttled-0.11.ebuild b/sys-power/throttled/throttled-0.11.ebuild
new file mode 100644
index 000000000000..955b3325dd7f
--- /dev/null
+++ b/sys-power/throttled/throttled-0.11.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit linux-info python-single-r1 systemd
+
+DESCRIPTION="Daemon to work around throttling issues on some Intel laptops"
+HOMEPAGE="https://github.com/erpalma/throttled"
+SRC_URI="https://github.com/erpalma/throttled/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+CONFIG_CHECK="~X86_MSR ~DEVMEM"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ ')
+ sys-apps/pciutils
+ test? ( dev-python/pytest-import-check )
+"
+
+pkg_setup() {
+ linux-info_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_test() {
+ epytest -p no:python --import-check mmio.py throttled.py
+}
+
+src_install() {
+ default
+ python_newscript throttled.py throttled
+ python_domodule mmio.py
+ newinitd "${FILESDIR}/throttled.initd" throttled
+ systemd_dounit "${FILESDIR}/throttled.service"
+ insinto /etc
+ doins etc/throttled.conf
+}
diff --git a/sys-power/tlp/Manifest b/sys-power/tlp/Manifest
index 798da5e2b3d3..68e509588b5e 100644
--- a/sys-power/tlp/Manifest
+++ b/sys-power/tlp/Manifest
@@ -1 +1 @@
-DIST tlp-1.6.1.tar.gz 143688 BLAKE2B e7ddc8c792bf9911204556f6845da27e0c8722b5dc25b4b855c044a7d6b27662b6bad607532b631ea3766651f43321fda21ca1b51a01955d113ba838700d0182 SHA512 de88c4b4ae7d742eeec2bce7e43ccd99f971620541edc416471a46cb76a4f0c072821348d6c7f7fc44e7c70f2e3cde231d74546424ece533b2b2f531aee22b79
+DIST tlp-1.7.0.tar.gz 151003 BLAKE2B 3dbd600921fe29d6adc4d195000087c969b4be8f8c3b6052cf411ad820f06c47e31e2cf93a0c33f822491f1cf2420fd6cf1193d45846b067975b4efbb3e5407e SHA512 db6777dff1b253f63941271d39b3785646ad15b4351a4a647ec748d9beabcc891b70d4070d0ce5b01919024e7560eac6ee858b720f8ec0a5535c51513ccf7a3d
diff --git a/sys-power/tlp/tlp-1.6.1.ebuild b/sys-power/tlp/tlp-1.7.0-r1.ebuild
index 8c81e057e0fc..9932188670b3 100644
--- a/sys-power/tlp/tlp-1.6.1.ebuild
+++ b/sys-power/tlp/tlp-1.7.0-r1.ebuild
@@ -23,17 +23,25 @@ RDEPEND="
"
src_install() {
- emake \
- DESTDIR="${D}" \
- TLP_NO_INIT=1 \
- TLP_ELOD=/$(get_libdir)/elogind/system-sleep \
- TLP_WITH_ELOGIND=1 \
- TLP_WITH_SYSTEMD=1 \
+ # NOTE(JayF): TLP_WITH_ELOGIND/TLP_WITH_SYSTEMD are both only installing
+ # small init/config files.
+ 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() {
diff --git a/sys-power/wluma/wluma-4.3.0-r2.ebuild b/sys-power/wluma/wluma-4.3.0-r3.ebuild
index 1956879e63c8..1956879e63c8 100644
--- a/sys-power/wluma/wluma-4.3.0-r2.ebuild
+++ b/sys-power/wluma/wluma-4.3.0-r3.ebuild
diff --git a/sys-power/wluma/wluma-4.4.0-r1.ebuild b/sys-power/wluma/wluma-4.4.0-r2.ebuild
index dbaaedafd98b..dbaaedafd98b 100644
--- a/sys-power/wluma/wluma-4.4.0-r1.ebuild
+++ b/sys-power/wluma/wluma-4.4.0-r2.ebuild