summaryrefslogtreecommitdiff
path: root/sys-power
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-23 14:56:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-23 14:56:14 +0100
commitb818f6a820dceae80d6e3faac5fdf7be0c6fcbe2 (patch)
treeecc35732c51ff9d610d4a9e0cc77e940ef5ac9da /sys-power
parent2bae4d8bcdc3862f8d7cf1963acc0a9036762d2d (diff)
gentoo auto-resync : 23:08:2024 - 14:56:14
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/Manifest.gzbin5574 -> 5572 bytes
-rw-r--r--sys-power/powerstat/Manifest4
-rw-r--r--sys-power/powerstat/powerstat-0.04.03.ebuild33
-rw-r--r--sys-power/powerstat/powerstat-9999.ebuild13
-rw-r--r--sys-power/thermald/Manifest2
-rw-r--r--sys-power/thermald/thermald-2.5.8.ebuild55
6 files changed, 103 insertions, 4 deletions
diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz
index ca6bf6bddb55..521e2c3f4112 100644
--- a/sys-power/Manifest.gz
+++ b/sys-power/Manifest.gz
Binary files differ
diff --git a/sys-power/powerstat/Manifest b/sys-power/powerstat/Manifest
index 7f280b8eed7f..acd2ef2ae4fb 100644
--- a/sys-power/powerstat/Manifest
+++ b/sys-power/powerstat/Manifest
@@ -1,4 +1,6 @@
DIST powerstat-0.02.27.tar.gz 62629 BLAKE2B d7fe4b517d9a4d91003c7a263ed77bba24457ce20639e420658c3735176952f3283e2bbc64ec597d88b6206e431c29f75ea9b133331a6652f021f667d9466ccc SHA512 3bbab9ed88000b277d75f94d9d3e180944d6c8619cf5e7e8b783c9d303fadde47fe9347e93ac7f54c52687afb456bc26c590712486f589602f93058cd144922f
+DIST powerstat-0.04.03.tar.gz 63790 BLAKE2B d8cc04873ebdeafa642a3c2676f7f5e91b9573e067c6f23928c577c87c8e73532baa47052f0ba99910a828c1c398a7e79d51409b383ae961826c76a92699a38e SHA512 41655929d498720373a9dfc736d7a29987529dbb92643d2883da3cfda4935a4574893962651ce87e43929c070202086ba21317c034f346720c3d9683cf9523b7
EBUILD powerstat-0.02.27.ebuild 623 BLAKE2B 1bac35e7ee1d6cc1bc09a790367b789e6f36c64901c1cb7d31a0b8a65f90988f43cb644d7c5a71fae3671d7a017259641353b2e1aea8328a1ce42951f2ff6978 SHA512 e4fc461c3766dbb337a4cdded195bdf3418cd2d1b0c1065f9e0c886af6e233b005fa23983aa82e2ed05ab891779301958976af618865ebf5ea9f00b1bf706b08
-EBUILD powerstat-9999.ebuild 581 BLAKE2B ac6a10db8d99cf580e178b3d41fb8e945755017803304f0f53499697a494ccf4b28c24b3e1607d98c018b3c69d893ecc6ffd27c63f71b65bace6d15448c6bc69 SHA512 dfd27fc7fe702b73b41475eae2d21dbf8455039f03be18172ce79f02a3d4dc6b1d45be91d87a1e875179c2e6aee82d1b4a7b8983174db4f1aa09050ff3c6ea7e
+EBUILD powerstat-0.04.03.ebuild 760 BLAKE2B 54b4cdc759f4bce02c958ab0966aeb605d52b0e3f676951fb4faf33988478d3540355b6af0afc4e235eb8c28f00d5085ee32a9d68cc733afb10b71a8ee52e9e3 SHA512 f02e4ee5ce28754c1969b47470c87d83fa6235a1c241c5601440e87354c4c73985eba312ddf167a00bc5c47c4598bf78e7e4e5a0d8a1037db26b8ad4a53a5ab5
+EBUILD powerstat-9999.ebuild 718 BLAKE2B 84ea99dc97f9c62a606c31583fd66c6313f03cd68930e1fd31bf16ece22d1a370c7a28d0a2c99eda2f8074aa013fd1cd0b410746a9505195f5619d194276458b SHA512 3c9184556beba50f0094fae9e64db3c658a986e542c3064c45564dfd08cf494ac18dbbeaf699003b6598d012a76e515d592aaf9aa59450bbf36c2136f950fbc2
MISC metadata.xml 889 BLAKE2B 0829f5e6e664ad6ad12b22a9c3c42ef72bbd4abc29221d88c954428eb3c768c80b5f3c65896cac6093e485f4d89d9891f25ce772b12f1239617e2e28db1dd3c2 SHA512 d7b814fb2ac9f2307f0988e877b1a7314f2b2763d87d073dddf0bab3ddc79fe8c095560c46ddf25adc92c5258460864e1b310e77f8410c4d88f0989e7948edd2
diff --git a/sys-power/powerstat/powerstat-0.04.03.ebuild b/sys-power/powerstat/powerstat-0.04.03.ebuild
new file mode 100644
index 000000000000..82bd7c280e91
--- /dev/null
+++ b/sys-power/powerstat/powerstat-0.04.03.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs
+
+DESCRIPTION="Laptop power measuring tool"
+HOMEPAGE="https://launchpad.net/ubuntu/+source/powerstat https://github.com/ColinIanKing/powerstat"
+SRC_URI="https://github.com/ColinIanKing/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ default
+
+ # Don't compress manpages, respect CFLAGS
+ sed -i -e '/install:/s/ powerstat.8.gz//' \
+ -e '/cp powerstat.8/s/.gz//' \
+ -e '/CFLAGS += -Wall/s| -O2||' \
+ Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ default
+ dobashcomp bash-completion/powerstat
+}
diff --git a/sys-power/powerstat/powerstat-9999.ebuild b/sys-power/powerstat/powerstat-9999.ebuild
index 0f707208abf8..a4538d1cb047 100644
--- a/sys-power/powerstat/powerstat-9999.ebuild
+++ b/sys-power/powerstat/powerstat-9999.ebuild
@@ -3,11 +3,12 @@
EAPI=8
-inherit git-r3 toolchain-funcs
+EGIT_REPO_URI="https://github.com/ColinIanKing/${PN}.git"
+
+inherit bash-completion-r1 git-r3 toolchain-funcs
DESCRIPTION="Laptop power measuring tool"
HOMEPAGE="https://launchpad.net/ubuntu/+source/powerstat https://github.com/ColinIanKing/powerstat"
-EGIT_REPO_URI="https://github.com/ColinIanKing/${PN}.git"
LICENSE="GPL-2+"
SLOT="0"
@@ -15,12 +16,18 @@ SLOT="0"
src_prepare() {
default
- # Don't compress manpages
+ # Don't compress manpages, respect CFLAGS
sed -i -e '/install:/s/ powerstat.8.gz//' \
-e '/cp powerstat.8/s/.gz//' \
+ -e '/CFLAGS += -Wall/s| -O2||' \
Makefile || die "sed failed"
}
src_compile() {
emake CC="$(tc-getCC)"
}
+
+src_install() {
+ default
+ dobashcomp bash-completion/powerstat
+}
diff --git a/sys-power/thermald/Manifest b/sys-power/thermald/Manifest
index 6835838cd190..4646e3ef5ce5 100644
--- a/sys-power/thermald/Manifest
+++ b/sys-power/thermald/Manifest
@@ -1,4 +1,6 @@
AUX thermald 385 BLAKE2B 3ffb7f013a3c0f7fbffab5386173e157617229c9c0a36bd9e6bec1f7d7892ae6dee314be21d95000b6086d60cd51112e40b057f7e102c5c1d77d09ccb856c56d SHA512 70420ee1d41d20c2c540467865b98bf98d51f7e23b3d4c80a94e06e039dfa6fb931cafab98d2c66c8fd1f35eea4b49c0e2ddc4eea81fb7654f11c977305ca4d6
DIST thermald-2.5.7.tar.gz 182761 BLAKE2B d812e1a7e0b55dd5d06ff491183ad0061acb79d2c80a6a248456821676bd3728e28a5d6b23d8fe2565ca8424830f095de8595e85bdfc514f17418af50d7e7284 SHA512 49699eb2a3f3d1197e680a39ecba767a1f11a5d4209671d30152f1e126f7c48b650909c4dd90c496a7857b0fa9ad6fc8c5a849413a8e544b3d5f62d8acfc8268
+DIST thermald-2.5.8.tar.gz 179188 BLAKE2B a00844e0147fdb104881624ba1ecbaa565155e4554b218b04b0edd4434f552e2bcc047e6eaada30b0e63b702a75318392ef8c39a8013003377c3e9ee80e694ab SHA512 d74d487e0fa0b51289b4cda2d9094eef6467993a8ca9ba5e2ac8af2fb8e7b9283116ca0647e604ab4d3c445657b31869201287d5ceace0221f7717b0a2cd244d
EBUILD thermald-2.5.7.ebuild 1332 BLAKE2B dc252bdc593ffd4a06423810a7367ad9331cfd06620b87edef72f3333ad722958942bb267048e8418aad01a76f4ce8b46ce0fd1be81d017e225976417183eebf SHA512 9c0ac1e948bc510a90082537887541bdcbf58e60fd4c08800a17c77aee41c917c079510a53b5175eb83358c1c5e33a3cf29baa3a64bca3c78426e36dfbf9df58
+EBUILD thermald-2.5.8.ebuild 1312 BLAKE2B 6a89caa911575bb652d18299d6ac79408eb88a1c9d4e594165830000c8d8a0afddbe5c79a138a53d8e411ac3e0443524e4e076e48a5af4f2054c4a7fdd3b281f SHA512 398593a3ee629d6c562aa4cb3dcd4daef4c99ae8b09871d618b4dcd5d8228823b1dd8aeb71e81ba9d7cdb296af9c32248f5db403c18324f50eea7d20871d1313
MISC metadata.xml 648 BLAKE2B dc9cd4601c2577a6c7df13c8511586e2fdaee12f587cf31b0abd10dc637dbec8bf0a6e17672a935738f8929d5057c8b83a4bccb551b420c5de52b63f395a39f2 SHA512 9c1d353d16359f135b32850fa9fd52023994fe4148258b05564e6bc01b5a1c93aea0588e137aa24c382ad6587e0791d31176b3dcee25970a11a0b8efa01256c3
diff --git a/sys-power/thermald/thermald-2.5.8.ebuild b/sys-power/thermald/thermald-2.5.8.ebuild
new file mode 100644
index 000000000000..6f4162a4d8a5
--- /dev/null
+++ b/sys-power/thermald/thermald-2.5.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info out-of-source systemd
+
+DESCRIPTION="Thermal daemon for Intel architectures"
+HOMEPAGE="https://github.com/intel/thermal_daemon"
+SRC_URI="https://github.com/intel/thermal_daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/thermal_daemon-${PV}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/glib:=
+ dev-libs/libxml2:=
+ dev-libs/libevdev
+ sys-power/upower
+ sys-apps/dbus:="
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc
+ dev-util/glib-utils"
+
+DOCS=( thermal_daemon_usage.txt README.txt )
+
+CONFIG_CHECK="~PERF_EVENTS_INTEL_RAPL ~X86_INTEL_PSTATE ~INTEL_POWERCLAMP ~INT340X_THERMAL ~ACPI_THERMAL_REL ~INT3406_THERMAL"
+
+src_prepare() {
+ sed -i -e '/tdrundir/s@\$localstatedir/run@\$runstatedir@' \
+ configure.ac || die
+
+ sed -i -e 's@\$(AM_V_GEN) glib-compile-resources@cd \$(top_srcdir) \&\& &@' \
+ Makefile.am || die
+
+ default
+ eautoreconf
+}
+
+my_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ --disable-werror \
+ --runstatedir="${EPREFIX}"/run \
+ --with-dbus-power-group=wheel \
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+my_src_install_all() {
+ einstalldocs
+
+ rm -rf "${ED}"/etc/init || die
+ doinitd "${FILESDIR}"/thermald
+}