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 6E59D138334 for ; Fri, 8 Mar 2019 17:51:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8353BE08AB; Fri, 8 Mar 2019 17:51:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E83CE08AB for ; Fri, 8 Mar 2019 17:51:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 528DC335D0A for ; Fri, 8 Mar 2019 17:51:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD867326 for ; Fri, 8 Mar 2019 17:51:06 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1552067457.f4b00a382f4e6b26804b5f94b67baeddfe5509b9.zlogene@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-1.0.2.ebuild X-VCS-Directories: app-laptop/thinkfan/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: f4b00a382f4e6b26804b5f94b67baeddfe5509b9 X-VCS-Branch: master Date: Fri, 8 Mar 2019 17:51:06 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e9d54efa-2256-4982-8d29-7f5caeab9468 X-Archives-Hash: 94cf4a2979ad5aebeee76164857fe25e commit: f4b00a382f4e6b26804b5f94b67baeddfe5509b9 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Mar 8 17:50:36 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Fri Mar 8 17:50:57 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4b00a38 app-laptop/thinkfan: Version bump (v1.0.2) Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-laptop/thinkfan/Manifest | 1 + app-laptop/thinkfan/thinkfan-1.0.2.ebuild | 42 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest index 444109d9dde..e5a21da3f86 100644 --- a/app-laptop/thinkfan/Manifest +++ b/app-laptop/thinkfan/Manifest @@ -1,2 +1,3 @@ DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854 SHA512 d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7 DIST thinkfan-1.0.1.tar.gz 77587 BLAKE2B 7a2d4d77be8a9abdafe2cdb8485c92dfe9850ad2309d45d0ac32e8c0e7e6db22ef6c2e16161cccbd6e6147497accc8ec3f5d4467dbe5d2fe6d7fdfd06bb3261f SHA512 61fac9e99f5a2974c5a80e2565956d203baf670dc4b97625389e91fe3fe4d026c07847c10e7d46a4f57914a8156aeea0141570202c0ce2b497f8a1daefa47d6e +DIST thinkfan-1.0.2.tar.gz 77653 BLAKE2B 1b40553380f9b873883f0dc587665f24cd2e07de7a7e743cb9f99a3282f380da2258265a612b1c97d2945fed31aee0d6cbc30ea2a18c0b212e877e7635eda336 SHA512 d9133538096a7c5757f599adfebc8217aa7334a102573d6757f03b5c012a09d600be923930fd9d62f4afa591f5eb7a70a1c328004bddef85494d1a7ce56b648f diff --git a/app-laptop/thinkfan/thinkfan-1.0.2.ebuild b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild new file mode 100644 index 00000000000..a3f978a1bda --- /dev/null +++ b/app-laptop/thinkfan/thinkfan-1.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils readme.gentoo-r1 + +DESCRIPTION="simple fan control program for thinkpads" +HOMEPAGE="http://thinkfan.sourceforge.net" +SRC_URI="https://github.com/vmatare/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="atasmart nvidia +yaml" + +DEPEND="atasmart? ( dev-libs/libatasmart ) + yaml? ( dev-cpp/yaml-cpp )" +RDEPEND="${DEPEND} + nvidia? ( x11-drivers/nvidia-drivers )" + +DOC_CONTENTS=" + Please read the documentation and copy an appropriate + file to /etc/thinkfan.conf. +" + +src_configure() { + 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 +} + +src_install() { + cmake-utils_src_install + + readme.gentoo_create_doc +}