public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/screenfetch/
Date: Thu, 23 Mar 2017 20:46:46 +0000 (UTC)	[thread overview]
Message-ID: <1490301895.1461d3584a3d6a25e55019fab65b709a1039e16f.soap@gentoo> (raw)

commit:     1461d3584a3d6a25e55019fab65b709a1039e16f
Author:     Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Fri Mar 10 17:37:47 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 20:44:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1461d358

app-misc/screenfetch: version bump to 3.8.0

Update -9999 to be in sync with the release version
Add curl use flag
Make the X use flag include X dependencies

Gentoo-bug: 605698
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4176

 app-misc/screenfetch/Manifest                 |  1 +
 app-misc/screenfetch/screenfetch-3.8.0.ebuild | 35 +++++++++++++++++++++++++++
 app-misc/screenfetch/screenfetch-9999.ebuild  | 33 +++++++++++++++----------
 3 files changed, 56 insertions(+), 13 deletions(-)

diff --git a/app-misc/screenfetch/Manifest b/app-misc/screenfetch/Manifest
index d7d3e374ccf..af1e3bf1f01 100644
--- a/app-misc/screenfetch/Manifest
+++ b/app-misc/screenfetch/Manifest
@@ -2,3 +2,4 @@ DIST screenfetch-2.7.7.zip 41420 SHA256 c50322375929c78b13afc5fd4e62259087db3988
 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
+DIST screenfetch-3.8.0.tar.gz 71970 SHA256 248283ee3c24b0dbffb79ed685bdd518554073090c1c167d07ad2a729db26633 SHA512 903f42e3bfcd719c4d6b91d10e5678063e223c2baa58214c7e8dae9ea925852f9e2c07ad90148e02d87ce5f9af7b989e80e93c2f569cd579e6f4f7d5c49c62f2 WHIRLPOOL 9b413d124ac0e80bd081d88703693ba2a862e0eaed8d7f175b1935ec89425acf246021c54c05b370e1c89a4e942b4d9d598d1583321a39f6eb2323af2283305f

diff --git a/app-misc/screenfetch/screenfetch-3.8.0.ebuild b/app-misc/screenfetch/screenfetch-3.8.0.ebuild
new file mode 100644
index 00000000000..cad0e56fc2f
--- /dev/null
+++ b/app-misc/screenfetch/screenfetch-3.8.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/f/F}"
+
+DESCRIPTION="Bash Screenshot Information Tool"
+HOMEPAGE="https://github.com/KittyKatt/screenFetch"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="curl X"
+
+DEPEND=""
+RDEPEND="
+	curl? ( net-misc/curl )
+	X? (
+		media-gfx/scrot
+		x11-apps/xdpyinfo
+	)"
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="git://github.com/KittyKatt/screenFetch.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+src_install() {
+	newbin ${PN}-dev ${PN}
+	einstalldocs
+}

diff --git a/app-misc/screenfetch/screenfetch-9999.ebuild b/app-misc/screenfetch/screenfetch-9999.ebuild
index d0707b7e781..cad0e56fc2f 100644
--- a/app-misc/screenfetch/screenfetch-9999.ebuild
+++ b/app-misc/screenfetch/screenfetch-9999.ebuild
@@ -1,28 +1,35 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit eutils git-r3
-
 MY_PN="${PN/f/F}"
 
 DESCRIPTION="Bash Screenshot Information Tool"
 HOMEPAGE="https://github.com/KittyKatt/screenFetch"
-EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
-IUSE="X"
+IUSE="curl X"
+
+DEPEND=""
+RDEPEND="
+	curl? ( net-misc/curl )
+	X? (
+		media-gfx/scrot
+		x11-apps/xdpyinfo
+	)"
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="git://github.com/KittyKatt/screenFetch.git"
+	inherit git-r3
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${MY_PN}-${PV}"
+fi
 
 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
+	einstalldocs
 }


             reply	other threads:[~2017-03-23 20:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23 20:46 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-05 10:06 [gentoo-commits] repo/gentoo:master commit in: app-misc/screenfetch/ WANG Xuerui
2022-05-05 10:06 WANG Xuerui
2021-12-12 14:23 Yixun Lan
2021-10-10  7:47 Patrice Clement
2021-05-27 11:59 Joonas Niilola
2021-05-27 11:59 Joonas Niilola
2020-02-18 16:58 Johannes Huber
2020-02-17 12:13 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2020-01-12 10:54 Johannes Huber
2020-01-04 23:54 Johannes Huber
2020-01-04 23:54 Johannes Huber
2019-10-27  8:59 Johannes Huber
2019-08-29 11:39 David Seifert
2018-10-07 20:24 Johannes Huber
2018-10-07 12:04 Mikle Kolyada
2018-07-17  9:00 Johannes Huber
2018-07-15  8:01 Patrice Clement
2018-05-06 19:25 Johannes Huber
2018-05-06 19:25 Johannes Huber
2018-04-18 13:32 Mikle Kolyada
2018-04-06 11:05 Fabian Groffen
2018-02-25 15:17 Pacho Ramos
2017-07-30  8:47 Michał Górny
2016-12-27  9:12 Aaron Bauman
2016-01-18  8:44 Justin Lecher

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=1490301895.1461d3584a3d6a25e55019fab65b709a1039e16f.soap@gentoo \
    --to=soap@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