Diff dcaenc-2-r2 with a dcaenc-3-r1

/usr/portage/media-sound/dcaenc/dcaenc-3-r1.ebuild 2023-10-09 14:52:31.772368408 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 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 multilib-minimal
6
inherit autotools multilib-minimal
7 7

  
8 8
DESCRIPTION="DTS Coherent Acoustics audio encoder"
9
HOMEPAGE="https://aepatrakov.narod.ru/index/0-2
10
https://gitlab.com/patrakov/dcaenc"
11
SRC_URI="https://aepatrakov.narod.ru/olderfiles/1/${P}.tar.gz"
9
HOMEPAGE="https://gitlab.com/patrakov/dcaenc"
10
SRC_URI="https://gitlab.com/patrakov/dcaenc/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
11
S="${WORKDIR}/${PN}-v${PV}"
12 12

  
13 13
LICENSE="LGPL-2.1+"
14 14
SLOT="0"
......
19 19
DEPEND="${RDEPEND}"
20 20
BDEPEND="virtual/pkgconfig"
21 21

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

  
22 27
multilib_src_configure() {
23 28
	local myeconfargs=(
24 29
		--disable-static
25 30
		$(use_enable alsa)
26 31
	)
27
	ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
32
	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
28 33
}
29 34

  
30 35
multilib_src_install_all() {
31 36
	einstalldocs
32 37
	find "${ED}" -type f -name "*.la" -delete || die
38
	if use alsa; then
39
		dosym ../../../usr/share/alsa/pcm/dca.conf \
40
				/etc/alsa/conf.d/dca.conf
41
	fi
33 42
}
Thank you!