Сравнение libunwind-1.6.2-r1 с libunwind-1.7.2

/usr/portage/sys-libs/libunwind/libunwind-1.7.2.ebuild 2023-10-09 14:52:35.556368503 +0300
9 9
: ${LIBUNWIND_DOCS_PREBUILT:=1}
10 10

  
11 11
LIBUNWIND_DOCS_PREBUILT_DEV=sam
12
LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
12
LIBUNWIND_DOCS_VERSION=1.7.1
13 13
# Default to generating docs (inc. man pages) if no prebuilt; overridden later
14 14
LIBUNWIND_DOCS_USEFLAG="+doc"
15 15

  
16
[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
17

  
18
MY_PV=${PV/_/-}
19
MY_P=${PN}-${MY_PV}
20 16
inherit multilib-minimal
21 17

  
22 18
DESCRIPTION="Portable and efficient API to determine the call-chain of a program"
23 19
HOMEPAGE="https://savannah.nongnu.org/projects/libunwind"
24
SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz
25
	loong? ( https://dev.gentoo.org/~xen0n/distfiles/${CATEGORY}/${PN}/${P}-loong.patch.xz )"
26
if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
27
	SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz )"
20

  
21
if [[ ${PV} == 9999 ]] ; then
22
	LIBUNWIND_DOCS_PREBUILT=0
23

  
24
	EGIT_REPO_URI="https://github.com/libunwind/libunwind"
25
	inherit autotools git-r3
26
else
27
	SRC_URI="https://github.com/libunwind/libunwind/releases/download/v${PV}/${P}.tar.gz"
28
	if [[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] ; then
29
		SRC_URI+=" !doc? ( https://dev.gentoo.org/~${LIBUNWIND_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBUNWIND_DOCS_VERSION}-docs.tar.xz )"
30
	fi
31

  
32
	KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
28 33
fi
29 34

  
30
S="${WORKDIR}/${MY_P}"
35
[[ ${LIBUNWIND_DOCS_PREBUILT} == 1 ]] && LIBUNWIND_DOCS_USEFLAG="doc"
31 36

  
32 37
LICENSE="MIT"
33 38
SLOT="0/8" # libunwind.so.8
34
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 -sparc x86 ~amd64-linux ~x86-linux"
35 39
IUSE="debug debug-frame ${LIBUNWIND_DOCS_USEFLAG} libatomic lzma static-libs test zlib"
36 40

  
37 41
RESTRICT="test !test? ( test )" # some tests are broken (toolchain version dependent, rely on external binaries)
......
44 48
	zlib? ( sys-libs/zlib[static-libs?,${MULTILIB_USEDEP}] )
45 49
"
46 50
# We just use the header from libatomic.
47
DEPEND="${RDEPEND}
48
	libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )"
51
DEPEND="
52
	${RDEPEND}
53
	libatomic? ( dev-libs/libatomic_ops[${MULTILIB_USEDEP}] )
54
"
49 55

  
50 56
MULTILIB_WRAPPED_HEADERS=(
51 57
	/usr/include/libunwind.h
......
66 72
)
67 73

  
68 74
src_prepare() {
69
	local PATCHES=()
70
	use loong && PATCHES+=( "${WORKDIR}/${P}-loong.patch" )
71

  
72 75
	default
73 76

  
74 77
	chmod +x src/ia64/mk_cursor_i || die
78

  
79
	if [[ ${PV} == 9999 ]] ; then
80
		eautoreconf
81
	fi
75 82
}
76 83

  
77 84
multilib_src_configure() {
Спасибо!