From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/cpupower/
Date: Thu, 15 Aug 2024 16:37:57 +0000 (UTC) [thread overview]
Message-ID: <1723739740.593f9e32e502942955c42eb3b9a76850f9da1223.floppym@gentoo> (raw)
commit: 593f9e32e502942955c42eb3b9a76850f9da1223
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 15 16:35:40 2024 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 16:35:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=593f9e32
sys-power/cpupower: add 6.10
Closes: https://bugs.gentoo.org/929960
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-power/cpupower/Manifest | 1 +
sys-power/cpupower/cpupower-6.10.ebuild | 61 +++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest
index 81aebc5d268f..cc8c6a513765 100644
--- a/sys-power/cpupower/Manifest
+++ b/sys-power/cpupower/Manifest
@@ -1,2 +1,3 @@
+DIST cpupower-6.10.tar.xz 96672 BLAKE2B 379e1ce6a098fcbb8a16e1388a096e19503eda83babb0179cf056adadf655ad67ddb5bb2c702f4e8b929301c4cdc60690ed10c1823faed048f2d2b4449fadeaa SHA512 58734cead2a0366e08edff5864b1d28b4af1473c860d7b032a880279a792c3d545f97a9349fb00bbd90fbaced817e31b5e4a8ea5d2c4d0bc9a40e51df4fca0e6
DIST cpupower-6.2.tar.xz 97292 BLAKE2B 08812ff41bb488d72fb9686e1d40bd369669832f5e23c13b06d14a418209c5db57ebed10a3e17ffd7102d20c0905a72c166dd0cfc4af999aba9d4a1aa38c14c5 SHA512 e7d910865da3cb3a1ff1595f67271e586b40244567226f8aa84b744a57add7e582e7d0ec0709ca31e7ec49a46d48d21957763f9d4fc7cd892fe014da86ee6cb0
DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab3020496eecde7d8352ecda0eb71a25b21becf7ce93fc593507dce7d1cd61b94ddcdf82b3094d79c0d3d48508eeb SHA512 dbbc9d1395898a498fa4947fceda1781344fa5d360240f753810daa4fa88e519833e2186c4e582a8f1836e6413e9e85f6563c7770523b704e8702d67622f98b5
diff --git a/sys-power/cpupower/cpupower-6.10.ebuild b/sys-power/cpupower/cpupower-6.10.ebuild
new file mode 100644
index 000000000000..37a30e496d42
--- /dev/null
+++ b/sys-power/cpupower/cpupower-6.10.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2013-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="Shows and sets processor power related values"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0/0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="nls"
+
+# File collision w/ headers of the deprecated cpufrequtils
+RDEPEND="sys-apps/pciutils"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${FILESDIR}/cpupower-5.4-cflags.patch"
+)
+
+src_configure() {
+ export bindir="${EPREFIX}/usr/bin"
+ export sbindir="${EPREFIX}/usr/sbin"
+ export mandir="${EPREFIX}/usr/share/man"
+ export includedir="${EPREFIX}/usr/include"
+ export libdir="${EPREFIX}/usr/$(get_libdir)"
+ export localedir="${EPREFIX}/usr/share/locale"
+ export docdir="${EPREFIX}/usr/share/doc/${PF}"
+ export confdir="${EPREFIX}/etc"
+ export bash_completion_dir="${EPREFIX}/usr/share/bash-completion/completions"
+ export V=1
+ export NLS=$(usex nls true false)
+}
+
+src_compile() {
+ myemakeargs=(
+ AR="$(tc-getAR)"
+ CC="$(tc-getCC)"
+ LD="$(tc-getCC)"
+ )
+ emake -C tools/power/cpupower "${myemakeargs[@]}"
+}
+
+src_install() {
+ cd tools/power/cpupower || die
+ emake "${myemakeargs[@]}" DESTDIR="${D}" install
+ doheader lib/cpupower.h
+ einstalldocs
+
+ newconfd "${FILESDIR}"/conf.d-r2 cpupower
+ newinitd "${FILESDIR}"/init.d-r4 cpupower
+
+ systemd_dounit "${FILESDIR}"/cpupower-frequency-set.service
+ systemd_install_serviced "${FILESDIR}"/cpupower-frequency-set.service.conf
+}
next reply other threads:[~2024-08-15 16:38 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-15 16:37 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-15 19:49 [gentoo-commits] repo/gentoo:master commit in: sys-power/cpupower/ Mike Gilbert
2024-08-15 16:37 Mike Gilbert
2024-04-24 17:59 Arthur Zamarin
2024-04-24 17:59 Arthur Zamarin
2024-04-24 17:42 Arthur Zamarin
2024-04-24 17:21 Arthur Zamarin
2024-04-24 17:14 Arthur Zamarin
2024-01-07 6:28 Sam James
2023-06-21 4:41 Arthur Zamarin
2023-06-03 4:00 Mike Gilbert
2023-06-03 3:59 Mike Gilbert
2023-06-01 20:16 Sam James
2023-06-01 20:12 Sam James
2023-06-01 20:12 Sam James
2023-06-01 20:04 Sam James
2022-06-03 18:56 Mike Gilbert
2022-06-03 18:56 Mike Gilbert
2022-01-10 23:00 Sam James
2022-01-09 20:08 Sam James
2022-01-09 20:08 Sam James
2022-01-09 10:25 Sam James
2021-08-27 1:48 Mike Gilbert
2021-01-03 19:40 Sam James
2021-01-03 19:40 Sam James
2020-12-06 20:50 Mike Gilbert
2020-12-06 20:48 Mike Gilbert
2020-02-01 18:01 Mike Gilbert
2019-11-25 22:10 Mike Gilbert
2019-11-25 22:10 Mike Gilbert
2019-10-05 18:56 Michał Górny
2017-12-21 21:16 Patrice Clement
2017-10-09 14:44 Sergei Trofimovich
2017-10-09 14:44 Sergei Trofimovich
2017-10-09 14:44 Sergei Trofimovich
2017-10-03 15:08 Sergei Trofimovich
2017-10-03 15:08 Sergei Trofimovich
2017-10-03 8:25 Sergei Trofimovich
2017-09-12 19:13 Mike Gilbert
2017-09-11 3:38 Mike Gilbert
2017-09-11 3:08 Mike Gilbert
2017-06-15 9:54 Agostino Sarubbo
2017-06-14 7:49 Agostino Sarubbo
2016-12-11 22:19 Mike Gilbert
2016-08-07 3:37 Mike Gilbert
2016-08-06 10:17 Pacho Ramos
2016-06-02 20:48 Mike Gilbert
2016-06-02 19:22 Mike Gilbert
2015-12-03 16:37 Mike Gilbert
2015-09-20 16:10 Mike Gilbert
2015-09-20 16:10 Mike Gilbert
2015-09-20 9:30 Agostino Sarubbo
2015-08-27 9:58 Agostino Sarubbo
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=1723739740.593f9e32e502942955c42eb3b9a76850f9da1223.floppym@gentoo \
--to=floppym@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