From 3b08f674e3f771b49370edb144dab0958c8cf721 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 31 Aug 2021 08:59:54 +0100 Subject: gentoo resync : 31.08.2021 --- sys-power/Manifest.gz | Bin 5078 -> 5083 bytes sys-power/acpilight/Manifest | 2 +- sys-power/acpilight/acpilight-1.2-r2.ebuild | 56 ----------------------- sys-power/acpilight/acpilight-1.2-r3.ebuild | 57 ++++++++++++++++++++++++ sys-power/cpupower/Manifest | 2 + sys-power/cpupower/cpupower-5.12.ebuild | 66 ++++++++++++++++++++++++++++ 6 files changed, 126 insertions(+), 57 deletions(-) delete mode 100644 sys-power/acpilight/acpilight-1.2-r2.ebuild create mode 100644 sys-power/acpilight/acpilight-1.2-r3.ebuild create mode 100644 sys-power/cpupower/cpupower-5.12.ebuild (limited to 'sys-power') diff --git a/sys-power/Manifest.gz b/sys-power/Manifest.gz index e4663ab38a66..79a979bc3c5f 100644 Binary files a/sys-power/Manifest.gz and b/sys-power/Manifest.gz differ diff --git a/sys-power/acpilight/Manifest b/sys-power/acpilight/Manifest index 1d5423f74905..4ad14d9b3bb0 100644 --- a/sys-power/acpilight/Manifest +++ b/sys-power/acpilight/Manifest @@ -3,5 +3,5 @@ AUX acpilight.confd 269 BLAKE2B 196245bd083f89d9d975a81aaaf66d0422655cd6a5f575c2 AUX acpilight.initd 742 BLAKE2B bc2ad5027cd9e5c9f8d0d55e249117f7f59ad587522d21ea2baf69e45a884df242d46cb3001ef46ef63c1e1f87a18bc5c05d4facf1e9d72d4b596926e9a6b69b SHA512 9fe648ea994eeb9baa294226b55bd6230cb2b28952f651755da622278539fc071527e3aa2425e26687bb8065ef2e372ab93d7090532dbf3208ccac8519f01fca DIST acpilight-v1.2.tar.gz 18068 BLAKE2B 469fd12c0a24b152681d73add559733a294f8a0848f46d0d3a1e209dea2ad3b180294677a8d84a82387ec34b00bbfda85a10f447fe22b81a3c51225cdce14051 SHA512 ef634ec0f315fe94dca138f1b9231f320b93340db3365ab9a09cf898fe4691f70573041bcb04563d760f1201000ea3ff11ab5dad3bfffddf3d3070dedb5732d7 EBUILD acpilight-1.2-r1.ebuild 1493 BLAKE2B 0f0338f8f615905cc32cf86989b8d22444083bb1ed54fffdc26f3643f15ba579e127510ad36ac627e3aeb971fee633fbc8d75d2663c8c85b3d1b9bc0cc3b72cf SHA512 b2ea18b03eca0c055931f3b27ce3a4c37e0e427ce616318b266779895cb600fef96b381899b419319e822cacf15a6b060689f4d0b2620d26f1c1ad0412d7ec63 -EBUILD acpilight-1.2-r2.ebuild 1568 BLAKE2B a9ef15eed08a81830f9311d5a737556fb4f5b32ed71963431fb2c6f3cc1adae459e425b278c2729f841771fb20e5eba41020cfd8b744bd0aec4b40792ec022c6 SHA512 2f96931105d3691c26ee8cde37ad63e22bfe2cde63f316c76778b469ed3799eadda3c50f87db0a60bb2313cdbe3f0fcf09fa638aa6cf9ed3530aa94ee72ec318 +EBUILD acpilight-1.2-r3.ebuild 1585 BLAKE2B 7ed3f91cb9b9e413e7496fe5d12ed33b96823545003853c32221a1df5b0c0d04d03c9d67d7b4cbee41fcdc6e118bab1226039037c5210e263a10f711a62aa3f2 SHA512 ece73afbc9b63c882de55b37f2236d76869263b40e44d0e963afb1f93608b2e814355cc0f63e043af1dd5223e98e8582d7187712a98cc0fa171ead64465bb52f MISC metadata.xml 337 BLAKE2B 137496021eaa8a35ea8322f6880dd1726dc771a8e3133f8419bb8f79a554994abacd1c580983dda05aac08e4ce8b7521b9f9646358d235690d2dca5aced4c162 SHA512 64f73bb25c630a7666b3f2c0abd6502fd55042721c70e01d454eb5963ca87ba9b70cd686d5224bf4de38cd048b19a3441ddf2ef31f60134d25e853ef7ba32e21 diff --git a/sys-power/acpilight/acpilight-1.2-r2.ebuild b/sys-power/acpilight/acpilight-1.2-r2.ebuild deleted file mode 100644 index 345728305354..000000000000 --- a/sys-power/acpilight/acpilight-1.2-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_7 python3_8 python3_9 ) - -inherit python-single-r1 udev - -MY_P="${PN}-v${PV}" - -DESCRIPTION="Replacement for xbacklight that uses the ACPI interface to set brightness" -HOMEPAGE="https://gitlab.com/wavexx/acpilight/" -SRC_URI="https://gitlab.com/wavexx/acpilight/-/archive/v${PV}/${MY_P}.tar.gz" -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -S="${WORKDIR}/${MY_P}" - -RDEPEND="virtual/udev - acct-group/video - ${PYTHON_DEPS} - !x11-apps/xbacklight" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DOCS=( README.rst NEWS.rst ) - -PATCHES=( "${FILESDIR}/acpilight-1.2-fix-log10-of-zero.patch" ) - -# Disable Makefile that installs by default -src_compile() { :; } - -src_install() { - python_doscript xbacklight - udev_dorules "${S}"/90-backlight.rules - doman xbacklight.1 - einstalldocs - newinitd "${FILESDIR}"/acpilight.initd acpilight - newconfd "${FILESDIR}"/acpilight.confd acpilight -} - -pkg_postinst() { - udev_reload - einfo - elog "To use the xbacklight binary as a regular user, you must be a part of the video group" - einfo - elog "If this utility does not find any backlights to manipulate," - elog "verify you have kernel support on the device and display driver enabled." - einfo - elog "To take advantage of the OpenRC init script, and automate the process of" - elog "saving and restoring the brightness level you should add acpilight" - elog "to the boot runlevel. You can do this as root like so:" - elog "# rc-update add acpilight boot" - einfo -} diff --git a/sys-power/acpilight/acpilight-1.2-r3.ebuild b/sys-power/acpilight/acpilight-1.2-r3.ebuild new file mode 100644 index 000000000000..c54de4cb4446 --- /dev/null +++ b/sys-power/acpilight/acpilight-1.2-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 python3_8 python3_9 ) + +inherit python-single-r1 udev + +MY_P="${PN}-v${PV}" + +DESCRIPTION="Replacement for xbacklight that uses the ACPI interface to set brightness" +HOMEPAGE="https://gitlab.com/wavexx/acpilight/" +SRC_URI="https://gitlab.com/wavexx/acpilight/-/archive/v${PV}/${MY_P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="virtual/udev + acct-group/video + !dev-libs/light + ${PYTHON_DEPS} + !x11-apps/xbacklight" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DOCS=( README.rst NEWS.rst ) + +PATCHES=( "${FILESDIR}/acpilight-1.2-fix-log10-of-zero.patch" ) + +# Disable Makefile that installs by default +src_compile() { :; } + +src_install() { + python_doscript xbacklight + udev_dorules "${S}"/90-backlight.rules + doman xbacklight.1 + einstalldocs + newinitd "${FILESDIR}"/acpilight.initd acpilight + newconfd "${FILESDIR}"/acpilight.confd acpilight +} + +pkg_postinst() { + udev_reload + einfo + elog "To use the xbacklight binary as a regular user, you must be a part of the video group" + einfo + elog "If this utility does not find any backlights to manipulate," + elog "verify you have kernel support on the device and display driver enabled." + einfo + elog "To take advantage of the OpenRC init script, and automate the process of" + elog "saving and restoring the brightness level you should add acpilight" + elog "to the boot runlevel. You can do this as root like so:" + elog "# rc-update add acpilight boot" + einfo +} diff --git a/sys-power/cpupower/Manifest b/sys-power/cpupower/Manifest index 657286b74ec3..12558026ea50 100644 --- a/sys-power/cpupower/Manifest +++ b/sys-power/cpupower/Manifest @@ -4,6 +4,8 @@ AUX cpupower-5.4-gcc-10.patch 2131 BLAKE2B c31074f0d7626249cf3125fac986370c28eeb AUX cpupower-frequency-set.service 151 BLAKE2B ff5a2460bf2080868157ea2b975b9d401f2b47e2c8e77d29ac1528f6b85246394e72d57a88dfacb0242fc1e563eefd0a102d2d6dae877c6e779383a0b163a8f3 SHA512 dcd6bb5dee338113683c2e222df23195857f44f5430569b3c454078d0650c15fa2fa3876dccd6ee4652d0fd409f925205d0d3e57344487a64945c67a3b0dee67 AUX cpupower-frequency-set.service.conf 41 BLAKE2B b1349f0dc39ee39e7c1442374bd92e069509f106c80206c4a606d732acd2cc6205e2032eb98e4890ef006a8bda5fd65d18b83881aa55008a55375d0bc170efe2 SHA512 d99b78a5ab4f7b4e8fe92bc0b2cd722cd55e97e234027a0eba37eb39739e2a470bfc369efa9cf7846bf1a6d588d9d5d5d9efbb90a68aac2f687ddeb833e291f1 AUX init.d-r4 804 BLAKE2B b143305b3f117afa49967de098f54419d5f57b86dee7e7153b7adb02331a88d3b90a0a085ee189c0b6de70050de4a1249d481d23816764aad34d416f041f78b3 SHA512 7f6992b17376c0bedb403586e123200272d293b15819260cacd182c19ecdb2da635b177fe3d621ad8605a4ff046fd23669e67ea0bd8f00c9e4339d3ac72d2ddf +DIST linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f +EBUILD cpupower-5.12.ebuild 1671 BLAKE2B 02551330259b584ff6ca23b6c658044266b6626977a90bb0af179da8078b242bc6b191ae9bd02fc3f7c68d3668910be2e9837e5d4ec6c95d0a21e0a50e347666 SHA512 e184e3e2101d0ef15350bfe488d5f350e059db6bb3d369febf0c1d43829a167eccf1505cf075069b3053cbde7d2ee75776ae34528db026ff6de3ef0e33e95539 EBUILD cpupower-5.4.ebuild 1708 BLAKE2B f4c31b98b98ffd07398ba6cc4c392fca3e07fd66fbe62fca312b3d8914fb6e67b6ff4e671c4213a2507f4e332f0b982d273d0c66eaf7f09fc7c0fed862b949f6 SHA512 7c2b8fe451477001a41403f065a069fe85ffdd945198ccaaf7a4193669e78ad27da1908adad114d8dce3d47825031e20e2cd7b40136e00b6a5050f2527442d64 MISC metadata.xml 340 BLAKE2B a03552056a3b361eecd25b085c5f3fe60af7d1dbef9bb74682066b2d87c92b91a7a3d5cb53d1cbb88d85f81982a4b7ee4f8c5ff15c1fd06a266447f2d309ffd9 SHA512 af0ccc6342a6f6095d2bf06f764729e2a3eaa885d95da97462e15e3f5d139d3260e4c6e981e1d1194f4c0b64d3216decf223f854ad80e580092af8235399e054 diff --git a/sys-power/cpupower/cpupower-5.12.ebuild b/sys-power/cpupower/cpupower-5.12.ebuild new file mode 100644 index 000000000000..1676159b9393 --- /dev/null +++ b/sys-power/cpupower/cpupower-5.12.ebuild @@ -0,0 +1,66 @@ +# Copyright 2013-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs + +DESCRIPTION="Shows and sets processor power related values" +HOMEPAGE="https://www.kernel.org/" +SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v${PV%%.*}.x/linux-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0/0" +KEYWORDS="~amd64 ~arm ~arm64 ~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" +) + +S="${WORKDIR}/linux-${PV}" + +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)" + VERSION=${PV} + ) + + cd tools/power/cpupower || die + emake "${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 +} -- cgit v1.2.3