Diff screenfetch-3.9.1 with a screenfetch-3.9.1-r1

/usr/portage/app-misc/screenfetch/screenfetch-3.9.1-r1.ebuild 2023-10-09 14:52:28.820368333 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
inherit optfeature
7

  
6 8
MY_PN="${PN/f/F}"
7 9

  
8 10
DESCRIPTION="Bash Screenshot Information Tool"
......
12 14
	EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git"
13 15
	inherit git-r3
14 16
else
15
	KEYWORDS="amd64 ~arm x86 ~x64-macos"
17
	KEYWORDS="~amd64 ~arm ~loong ~riscv ~x86 ~x64-macos"
16 18
	SRC_URI="https://github.com/KittyKatt/screenFetch/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17 19
	S="${WORKDIR}/${MY_PN}-${PV}"
18 20
fi
19 21

  
20 22
LICENSE="GPL-3+"
21 23
SLOT="0"
22
IUSE="curl X"
23

  
24
DEPEND=""
25
RDEPEND="
26
	curl? ( net-misc/curl )
27
	X? (
28
		media-gfx/scrot
29
		x11-apps/xdpyinfo
30
	)"
31 24

  
32 25
src_install() {
33 26
	newbin ${PN}-dev ${PN}
34 27
	einstalldocs
35 28
}
29

  
30
pkg_postinst() {
31
	optfeature "screenshot taking" media-gfx/scrot
32
	optfeature "screenshot uploading" net-misc/curl
33
	optfeature "resolution detection" x11-apps/xdpyinfo
34
}
Thank you!