diff options
Diffstat (limited to 'app-laptop/thinkfan')
-rw-r--r-- | app-laptop/thinkfan/Manifest | 4 | ||||
-rw-r--r-- | app-laptop/thinkfan/thinkfan-0.9.3.ebuild | 50 | ||||
-rw-r--r-- | app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 10 |
3 files changed, 6 insertions, 58 deletions
diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest index b12bab282298..34e77b3402b5 100644 --- a/app-laptop/thinkfan/Manifest +++ b/app-laptop/thinkfan/Manifest @@ -1,5 +1,3 @@ -DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854 SHA512 d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7 DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336 SHA512 d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f -EBUILD thinkfan-0.9.3.ebuild 1069 BLAKE2B 0e4862e477f197efc30f9c72330e8153327325a733277220a0e65725483762e700515dc3204712d8f6af2b06c576cf17f114683993c0385383cc92c58e211318 SHA512 ffec534bfe1c1eb08c1de3858347781d6f0dc349d7f3de39196a47166e65142d649e0e889141e9c90ce193f0f984ac386ce39cc45f6e70ff971278c3b6560247 -EBUILD thinkfan-1.0.2.ebuild 924 BLAKE2B 3a99d05583446f1bb15130ac2c0faa32c93c6d10a5fbfb97e2dae1a21b157dad4d80cbc3628fd4bad98760f77cff2d99fddb0aad4008b3bc4cb6653376d34c28 SHA512 3381a2a57cd39759bb76d8a786dfd568da51b7e497d8ad270d7f173dde132c0746884cc117868ecb926d31af4064e65cc8120c40ddfc7d25a17ad0845b664907 +EBUILD thinkfan-1.0.2.ebuild 905 BLAKE2B 6a6b067772ec24f50be8a8a998ec7910b8ca3c48674405c813f75a281bbac013f385689baf1aa5aeba38b94b96ccd30aef335df490dc07e2f48a53db592de8fc SHA512 54a0c916068ebb4e898947767260bfe4f1a33afdd448e450978383ae82cb16e8b375131873c8dba2266a1980aff731c8301565b7f625b1781f51ecdc8e1ba940 MISC metadata.xml 505 BLAKE2B 8b6b4100f0b839473a7f3b09bcc2f8ed896076e4a815d69035fe5e5ee26c11100ad7c90c1be8dd15b8616012ccdaf7359ba926cf526f45427279d2a731d0c328 SHA512 fa6a9f4d5218fa6911d445439eaf5d01e58636f0063721646112d028b30ced234c3c39a69ccc876a5c28df5e01b5eaa067dc92a7802c06a2afd395c9b7fd9d5c diff --git a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild deleted file mode 100644 index ca8dc1c15153..000000000000 --- a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils readme.gentoo-r1 systemd - -DESCRIPTION="simple fan control program for thinkpads" -HOMEPAGE="http://thinkfan.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="atasmart" - -DEPEND="atasmart? ( dev-libs/libatasmart )" -RDEPEND="${DEPEND}" - -src_prepare() { - cmake-utils_src_prepare - - sed -e "s:#!/sbin/runscript:#!/sbin/openrc-run:" \ - -i rcscripts/thinkfan.gentoo - - sed -e "s:share/doc/${PN}:share/doc/${PF}:" \ - -e "s:thinkfan.1:src/thinkfan.1:" \ - -i CMakeLists.txt -} - -src_configure() { - local mycmakeargs+=( - "-DCMAKE_BUILD_TYPE:STRING=Debug" - "-DUSE_ATASMART=$(usex atasmart)" - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - newinitd rcscripts/${PN}.gentoo ${PN} - systemd_dounit rcscripts/${PN}.service - - readme.gentoo_create_doc -} - -DOC_CONTENTS="Please read the documentation and copy an -appropriate file to /etc/thinkfan.conf." diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild index 59f5d7fce4b9..e08e6101e57b 100644 --- a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild +++ b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils readme.gentoo-r1 +inherit cmake readme.gentoo-r1 DESCRIPTION="simple fan control program for thinkpads" HOMEPAGE="http://thinkfan.sourceforge.net" @@ -25,18 +25,18 @@ DOC_CONTENTS=" " src_configure() { - local mycmakeargs+=( + local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} -DUSE_NVML="$(usex nvidia)" -DUSE_ATASMART="$(usex atasmart)" -DUSE_YAML="$(usex yaml)" ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install readme.gentoo_create_doc } |