commit:     a782fec3c129d380878d1a5c9605985918132989
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 18 07:56:59 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 08:44:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a782fec3

app-misc/screenfetch: Version Bump

transfered changes to live ebuild

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-misc/screenfetch/Manifest                 |  1 +
 app-misc/screenfetch/screenfetch-3.7.0.ebuild | 31 +++++++++++++++++++++++++++
 app-misc/screenfetch/screenfetch-9999.ebuild  | 30 ++++++++++++--------------
 3 files changed, 46 insertions(+), 16 deletions(-)

diff --git a/app-misc/screenfetch/Manifest b/app-misc/screenfetch/Manifest
index 6780eab..d7d3e37 100644
--- a/app-misc/screenfetch/Manifest
+++ b/app-misc/screenfetch/Manifest
@@ -1,3 +1,4 @@
 DIST screenfetch-2.7.7.zip 41420 SHA256 
c50322375929c78b13afc5fd4e62259087db3988283109ddcf60e98194f3adc8 SHA512 
b783c05fc385d176e8d4e06c647c86ceef0ec465ddaa7ceab4116dc844e6a3a4cb10a706aef62ed4c0e1893942be4761dc1962e99d45b528742372415bd17b10
 WHIRLPOOL 
ab863a39d5610ca86302cdbedbb83c4a4da6909093c0a6b7e43d92c1a5f1bf86a34f2ce316ab6168fa6097d478b4838160758a8ce0de9c0404ed538461f868c3
 DIST screenfetch-3.2.2.tar.gz 46668 SHA256 
6f30cc06b1f19cbeffc211afdf4c754c1e77b5e35965240ea77b032bb2e32bd4 SHA512 
f8ddfcebe69919c9163c2377de8dfb28f15c9dd59c43d73245591b2ba6c41123c6c8130b673d87e6068850fca3b277f93bbb626e228266ea0c87be5856e823da
 WHIRLPOOL 
7514eafaa7fb1df51a8beb5720f771217b32b902ca4e4433cfbe0f058dc11ccd82529b7622a1686878ad2e983063cfeaed0c9302b47f335a1dc4e5cb628568e4
 DIST screenfetch-3.6.5.tar.gz 54153 SHA256 
b6605a94be9720a5e64778dcc43ddf23e435d6704c5d177b671aa57d34966f20 SHA512 
291ec0d313deebe7931b739578b69f590ae32cb7a59c5ae6975b25240d9c5bd92b8957d6a53baf78aa95737642eadd37e081fae5b5ca5120da5a9d76bb980c59
 WHIRLPOOL 
33b8be75c98e09adde332792b10ff1aa808d6ed5d170aaeb9ee8eaa25925119b82a49902d39d810ae908fc65a864d5b7b6cbe9ce956054b08a8eda96e3ac4ab3
+DIST screenfetch-3.7.0.tar.gz 60223 SHA256 
6711fe924833919d53c1dfbbb43f3777d33e20357a1b1536c4472f6a1b3c6be0 SHA512 
9a6e89ef2cd48f12b22230c7aff356ac2ece8dc7437034a51a66f8026e5ca4a630af43511a60b21e9fc9f89af9e2493b8cfa3a06294e74c3d611ae3bb0db922d
 WHIRLPOOL 
3db52291ceef4403742f06644e1a6fc1a36a95aec9f1c3cc730676d8b731eedb9fe4efc6fd81b6701d3e26039c6783bea684cea8c14ed73bf218c04d90db4ff0

diff --git a/app-misc/screenfetch/screenfetch-3.7.0.ebuild 
b/app-misc/screenfetch/screenfetch-3.7.0.ebuild
new file mode 100644
index 0000000..dc0378b
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-3.7.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+MY_PN="${PN/f/F}"
+
+DESCRIPTION="Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch";
+SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_install() {
+       newbin ${PN}-dev ${PN}
+       dodoc CHANGELOG README.mkdn TODO
+}
+
+pkg_postinst() {
+       optfeature "resoluton detection" x11-apps/xdpyinfo
+       optfeature "screenshot taking" media-gfx/scrot
+       optfeature "screenshot uploading" net-misc/curl
+}

diff --git a/app-misc/screenfetch/screenfetch-9999.ebuild 
b/app-misc/screenfetch/screenfetch-9999.ebuild
index 8157a00..615fa7e 100644
--- a/app-misc/screenfetch/screenfetch-9999.ebuild
+++ b/app-misc/screenfetch/screenfetch-9999.ebuild
@@ -1,31 +1,29 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=6
+
+inherit eutils git-r3
 
 MY_PN="${PN/f/F}"
-DESCRIPTION="A Bash Screenshot Information Tool"
+
+DESCRIPTION="Bash Screenshot Information Tool"
 HOMEPAGE="https://github.com/KittyKatt/screenFetch";
-if [[ ${PV} == *9999* ]]; then
-       inherit git-2
-       EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch";
-       KEYWORDS=""
-else
-       SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> 
\
-               ${P}.tar.gz"
-       KEYWORDS="~amd64 ~x86"
-       S="${WORKDIR}/${MY_PN}-${PV}"
-fi
+EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch";
 
 LICENSE="GPL-3"
 SLOT="0"
+KEYWORDS=""
 IUSE="X"
 
-DEPEND=""
-RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )"
-
 src_install() {
        newbin ${PN}-dev ${PN}
        dodoc CHANGELOG README.mkdn TODO
 }
+
+pkg_postinst() {
+       optfeature "resoluton detection" x11-apps/xdpyinfo
+       optfeature "screenshot taking" media-gfx/scrot
+       optfeature "screenshot uploading" net-misc/curl
+}

Reply via email to