gentoo-ebuilds/media-sound/vorbisgain/vorbisgain-0.37-r5.ebuild
Sam James b8e4dcb390
media-sound/vorbisgain: fix modern C issue in configure
Closes: https://bugs.gentoo.org/899862
Signed-off-by: Sam James <sam@gentoo.org>
2024-11-27 04:57:09 +00:00

43 lines
733 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Calculator of perceived sound level for Ogg Vorbis files"
HOMEPAGE="https://sjeng.org/vorbisgain.html"
SRC_URI="https://sjeng.org/ftp/vorbis/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86"
RDEPEND="
media-libs/libogg
media-libs/libvorbis
"
DEPEND="${RDEPEND}"
PATCHES=(
# bug 200931
"${FILESDIR}"/${P}-fix-errno-and-warnings.patch
# bug 634994
"${FILESDIR}"/${P}-wformat-security.patch
)
src_prepare() {
default
# bug #899862
eautoreconf
}
src_configure() {
econf --enable-recursive
}
src_install() {
default
dodoc vorbisgain.txt
}