summaryrefslogtreecommitdiff
blob: 885e785ad58c28d5f611b062ec1a6667b2d76afd (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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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_configure() {
	econf --enable-recursive
}

src_install() {
	default
	dodoc vorbisgain.txt
}