commit:     1ce13efdfb214acae9eab4d8a22d6001d390d7b7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 15 15:53:39 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 15 17:15:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce13efd

media-libs/opus: Drop old

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 media-libs/opus/Manifest                           |  1 -
 .../opus/files/opus-1.1.3-CVE-2017-0381.patch      | 24 -------------
 media-libs/opus/opus-1.1.3-r1.ebuild               | 41 ----------------------
 3 files changed, 66 deletions(-)

diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest
index b977c37674b..d4852063c29 100644
--- a/media-libs/opus/Manifest
+++ b/media-libs/opus/Manifest
@@ -1,2 +1 @@
-DIST opus-1.1.3.tar.gz 978848 BLAKE2B 
0b376c2d0e219b5821e4219e937121ecd6c7b0f17f5d38ffe841a711a6f6b0551ee9ef1bf657e67005750a8d2cbe4ed262ad231195abff527f39b764e0773d81
 SHA512 
99fe272ade3f072e38101ec29f9125c9f4f2bacbcc002a9caca6e64a721f6c4193d7b1b81bd8370225693249c94293c4eea980e66c704424939dabbab890ab43
 DIST opus-1.2.1.tar.gz 1011070 BLAKE2B 
eff3e20c22cd5370a6a3aabf90cfe6f950a3a8d33cbaed8e053ff637c3c45d1d007a10da2f7983564c0bfcc3768f79ffbc041489fc8835f1faaa2fb6c0ef3800
 SHA512 
4a98d0a7dbd1a313e89407576805fd733c1192e8ef7e1137e3260025478a1cf1c5a8b71b48c372a0cffe6340524137fe47f181651888284f8221fb4d673f7cd5

diff --git a/media-libs/opus/files/opus-1.1.3-CVE-2017-0381.patch 
b/media-libs/opus/files/opus-1.1.3-CVE-2017-0381.patch
deleted file mode 100644
index 621236b5855..00000000000
--- a/media-libs/opus/files/opus-1.1.3-CVE-2017-0381.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 79e8f527b0344b0897a65be35e77f7885bd99409 Mon Sep 17 00:00:00 2001
-From: Felicia Lim <f...@google.com>
-Date: Thu, 28 Jul 2016 15:21:19 +0200
-Subject: [PATCH] Ensure that NLSF cannot be negative when computing a min
- distance between them
-
-Signed-off-by: Jean-Marc Valin <jmva...@jmvalin.ca>
----
- silk/NLSF_stabilize.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/silk/NLSF_stabilize.c b/silk/NLSF_stabilize.c
-index 1fa1ea3..8f3426b 100644
---- a/silk/NLSF_stabilize.c
-+++ b/silk/NLSF_stabilize.c
-@@ -130,7 +130,7 @@ void silk_NLSF_stabilize(
- 
-         /* Keep delta_min distance between the NLSFs */
-         for( i = 1; i < L; i++ )
--            NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], NLSF_Q15[i-1] + 
NDeltaMin_Q15[i] );
-+            NLSF_Q15[i] = silk_max_int( NLSF_Q15[i], silk_ADD_SAT16( 
NLSF_Q15[i-1], NDeltaMin_Q15[i] ) );
- 
-         /* Last NLSF should be no higher than 1 - NDeltaMin[L] */
-         NLSF_Q15[L-1] = silk_min_int( NLSF_Q15[L-1], (1<<15) - 
NDeltaMin_Q15[L] );

diff --git a/media-libs/opus/opus-1.1.3-r1.ebuild 
b/media-libs/opus/opus-1.1.3-r1.ebuild
deleted file mode 100644
index 03fade57597..00000000000
--- a/media-libs/opus/opus-1.1.3-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit multilib-minimal
-
-if [[ ${PV} == *9999 ]] ; then
-       inherit git-r3
-       EGIT_REPO_URI="https://git.xiph.org/opus.git";
-else
-       SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz";
-       KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd"
-fi
-
-DESCRIPTION="Open codec designed for internet transmission of interactive 
speech and audio"
-HOMEPAGE="http://opus-codec.org/";
-SRC_URI="http://downloads.xiph.org/releases/opus/${P}.tar.gz";
-
-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 )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.1.3-CVE-2017-0381.patch
-)
-
-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[@]}"
-}

Reply via email to