From 89c6c06b8c42107dd231687a1012354e7d3039fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 Nov 2017 11:42:28 +0000 Subject: gentoo resync : 26.11.2017 --- media-libs/opusfile/opusfile-0.10.ebuild | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 media-libs/opusfile/opusfile-0.10.ebuild (limited to 'media-libs/opusfile/opusfile-0.10.ebuild') diff --git a/media-libs/opusfile/opusfile-0.10.ebuild b/media-libs/opusfile/opusfile-0.10.ebuild new file mode 100644 index 000000000000..a71ac3c1742d --- /dev/null +++ b/media-libs/opusfile/opusfile-0.10.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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:= ) + )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +REQUIRED_USE="^^ ( fixed-point float )" + +src_configure() { + local myeconfargs=( + --docdir=/usr/share/doc/${PF} + $(use_enable doc) + $(use_enable fixed-point)\ + $(use_enable float) + $(use_enable http) + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} -- cgit v1.2.3