1 |
commit: a44f5f77f1a47b52226b871969c49e3096ab1dbd |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 28 22:58:54 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 28 22:59:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a44f5f77 |
7 |
|
8 |
x11-misc/sct: new package. |
9 |
|
10 |
sct is a CLI tool for setting the colour temperature of your screen. |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/606168 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
x11-misc/sct/Manifest | 1 + |
17 |
x11-misc/sct/metadata.xml | 8 ++++++++ |
18 |
x11-misc/sct/sct-0.3.ebuild | 31 +++++++++++++++++++++++++++++++ |
19 |
3 files changed, 40 insertions(+) |
20 |
|
21 |
diff --git a/x11-misc/sct/Manifest b/x11-misc/sct/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000..0a5d715 |
24 |
--- /dev/null |
25 |
+++ b/x11-misc/sct/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST sct-0.3.tar.gz 3679 SHA256 e8249e18cbc35fa106bfb90e715938b180f711d0e4f917636b340382ff2cf35c SHA512 515719e61afb7274749e28321f79adae4f7400e535e577cbada8453fe22c290aa50e5db8a5b93c7945d1759e08619ae75f3f33e9649cf31805b1c2ec82f711a1 WHIRLPOOL c77fd7e252528b12670a4fbb8a9e4c474d7fcad5d678b40fdf8c28d5308ba9be0d9d127a97f468a42433d18bfb9a99dd87422a9f75e9aec2a7287d3ade17aa48 |
28 |
|
29 |
diff --git a/x11-misc/sct/metadata.xml b/x11-misc/sct/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000..58c1077 |
32 |
--- /dev/null |
33 |
+++ b/x11-misc/sct/metadata.xml |
34 |
@@ -0,0 +1,8 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="person"> |
39 |
+ <email>monsieurp@g.o</email> |
40 |
+ <name>Patrice Clement</name> |
41 |
+ </maintainer> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/x11-misc/sct/sct-0.3.ebuild b/x11-misc/sct/sct-0.3.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000..2dde0bf |
47 |
--- /dev/null |
48 |
+++ b/x11-misc/sct/sct-0.3.ebuild |
49 |
@@ -0,0 +1,31 @@ |
50 |
+# Copyright 1999-2017 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+# $Id$ |
53 |
+ |
54 |
+EAPI=6 |
55 |
+ |
56 |
+DESCRIPTION="Set color temperature of the screen" |
57 |
+HOMEPAGE="https://www.umaxx.net/" |
58 |
+SRC_URI="https://www.umaxx.net/dl/${P}.tar.gz" |
59 |
+ |
60 |
+LICENSE="public-domain" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64 ~x86" |
63 |
+ |
64 |
+DEPEND="x11-libs/libXrandr" |
65 |
+RDEPEND="${DEPEND}" |
66 |
+ |
67 |
+DOCS=( README ) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ sed \ |
72 |
+ -e 's:_BSD_SOURCE:_DEFAULT_SOURCE:g' \ |
73 |
+ -i Makefile || die |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ dobin "${PN}" |
78 |
+ doman "${PN}.1" |
79 |
+ einstalldocs |
80 |
+} |