blob: 525d5192918a18f706c5daada9e12e3b553234d0 (
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
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Tools for using the Ogg Vorbis sound file format"
HOMEPAGE="https://xiph.org/vorbis/"
SRC_URI="https://ftp.osuosl.org/pub/xiph/releases/vorbis/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="flac kate nls +ogg123 speex"
RDEPEND="
media-libs/libvorbis
media-libs/opusfile
flac? ( media-libs/flac:= )
kate? ( media-libs/libkate )
ogg123? (
media-libs/libao
net-misc/curl
)
speex? ( media-libs/speex )
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.2-r3-docdir.patch
"${FILESDIR}"/${P}-clang16.patch
"${FILESDIR}"/${P}-fix-buffer-overflow.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_with flac)
$(use_with kate)
$(use_enable nls)
$(use_enable ogg123)
$(use_with speex)
)
econf "${myeconfargs[@]}"
}
|