Diff libudfread-1.1.2 with a libudfread-9999

/usr/portage/dev-libs/libudfread/libudfread-9999.ebuild 2025-08-25 18:21:08.120341886 +0300
1 1
# Copyright 1999-2025 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
inherit autotools multilib-minimal
6
inherit meson-multilib
7 7

  
8 8
if [[ ${PV} == *9999 ]] ; then
9 9
	EGIT_REPO_URI="https://code.videolan.org/videolan/${PN}.git"
10 10
	inherit git-r3
11 11
else
12 12
	SRC_URI="https://code.videolan.org/videolan/libudfread/-/archive/${PV}/${P}.tar.gz"
13
	KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
13
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
14 14
fi
15 15

  
16 16
DESCRIPTION="Library for reading UDF from raw devices and image files"
17 17
HOMEPAGE="https://code.videolan.org/videolan/libudfread/"
18 18

  
19 19
LICENSE="LGPL-2.1+"
20
SLOT="0"
21
IUSE="static-libs"
20
SLOT="0/3"
22 21

  
23
src_prepare() {
24
	default
25
	eautoreconf
26
}
27

  
28
multilib_src_configure() {
29
	ECONF_SOURCE="${S}" econf
30
}
31

  
32
multilib_src_install_all() {
33
	find "${D}" -name '*.la' -delete || die
34
	if ! use static-libs ; then
35
		find "${D}" -name '*.a' -delete || die
36
	fi
22
multilib_src_install() {
23
	meson_src_install
24
	find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die
37 25
}
Thank you!