blob: 0cc03a2fcb4fe2f3a8211b156dd6a95a9a5b8736 (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A high-level decoding and seeking API for .opus files"
HOMEPAGE="https://www.opus-codec.org/"
SRC_URI="https://downloads.xiph.org/releases/opus/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc ~x86"
IUSE="doc fixed-point +float +http libressl static-libs"
RDEPEND="media-libs/libogg
media-libs/opus
http? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
REQUIRED_USE="^^ ( fixed-point float )"
PATCHES=( "${FILESDIR}/opusfile-0.11-libressl.patch" )
src_configure() {
local myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}"
$(use_enable doc)
$(use_enable fixed-point)\
$(use_enable float)
$(use_enable http)
$(use_enable static-libs static)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -name "*.la" -delete || die
}
|