mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 08:55:57 +02:00
Fix a silly trick being used there that causes problems rather than fixing any. Closes: https://bugs.gentoo.org/944353 Signed-off-by: Sam James <sam@gentoo.org>
53 lines
1 KiB
Bash
53 lines
1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
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 ~arm64 ~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
|
|
"${FILESDIR}"/${P}-c23.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
AT_M4DIR="." eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_with audiofile) \
|
|
$(use_with mad) \
|
|
$(use_enable nls) \
|
|
--disable-xmms
|
|
}
|
|
|
|
src_test() {
|
|
# .sh tests missing a dep on ../src/mktestwav but ancient autoconf/automake
|
|
# so too much hassle to patch, bug #740488.
|
|
emake -j1 check
|
|
}
|