Diff aml-0.3.0 with a aml-9999

/usr/portage/dev-libs/aml/aml-9999.ebuild 2026-06-23 19:41:04.148230467 +0300
1
# Copyright 2020-2024 Gentoo Authors
1
# Copyright 2020-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
13 13
	EGIT_REPO_URI="https://github.com/any1/aml.git"
14 14
else
15 15
	SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16
	KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86"
16
	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
17 17
fi
18 18

  
19 19
LICENSE="ISC"
20
SLOT="0"
20
SLOT="0/$(ver_cut 1)"
21 21
IUSE="examples"
22 22

  
23 23
DEPEND="elibc_musl? ( sys-libs/queue-standalone )"
24 24

  
25
PATCHES=(
26
	"${FILESDIR}"/${P}-queue.patch
27
)
28

  
29
src_prepare() {
30
	default
31

  
32
	# The bundled copy includes cdefs which breaks on musl and this header is
33
	# already available on glibc. See bug #828806 and
34
	# https://github.com/any1/aml/issues/11.
35
	rm include/sys/queue.h || die
36
}
37

  
38 25
src_configure() {
39 26
	local emesonargs=(
40 27
		$(meson_use examples)
Thank you!