diff options
-rw-r--r-- | gentoo/Manifest | 4 | ||||
-rw-r--r-- | gentoo/cputemp2maxfreq-0.5.ebuild | 39 |
2 files changed, 43 insertions, 0 deletions
diff --git a/gentoo/Manifest b/gentoo/Manifest index 7f5a1d0..cafb926 100644 --- a/gentoo/Manifest +++ b/gentoo/Manifest @@ -2,5 +2,9 @@ AUX cputemp2maxfreq.conf 257 BLAKE2B 755cbb51b68ae772cf413a9be1b928a350ef962b07d AUX cputemp2maxfreq.init 555 BLAKE2B 2a3085a8b04c2b11dba79e2a710fbeced162009b4461e8837762d13964c030476626ecf6812cf9931e95d7c559804fd04e21357a8c1ddaed6d07be29d5fb6c0d SHA512 8b8c41e96864a02e23ca53cacb153c6968418bdc003a2e5f6fbe3040c868dc43ea230b1492fbe437bef941d1ed911ed22a4d9963cdb33688cdd543f7e7240c77 DIST cputemp2maxfreq-0.2.tar.gz 8860 BLAKE2B df852d62988b7c6a46e227eb8e0ec5c885b62f49d4edd39d7cb7bae09935ba672a254c7178d0b70c0ea91cf5163c9f248214c2e1edd4c77e2ed7894d2a81a021 SHA512 a895197c247e45b85bfa7ae635995dcb46a1e4b0bae0c5fda3a96500c571eb7e1cf75c265b9c863e733bd3e31a424427d5069e49e136865e1835177710122234 DIST cputemp2maxfreq-0.3.tar.gz 61704 BLAKE2B 6aa8d91f2f7bd016121eb5721ad314b7958217530d2c49463260d72d40448f4ac936539efbe93e29c08480b4e99b1b3f1448335624f64e895a554be6a1e40426 SHA512 40c936b4c1ec2a30c9ecd1636344b8a74ac37273c6b9ea8f5cdc18ea66d275bc2e0da7261cb754ee4e428e54a25f58e1cddef5f1a4f5b6fb06864adad365ee3b +DIST cputemp2maxfreq-0.4.tar.gz 62478 BLAKE2B 65009d7a0b3176769a96b477799edeb62521ff63aee3b64bf828b1b1cf5340482d53706277aba9d3a26dd6eb45c803f4955f002ec68b85fac34beb8216ce1014 SHA512 62de6109bbdbeab39ccb271dd95ae0b3181002dd734392382380c1731e37abe130c225381059f508b52d855242a8900fefdb32b1aa747e1e3127e7038eca5d40 +DIST cputemp2maxfreq-0.5.tar.gz 64376 BLAKE2B f9b27136fed24eecf0968b7391bdf33a041281f517628eeb5636534ef333036e839ebafdfbf11f18073241d5fc8988b46dffb3c264a12954d66482c84132e9c2 SHA512 4b31e9f3449938f9c5dd4cb833b5cb26bc79d66cccacbc89f6b6e3b0ce58c54dd9e901191e1be0bb27d445f735aae7c2bd1e2e719aa6b3e0671271b6cb77c7c7 EBUILD cputemp2maxfreq-0.2.ebuild 900 BLAKE2B 9895b48ca99dc01002e1e3c211951bb7ab9b33cfdab4ab24f318ce79f28985f482f7c81111c0a17d6465b9b37b3a7e6ed049ba6255a72995b4203543040783ab SHA512 63b815138db3ebf0f21c06f2d5820ea238bb743c3d12aa61ebd2b60d3b31b5fd06aaf1c83343646899c21feeb9fe30fd2adad8ff912c420043ce7fa228aefaf2 EBUILD cputemp2maxfreq-0.3.ebuild 900 BLAKE2B 1f673baa771379fcab3f7ffcd41aa95da9fe42005f1adec511931ee4da260b566247c68215311f16063919628467f64adc268867e4b6fa561baf6c89364ec696 SHA512 735ad4dffdcc2ec0eddc6a6cca5181e126e0c168066ffd396dd454a90d66127db539381bc4b44570863a1d8e22f28046534156b257953bd6f885419944bec6fb +EBUILD cputemp2maxfreq-0.4.ebuild 900 BLAKE2B cda83da7f328f30a482f0e28367a54f52be7a865660414ce975a543cba59090497c5a549c7745834c28a4ffe33f43d6d462f26118cce16ad4d8bfa3eb0ab0f42 SHA512 ace4c98d4993c03ec65c07b3862cb057d60e8fdef2a04fc925fcff6eb2bd6d96b1732ce165f52675a81c9424aef70428656127d20701cab49319303c0b2c38b5 +EBUILD cputemp2maxfreq-0.5.ebuild 900 BLAKE2B 6163afc1fa039616363866d4a89a1f47bf76d4ac65d6fe443e0a9c16ed816b760442a6577f84a9c806e6880fafb288a18fa2ebe2e59d6f98ccc22dbb74f75f2a SHA512 b68fbc4a1d3f163d5f61112d5cb2e9a52d86d51bab19905882924653cbdce2bdcae33f2d262d9966d3c6d8072a166f47cfb99a48826318969b4b3a45c6e21d24 diff --git a/gentoo/cputemp2maxfreq-0.5.ebuild b/gentoo/cputemp2maxfreq-0.5.ebuild new file mode 100644 index 0000000..3650432 --- /dev/null +++ b/gentoo/cputemp2maxfreq-0.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Daemon to scale scale_max_freq when CPU temperature rises" +HOMEPAGE="https://code.pa4wdh.nl.eu.org/tools/cputemp2maxfreq/about" +GIT_COMMIT="d669b9c4004a5aaeb026f399bcd3cb5ecfb69630" +SRC_URI="https://code.pa4wdh.nl.eu.org/tools/cputemp2maxfreq/snapshot/cputemp2maxfreq-$GIT_COMMIT.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_unpack() +{ + unpack "${P}.tar.gz" + mv "cputemp2maxfreq-$GIT_COMMIT" "${P}" +} + +src_prepare() +{ + eapply_user + + ./generate_version_h.sh "${PV}" "${GIT_COMMIT:0:7}" "master" > version.h + mkdir .git + touch -d "1 minute ago" .git/index +} + +src_install() +{ + dosbin ${PN} + newinitd "${FILESDIR}/cputemp2maxfreq.init" cputemp2maxfreq + newconfd "${FILESDIR}/cputemp2maxfreq.conf" cputemp2maxfreq +} |