forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: gentoo#4176
- Loading branch information
1 parent
e70dda0
commit 1461d35
Showing
3 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |