Сравнение ansifilter-2.19 с ansifilter-2.20

/usr/portage/app-text/ansifilter/ansifilter-2.20.ebuild 2023-10-09 14:52:28.864368334 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit toolchain-funcs qmake-utils xdg
6
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/andresimon.asc
7
inherit desktop toolchain-funcs qmake-utils verify-sig xdg-utils
7 8

  
8 9
DESCRIPTION="Handles text files containing ANSI terminal escape codes"
9 10
HOMEPAGE="http://www.andre-simon.de/"
10
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
11
SRC_URI="
12
	http://www.andre-simon.de/zip/${P}.tar.bz2
13
	gui? ( https://gitlab.com/uploads/-/system/project/avatar/6678914/ansifilter2_logo_256.png )
14
	verify-sig? ( http://www.andre-simon.de/zip/${P}.tar.bz2.asc )
15
"
11 16

  
12 17
LICENSE="GPL-3+"
13 18
SLOT="0"
14
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
19
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
15 20
IUSE="gui"
16 21

  
17 22
RDEPEND="
......
22 27
	)
23 28
"
24 29
DEPEND="${RDEPEND}"
30
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-andresimon )"
25 31

  
26 32
DOCS=( ChangeLog.adoc README.adoc  )
27 33

  
34
src_unpack() {
35
	if use verify-sig ; then
36
		verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
37
	fi
38

  
39
	default
40
}
41

  
28 42
src_prepare() {
29 43
	default
30 44

  
......
65 79
		install $(usev gui install-gui)
66 80

  
67 81
	einstalldocs
68
}
69

  
70
pkg_preinst() {
71
	use gui && xdg_pkg_preinst
82
	if use gui; then
83
		newicon -s 256 "${DISTDIR}"/ansifilter2_logo_256.png "${PN}".png
84
	fi
72 85
}
73 86

  
74 87
pkg_postrm() {
75
	use gui && xdg_pkg_postrm
88
	if use gui; then
89
		xdg_desktop_database_update
90
		xdg_icon_cache_update
91
	fi
76 92
}
77 93

  
78 94
pkg_postinst() {
79
	use gui && xdg_pkg_postinst
95
	if use gui; then
96
		xdg_desktop_database_update
97
		xdg_icon_cache_update
98
	fi
80 99
}
Спасибо!