From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/
Date: Sat, 19 Jan 2019 05:05:00 +0000 (UTC) [thread overview]
Message-ID: <1547874158.de525787e242ae349b031d95f6f32d2cca817dff.whissi@gentoo> (raw)
commit: de525787e242ae349b031d95f6f32d2cca817dff
Author: Tran Thai Son <tranthaison2000 <AT> gmail <DOT> com>
AuthorDate: Mon Aug 20 02:07:07 2018 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 05:02:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de525787
app-laptop/thinkfan version bump to 1.0
Closes: https://github.com/gentoo/gentoo/pull/9630
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
app-laptop/thinkfan/Manifest | 1 +
app-laptop/thinkfan/metadata.xml | 2 ++
app-laptop/thinkfan/thinkfan-1.0.ebuild | 45 +++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
diff --git a/app-laptop/thinkfan/Manifest b/app-laptop/thinkfan/Manifest
index 3515076cd1c..0df01627822 100644
--- a/app-laptop/thinkfan/Manifest
+++ b/app-laptop/thinkfan/Manifest
@@ -1 +1,2 @@
DIST thinkfan-0.9.3.tar.gz 39527 BLAKE2B e6a6d09493d94b4de9ada20dcc4b0251c5f2c148f7faa7f69c04fe2a279a9cfe253a0ea1a01fe94ed108e8731e2ba01edef5df10dfb887ea961a356dff733854 SHA512 d2a29f9cae636c22b66958f8ec50cb60a162d745c3967257bb5e20cc9e152894d4e8a66f897ffa4e49353eba4a42e3499bb9e554719974284089a46cfc6280d7
+DIST thinkfan-1.0.tar.gz 77575 BLAKE2B cc4dfec48d2797079b053b0be923a008b2e740179de10bda549194008a83ce9ea47fdb23e82f0050fa594be81fa07b242b548303fff751845da544f1f8fdd226 SHA512 c85c8a4f3eb2735f065bf56312823a13277b803e4762a325bd250a47f1e35e1efbc45fa63bcd3b2e24184d6f95a9f8d7ceb1b31eb82c674ca2f2f8d57ee0ea30
diff --git a/app-laptop/thinkfan/metadata.xml b/app-laptop/thinkfan/metadata.xml
index e4b22975b67..c6b8ff4c4c3 100644
--- a/app-laptop/thinkfan/metadata.xml
+++ b/app-laptop/thinkfan/metadata.xml
@@ -7,6 +7,8 @@
</maintainer>
<use>
<flag name="atasmart">include libatasmart support to get disc temperature</flag>
+ <flag name="nvidia">allow thinkfan to read GPU temperature from the proprietary nVidia driver</flag>
+ <flag name="yaml">use YAML format for config file</flag>
</use>
<upstream>
<remote-id type="sourceforge">thinkfan</remote-id>
diff --git a/app-laptop/thinkfan/thinkfan-1.0.ebuild b/app-laptop/thinkfan/thinkfan-1.0.ebuild
new file mode 100644
index 00000000000..d114b72afb1
--- /dev/null
+++ b/app-laptop/thinkfan/thinkfan-1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 )"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -e "s:share/doc/${PN}:share/doc/${PF}:" \
+ -i CMakeLists.txt || die "sed failed"
+}
+
+src_configure() {
+ local mycmakeargs+=(
+ -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
+}
+
+DOC_CONTENTS="Please read the documentation and copy an
+appropriate file to /etc/thinkfan.conf."
next reply other threads:[~2019-01-19 5:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-19 5:05 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-29 8:43 [gentoo-commits] repo/gentoo:master commit in: app-laptop/thinkfan/ Andreas Sturmlechner
2022-11-29 5:49 Joonas Niilola
2022-11-29 5:49 Joonas Niilola
2022-05-07 4:20 Sam James
2022-04-25 9:12 Joonas Niilola
2022-04-25 7:47 Joonas Niilola
2021-07-16 7:02 Joonas Niilola
2021-04-13 7:30 Joonas Niilola
2021-04-13 7:30 Joonas Niilola
2021-02-14 20:35 Andreas Sturmlechner
2021-02-14 20:35 Andreas Sturmlechner
2020-07-13 12:22 Mikle Kolyada
2019-06-16 10:38 Mikle Kolyada
2019-06-16 10:37 Mikle Kolyada
2019-03-08 17:51 Mikle Kolyada
2018-12-08 10:03 Mikle Kolyada
2017-02-07 11:28 Agostino Sarubbo
2016-12-21 10:46 Patrice Clement
2016-12-21 10:46 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1547874158.de525787e242ae349b031d95f6f32d2cca817dff.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox