Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/screenfetch/
Date: Sun, 15 Jul 2018 08:01:34
Message-Id: 1531641672.711de458638bfbed9626b775b8f34e7fdb527191.monsieurp@gentoo
1 commit: 711de458638bfbed9626b775b8f34e7fdb527191
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Thu Jul 12 15:01:37 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 15 08:01:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711de458
7
8 app-misc/screenfetch: add ~arm keyword.
9
10 Bug: https://bugs.gentoo.org/621342
11 Package-Manager: Portage-2.3.41, Repoman-2.3.9
12 Closes: https://github.com/gentoo/gentoo/pull/9203
13
14 app-misc/screenfetch/metadata.xml | 28 +++++++++----------
15 app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild | 35 ++++++++++++++++++++++++
16 2 files changed, 49 insertions(+), 14 deletions(-)
17
18 diff --git a/app-misc/screenfetch/metadata.xml b/app-misc/screenfetch/metadata.xml
19 index a91c788aff0..63bb6250ef4 100644
20 --- a/app-misc/screenfetch/metadata.xml
21 +++ b/app-misc/screenfetch/metadata.xml
22 @@ -1,18 +1,18 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 <pkgmetadata>
26 - <maintainer type="person">
27 - <email>hwoarang@g.o</email>
28 - <name>Markos Chandras</name>
29 - </maintainer>
30 - <maintainer type="person">
31 - <email>johu@g.o</email>
32 - <name>Johannes Huber</name>
33 - </maintainer>
34 - <use>
35 - <flag name="X">Use the <pkg>media-gfx/scrot</pkg> package to take screenshots</flag>
36 - </use>
37 - <upstream>
38 - <remote-id type="github">KittyKatt/screenFetch</remote-id>
39 - </upstream>
40 + <maintainer type="person">
41 + <email>hwoarang@g.o</email>
42 + <name>Markos Chandras</name>
43 + </maintainer>
44 + <maintainer type="person">
45 + <email>johu@g.o</email>
46 + <name>Johannes Huber</name>
47 + </maintainer>
48 + <use>
49 + <flag name="X">Use the <pkg>media-gfx/scrot</pkg> package to take screenshots</flag>
50 + </use>
51 + <upstream>
52 + <remote-id type="github">KittyKatt/screenFetch</remote-id>
53 + </upstream>
54 </pkgmetadata>
55
56 diff --git a/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild b/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
57 new file mode 100644
58 index 00000000000..673c98a4a09
59 --- /dev/null
60 +++ b/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
61 @@ -0,0 +1,35 @@
62 +# Copyright 1999-2018 Gentoo Foundation
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI=6
66 +
67 +MY_PN="${PN/f/F}"
68 +
69 +DESCRIPTION="Bash Screenshot Information Tool"
70 +HOMEPAGE="https://github.com/KittyKatt/screenFetch"
71 +
72 +LICENSE="GPL-3"
73 +SLOT="0"
74 +IUSE="curl X"
75 +
76 +DEPEND=""
77 +RDEPEND="
78 + curl? ( net-misc/curl )
79 + X? (
80 + media-gfx/scrot
81 + x11-apps/xdpyinfo
82 + )"
83 +
84 +if [[ ${PV} == *9999 ]] ; then
85 + EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git"
86 + inherit git-r3
87 +else
88 + KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
89 + SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
90 + S="${WORKDIR}/${MY_PN}-${PV}"
91 +fi
92 +
93 +src_install() {
94 + newbin ${PN}-dev ${PN}
95 + einstalldocs
96 +}