Сравнение cabextract-1.11 с cabextract-9999

/usr/portage/app-arch/cabextract/cabextract-9999.ebuild 2026-11-16 17:41:27.845734157 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6 6
inherit toolchain-funcs
7 7

  
8
if [[ ${PV} == "9999" ]] ; then
8
DESCRIPTION="Extracts files from Microsoft cabinet archive files"
9
HOMEPAGE="https://www.cabextract.org.uk/"
10

  
11
if [[ ${PV} == 9999 ]] ; then
9 12
	EGIT_REPO_URI="https://github.com/kyz/libmspack.git"
10 13
	inherit autotools git-r3
11
	MY_P="${PN}-9999"
12 14

  
13 15
	LIBMSPACK_DEPEND="~dev-libs/libmspack-9999:="
14 16
else
15
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
16 17
	MY_PV="${PV/_alpha/alpha}"
17 18
	MY_P="${PN}-${MY_PV}"
18 19
	SRC_URI="https://www.cabextract.org.uk/${P}.tar.gz"
19 20

  
20
	LIBMSPACK_DEPEND=">=dev-libs/libmspack-0.8_alpha:="
21
fi
21
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
22 22

  
23
DESCRIPTION="Extracts files from Microsoft cabinet archive files"
24
HOMEPAGE="https://www.cabextract.org.uk/"
23
	# configure checks for a version but a newer version may be needed
24
	# for tests to pass
25
	LIBMSPACK_DEPEND=">=dev-libs/libmspack-1.12:="
26
fi
25 27

  
26 28
LICENSE="GPL-3"
27 29
SLOT="0"
28 30
IUSE="extras"
29 31

  
30 32
DEPEND="${LIBMSPACK_DEPEND}"
31
RDEPEND="${LIBMSPACK_DEPEND}
32
	extras? ( dev-lang/perl )"
33
BDEPEND="sys-devel/gettext
34
	virtual/pkgconfig"
33
RDEPEND="
34
	${LIBMSPACK_DEPEND}
35
	extras? ( dev-lang/perl )
36
"
37
BDEPEND="
38
	sys-devel/gettext
39
	virtual/pkgconfig
40
"
35 41

  
36 42
src_prepare() {
37
	if [[ ${PV} == "9999" ]] ; then
43
	if [[ ${PV} == 9999 ]] ; then
38 44
		# Re-create file layout from release tarball
39 45
		pushd "${WORKDIR}" &>/dev/null || die
40 46
		cp -aL "${S}"/${PN} "${WORKDIR}"/${PN}-source || die
41 47
		rm -r "${S}" || die
42 48
		mv "${WORKDIR}"/${PN}-source "${S}" || die
43 49
		popd &>/dev/null || die
50

  
44 51
	fi
45 52

  
46 53
	default
47 54

  
48
	# 956793, use getopt from glibc / musl instead
55
	# #956793, use getopt from glibc / musl instead
49 56
	rm getopt.h || die
50 57

  
51
	[[ ${PV} == "9999" ]] && eautoreconf
58
	[[ ${PV} == 9999 ]] && eautoreconf
52 59
}
53 60

  
54 61
src_configure() {
Спасибо!