You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/opusfile/opusfile-0.6.ebuild

33 lines
776 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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 hppa ia64 ppc ppc64 sparc x86"
IUSE="doc fixed-point +float +http static-libs"
RDEPEND="media-libs/libogg
media-libs/opus
http? ( dev-libs/openssl:= )"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
REQUIRED_USE="^^ ( fixed-point float )"
src_configure() {
econf \
--docdir=/usr/share/doc/${PF} \
$(use_enable doc) \
$(use_enable fixed-point)\
$(use_enable float) \
$(use_enable http) \
$(use_enable static-libs static)
}