Сравнение slang-2.3.2 с slang-2.3.3

/usr/portage/sys-libs/slang/slang-2.3.3.ebuild 2023-10-09 14:52:35.564368503 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit multilib-minimal
7 7

  
8 8
DESCRIPTION="Multi-platform library designed to allow a developer to create robust software"
9
HOMEPAGE="http://www.jedsoft.org/slang/"
10
if [[ "${PV}" = *_pre* ]] ; then
9
HOMEPAGE="https://www.jedsoft.org/slang/"
10

  
11
if [[ ${PV} == *_pre* ]] ; then
11 12
	MY_P="${PN}-pre${PV/_pre/-}"
12 13
	SRC_URI="https://www.jedsoft.org/snapshots/${MY_P}.tar.gz"
13 14
	S="${WORKDIR}/${MY_P}"
14 15
else
15
	SRC_URI="http://www.jedsoft.org/releases/${PN}/${P}.tar.bz2
16
		http://www.jedsoft.org/releases/${PN}/old/${P}.tar.bz2"
16
	SRC_URI="https://www.jedsoft.org/releases/${PN}/${P}.tar.bz2
17
		https://www.jedsoft.org/releases/${PN}/old/${P}.tar.bz2"
17 18
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
18 19
fi
20

  
19 21
LICENSE="GPL-2"
20 22
SLOT="0"
21 23
IUSE="cjk pcre png readline static-libs zlib"
22 24

  
23 25
# ncurses for ncurses5-config to get terminfo directory
24 26
RDEPEND="
25
	sys-libs/ncurses:0=
27
	sys-libs/ncurses:=
26 28
	cjk? ( >=dev-libs/oniguruma-5.9.5:=[${MULTILIB_USEDEP}] )
27 29
	pcre? ( >=dev-libs/libpcre-8.33-r1[${MULTILIB_USEDEP}] )
28
	png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
29
	readline? ( >=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] )
30
	png? ( >=media-libs/libpng-1.6.10:=[${MULTILIB_USEDEP}] )
31
	readline? ( >=sys-libs/readline-6.2_p5-r1:=[${MULTILIB_USEDEP}] )
30 32
	zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
31 33
"
32 34
DEPEND="${RDEPEND}"
......
34 36
MAKEOPTS+=" -j1"
35 37

  
36 38
PATCHES=(
37
	"${FILESDIR}"/${PN}-2.3.1-slsh-libs.patch
39
	"${FILESDIR}"/${PN}-2.3.3-slsh-libs.patch
38 40
)
39 41

  
40 42
src_prepare() {
41 43
	default
42 44

  
43
	# avoid linking to -ltermcap race with some systems
45
	# Avoid linking to -ltermcap race with some systems
44 46
	sed -i -e '/^TERMCAP=/s:=.*:=:' configure || die
45
	# we use the GNU linker also on Solaris
47
	# We use the GNU linker also on Solaris
46 48
	sed -i -e 's/-G -fPIC/-shared -fPIC/g' \
47 49
		-e 's/-Wl,-h,/-Wl,-soname,/g' configure || die
48 50

  
......
58 60
		$(use_with png)
59 61
		$(use_with zlib z)
60 62
	)
63

  
61 64
	econf "${myeconfargs[@]}"
62 65
}
63 66

  
......
72 75

  
73 76
multilib_src_install_all() {
74 77
	rm -r "${ED}"/usr/share/doc/{slang,slsh} || die
78

  
75 79
	local -a DOCS=( NEWS README *.txt doc/{,internal,text}/*.txt )
76 80
	local -a HTML_DOCS=( doc/slangdoc.html slsh/doc/html/*.html )
81

  
77 82
	einstalldocs
78 83
}
Спасибо!