blob: 07f55a40e1c2a374c7d8cd867167334a498db471 (
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
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Audio file volume normalizer"
HOMEPAGE="http://normalize.nongnu.org/"
SRC_URI="
https://savannah.nongnu.org/download/${PN}/${P}.tar.bz2
https://dev.gentoo.org/~radhermit/distfiles/${P}-m4.patch.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86"
IUSE="audiofile mad nls"
RDEPEND="
audiofile? ( media-libs/audiofile:= )
mad? ( media-libs/libmad:= )"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
nls? ( dev-util/intltool )"
PATCHES=(
"${FILESDIR}"/${P}-audiofile-pkgconfig.patch
"${WORKDIR}"/${P}-m4.patch
)
src_prepare() {
default
AT_M4DIR="." eautoreconf
}
src_configure() {
econf \
$(use_with audiofile) \
$(use_with mad) \
$(use_enable nls) \
--disable-xmms
}
|