commit:     cf44b2dcd9aea19b20cefe3846f52296ff01e033
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 09:49:25 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Dec 10 09:49:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf44b2dc

media-libs/opus: dropped obsolete 1.3.1-r4

Bug: https://bugs.gentoo.org/906984
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/opus/Manifest                           |  1 -
 .../opus-1.3.1-macro-wstrict-prototypes.patch      | 20 --------
 media-libs/opus/opus-1.3.1-r4.ebuild               | 55 ----------------------
 3 files changed, 76 deletions(-)

diff --git a/media-libs/opus/Manifest b/media-libs/opus/Manifest
index 494be1909629..123ae96c678a 100644
--- a/media-libs/opus/Manifest
+++ b/media-libs/opus/Manifest
@@ -1,2 +1 @@
-DIST opus-1.3.1.tar.gz 1040054 BLAKE2B 
e0aab38518938157a6ef27307f52d9d3f9c12a2fef4c7e5b4168c2f6fc04d79e333ebe477059b3e6a0518fcf6aa089b5eb1c8de68d83474e237c0f73e5a221cb
 SHA512 
6cd5e4d8a0551ed5fb59488c07a5cc18a241d1fde5f9eb9f16cd4e77abcdb4134dd51ad1d737be1e6039bfa56912510b8648152f2478a1f21c7c1d9ce32933cd
 DIST opus-1.4.tar.gz 1063408 BLAKE2B 
21f11df745cb868f4da1586d678901045fd9bd0c0590628015f3adc2522c88b0660df88096abe975051fec3188b76b93762c4a01907c2ab2b23c40fde79cf6ad
 SHA512 
1ecd39e0add24de12823bf7c936bb67441228721e2cdae0edbfcf3cee0894bcc6edf2a1d0ca5cdfdad1565803bf39cc4c985ad32710c2a9582f850adeb5ca631

diff --git a/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch 
b/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch
deleted file mode 100644
index 34edb539b29c..000000000000
--- a/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://gitlab.xiph.org/xiph/opus/-/merge_requests/56
-
-From 402615a38851f7180c3ac01e246fcbc7de9fd451 Mon Sep 17 00:00:00 2001
-From: Sam James <s...@gentoo.org>
-Date: Wed, 23 Nov 2022 03:19:54 +0000
-Subject: [PATCH] opus.m4: fix -Wstrict-prototypes
-
-Signed-off-by: Sam James <s...@gentoo.org>
---- a/opus.m4
-+++ b/opus.m4
-@@ -63,7 +63,7 @@ dnl
- #include <string.h>
- #include <opus.h>
- 
--int main ()
-+int main (void)
- {
-   system("touch conf.opustest");
-   return 0;
-GitLab

diff --git a/media-libs/opus/opus-1.3.1-r4.ebuild 
b/media-libs/opus/opus-1.3.1-r4.ebuild
deleted file mode 100644
index f0cf24b1ed2b..000000000000
--- a/media-libs/opus/opus-1.3.1-r4.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic multilib-minimal
-
-DESCRIPTION="Open codec for interactive speech and music transmission over the 
Internet"
-HOMEPAGE="https://opus-codec.org/";
-SRC_URI="https://archive.mozilla.org/pub/opus/${P}.tar.gz";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv sparc x86"
-INTRINSIC_FLAGS="cpu_flags_x86_sse cpu_flags_arm_neon"
-IUSE="custom-modes doc static-libs ${INTRINSIC_FLAGS}"
-
-BDEPEND="
-       doc? (
-               app-doc/doxygen
-               media-gfx/graphviz
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.3.1-libdir-macro.patch
-       "${FILESDIR}"/${PN}-1.3.1-macro-wstrict-prototypes.patch
-)
-
-multilib_src_configure() {
-       local myeconfargs=(
-               $(use_enable custom-modes)
-               $(multilib_native_use_enable doc)
-               $(use_enable static-libs static)
-       )
-
-       local i
-       # We want to disable intrinsics if no flags are enabled
-       # (This is a fun Bash construct to do that!)
-       # bug #752069
-       for i in ${INTRINSIC_FLAGS} ; do
-               use ${i} && myeconfargs+=( --enable-intrinsics ) && break
-       done || myeconfargs+=( --disable-intrinsics )
-
-       if is-flagq -ffast-math || is-flagq -Ofast; then
-               myeconfargs+=( --enable-float-approx )
-       fi
-
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       find "${ED}" -name "*.la" -delete || die
-}

Reply via email to