summaryrefslogtreecommitdiff
path: root/media-sound/dcaenc/dcaenc-2-r2.ebuild
blob: 03cb57ac54c99b148173ede8510937a34f3b819e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit multilib-minimal

DESCRIPTION="DTS Coherent Acoustics audio encoder"
HOMEPAGE="https://aepatrakov.narod.ru/index/0-2
https://gitlab.com/patrakov/dcaenc"
SRC_URI="https://aepatrakov.narod.ru/olderfiles/1/${P}.tar.gz"

LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa"

RDEPEND="alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

multilib_src_configure() {
	local myeconfargs=(
		--disable-static
		$(use_enable alsa)
	)
	ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
}

multilib_src_install_all() {
	einstalldocs
	find "${ED}" -type f -name "*.la" -delete || die
}