summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-11-26 22:26:23 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-11-26 22:26:23 +0100
commit40e7858f6951b246a4ec9871b66ffe6c96867829 (patch)
treef877214c15422a8fb535487a1639da69ae92c2f5 /media-libs/opus
parentgames-strategy/freeciv: Bump to version 2.5.6 (diff)
downloadgentoo-40e7858f6951b246a4ec9871b66ffe6c96867829.tar.gz
gentoo-40e7858f6951b246a4ec9871b66ffe6c96867829.tar.bz2
gentoo-40e7858f6951b246a4ec9871b66ffe6c96867829.zip
media-libs/opus: Bump to version 1.2_alpha
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-libs/opus')
-rw-r--r--media-libs/opus/Manifest1
-rw-r--r--media-libs/opus/opus-1.2_alpha.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest
index 7d83fbeae277..9b0b13915f76 100644
--- a/media-libs/opus/Manifest
+++ b/media-libs/opus/Manifest
@@ -1,3 +1,4 @@
DIST opus-1.1.2.tar.gz 959767 SHA256 0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd SHA512 12ec6613190a09bf6f300fac70bcf927731b707eae2511cebe7098cb49c4bf43dd21a0af4d22900958636949226df50243c432d53dedeacd46a4978729b5fc0d WHIRLPOOL 4de7a13a2102d2d8c9961af0dcc3d24a8b9f6a552bf5db93d7ffffb000a0a379f68407d0fc4576e84522442fbb5115419fd6a4c4dd9fab2b504de27ef3a3b1eb
DIST opus-1.1.3.tar.gz 978848 SHA256 58b6fe802e7e30182e95d0cde890c0ace40b6f125cffc50635f0ad2eef69b633 SHA512 99fe272ade3f072e38101ec29f9125c9f4f2bacbcc002a9caca6e64a721f6c4193d7b1b81bd8370225693249c94293c4eea980e66c704424939dabbab890ab43 WHIRLPOOL 21137bae340d95ff99c45ff8014a89a104ee3557ddc366639e0badd317de072b135eec3c5292db3e47fb92da1abf3854a62d29e4d9d9fded109ddc272e86d38c
DIST opus-1.1.tar.gz 850208 SHA256 b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95 SHA512 b603efe66d65ef38dbcd0d2bbf213a1d15fa456aee00eca73e99abe4ec78668ed82e661ca7a69e9af4e0bc39e1aa76c4151b7f9840ff621ddcfd69f596cf2ba9 WHIRLPOOL 9d53e57d0c99b7e5e330822808f5b79e19bb3fbbffb9054e3d1d421b42fd70463d5fc39517eff1169d218bad8ab2440162c334ace013ffba846cbcfb57206201
+DIST opus-1.2-alpha.tar.gz 991536 SHA256 654a9bebb73266271a28edcfff431e4cfd9bfcde71f42849a0cdd73bece803a7 SHA512 6ddee97b432ed27f5d89ae5a63217e23a318f9c56c7fff8a668b230d1d52c4d4341d875e5fb842ff0e057f5cac1ccb3a70a7ad44b27e275ece2bd497d4ea8347 WHIRLPOOL 13082acf6da1bb9e68aefbcc0af9c35441c23c0589983c6c0f69d293e2c66f679903bcbafbebcde2baf7e409bb784ec8cd45e2ca7d043db76bf73d076869e266
diff --git a/media-libs/opus/opus-1.2_alpha.ebuild b/media-libs/opus/opus-1.2_alpha.ebuild
new file mode 100644
index 000000000000..79f8f61e5992
--- /dev/null
+++ b/media-libs/opus/opus-1.2_alpha.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit multilib-minimal
+
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-2
+ EGIT_REPO_URI="git://git.opus-codec.org/opus.git"
+else
+ SRC_URI="http://downloads.xiph.org/releases/${PN}/${P/_/-}.tar.gz"
+ if [[ "${PV}" != *_alpha* ]] && [[ "${PV}" != *_beta* ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+ fi
+fi
+
+DESCRIPTION="Open versatile codec designed for interactive speech and audio transmission over the internet"
+HOMEPAGE="http://opus-codec.org/"
+
+LICENSE="BSD-2"
+SLOT="0"
+INTRINSIC_FLAGS="cpu_flags_x86_sse neon"
+IUSE="ambisonics custom-modes doc static-libs ${INTRINSIC_FLAGS}"
+
+DEPEND="doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${P/_/-}"
+
+multilib_src_configure() {
+ local myeconfargs=(
+ $(use_enable custom-modes)
+ $(use_enable ambisonics)
+ $(use_enable doc)
+ )
+ for i in ${INTRINSIC_FLAGS} ; do
+ use ${i} && myeconfargs+=( --enable-intrinsics )
+ done
+ ECONF_SOURCE="${S}" \
+ econf "${myeconfargs[@]}"
+}