From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5AC2139085 for ; Wed, 21 Dec 2016 10:46:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0D1B234087; Wed, 21 Dec 2016 10:46:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3DE4234087 for ; Wed, 21 Dec 2016 10:46:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7347434106E for ; Wed, 21 Dec 2016 10:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6415924EA for ; Wed, 21 Dec 2016 10:46:28 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1482317181.5aa0a6fb66d4b0b40996bef893ca3b2dbdbe05bf.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-laptop/thinkfan/Manifest app-laptop/thinkfan/thinkfan-0.9.3.ebuild X-VCS-Directories: app-laptop/thinkfan/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 5aa0a6fb66d4b0b40996bef893ca3b2dbdbe05bf X-VCS-Branch: master Date: Wed, 21 Dec 2016 10:46:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1801f31e-b9b3-4773-90de-106b4abf5496 X-Archives-Hash: 3928affa642ad75c4ea9d8b5dee8cb7c commit: 5aa0a6fb66d4b0b40996bef893ca3b2dbdbe05bf Author: Amir Ghassemi Nasr gmail com> AuthorDate: Mon Dec 5 12:39:41 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Dec 21 10:46:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa0a6fb app-laptop/thinkfan: version bump to 0.9.3. Gentoo-Bug: https://bugs.gentoo.org/597846 Closes: https://github.com/gentoo/gentoo/pull/3019 app-laptop/thinkfan/Manifest | 1 + app-laptop/thinkfan/thinkfan-0.9.3.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest index 709a139..a27bf75 100644 --- a/app-laptop/thinkfan/Manifest +++ b/app-laptop/thinkfan/Manifest @@ -1,3 +1,4 @@ DIST thinkfan-0.8.1.tar.gz 38417 SHA256 ba630fdcdefa238b2c87f050f6fcbd5a4828527497d52d410761a26c8ca25311 SHA512 6e5c7df599ca6f1c99cf61bfafb752f5886a7eeff9166a43006ea8d86f82ff8c4d5eb6ddc2e62dc5d01235038b4606fbbfc849f81b971388ccbe6417ee9f3208 WHIRLPOOL 975eee0b64db52bbd5552a540aff035abe36bd8a602ec6f966ec30a9ffd1bc9ef30481b91f37c6c3f771a2ba0b38850d7d4dc40387c475deffa7850288d122b4 DIST thinkfan-0.9.2.tar.gz 39539 SHA256 90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 SHA512 b27fd60a02ad06d30485ae3d658af6b9e79af3c898f415d0ff613839424f5dc9731be03d1d9bf3ed1311ecd0778aef5b30fa908cab386cf419db77ae29940684 WHIRLPOOL 2ca120ad9cf4960c7536cf6252b711257cbb7c1ca6061d028aebf53fd18e41d3b852d36158bddd18f791e1128b98d35a3f68fae5bb29077820f4dff6fc9b1919 +DIST thinkfan-0.9.3.tar.gz 39527 SHA256 b61c634996c450445d7e440bf41f7adcda86506063f832afa40d44e01061e45b SHA512 d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7 WHIRLPOOL 3bdbc0ca3731fef85e385b3259cc9ce6bf4c3b15195138caf5b192847bbba411068d00df8e5673600796e15d4d965c116b73745e787bea9f5a68dbbb5ee118db DIST thinkfan-0.9_beta2.tar.gz 41554 SHA256 0db4a0e56c02b991be13741f622a8e475a8361112ff9a38a0430ccc22f104a39 SHA512 3cf1b33de625a663b32482943f99dba88cc09106c1b96701ba6a36a5ea1abb3cfd8b32c3822af93d1cf19ab25c61370abca5bd0b313a9fb055dd191086c1df01 WHIRLPOOL 1a8e71fb0906fb11c5922f09e6136f48cbcb7128525fafeeb7f3474f01a00eeb046f69b2d5788428828a395dbc11ae084e9655259a1a74f6aafe04ca8417d4ad diff --git a/app-laptop/thinkfan/thinkfan-0.9.3.ebuild b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild new file mode 100644 index 00000000..9691a05 --- /dev/null +++ b/app-laptop/thinkfan/thinkfan-0.9.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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."