Сравнение libfreeaptx-0.1.1-r1 с libfreeaptx-9999

/usr/portage/media-libs/libfreeaptx/libfreeaptx-9999.ebuild 2023-10-09 14:52:31.680368405 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
inherit flag-o-matic multilib-minimal toolchain-funcs
6
inherit flag-o-matic toolchain-funcs
7 7

  
8 8
DESCRIPTION="Reverse-engineered aptX and aptX HD library (fork of libopenaptx)"
9 9
HOMEPAGE="https://github.com/iamthehorker/libfreeaptx"
......
13 13
	EGIT_REPO_URI="https://github.com/iamthehorker/${PN}"
14 14
else
15 15
	SRC_URI="https://github.com/iamthehorker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
16
	KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
16
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
17 17
fi
18 18

  
19 19
LICENSE="LGPL-2.1+"
20 20
SLOT="0"
21
IUSE="cpu_flags_x86_avx2"
22

  
23
PATCHES=(
24
	"${FILESDIR}"/${P}-fix-version.patch
25
)
26

  
27
src_prepare() {
28
	default
29 21

  
30
	# custom Makefiles
31
	multilib_copy_sources
32
}
22
IUSE="cpu_flags_x86_avx2"
33 23

  
34
multilib_src_compile() {
24
src_compile() {
35 25
	tc-export CC AR
36 26

  
37 27
	use cpu_flags_x86_avx2 && append-cflags "-mavx2"
......
45 35
		all
46 36
}
47 37

  
48
multilib_src_install() {
38
src_install() {
49 39
	emake \
50 40
		PREFIX="${EPREFIX}"/usr \
51 41
		DESTDIR="${D}" \
......
54 44
		LDFLAGS="${LDFLAGS}" \
55 45
		ARFLAGS="${ARFLAGS} -rcs" \
56 46
		install
47

  
48
	rm -f "${ED}/usr/$(get_libdir)"/libopenaptx.a || die "Failed to remove static lib"
57 49
}
Спасибо!