commit:     173eac7c7b74082a64b171a2f85790cebd98ecbc
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 12:22:11 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 12:22:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173eac7c

media-libs/rubberband: removed obsolete 2.0.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/rubberband/Manifest                     |   1 -
 .../rubberband/files/rubberband-1.9.2-build.patch  | 180 ---------------------
 media-libs/rubberband/rubberband-2.0.0.ebuild      |  61 -------
 3 files changed, 242 deletions(-)

diff --git a/media-libs/rubberband/Manifest b/media-libs/rubberband/Manifest
index fa057ae10e08..80a956da1d48 100644
--- a/media-libs/rubberband/Manifest
+++ b/media-libs/rubberband/Manifest
@@ -1,2 +1 @@
-DIST rubberband-2.0.0.tar.bz2 175527 BLAKE2B 
5b4b8c98ade57f8b7776902166e8aa33e8f89d4de3fe659425a7ef14c1cf3c8a48ad474d2fe0f13483844b4f931ca8128ca57bb7e6dbf6e9d96deadac8856ee0
 SHA512 
a915a3eea75f0345e83010cc3ffd3c5e0c68a0c1d88da11b11a5fd5010196167c81db611a38c2c2b8d5c5a1f828f2c74a134e6ca8bb3a543af3ef70ce8d56101
 DIST rubberband-2.0.2.tar.bz2 178974 BLAKE2B 
602d7eb76791d431a65bd5ef0d53ea0c2672e67aaa566594b3b2bb026cdf1b8879380818c3626a2c6d51cd6366bd47a52c69c110da566aa234fb7b37b19f027b
 SHA512 
87dc5d59995bf949c35b885bb2eced067d84775bab76692da1202ae7554cb1b8404ca7371c264363e6d55c8978762ed32b446535746061f09e90cfc599adc0a0

diff --git a/media-libs/rubberband/files/rubberband-1.9.2-build.patch 
b/media-libs/rubberband/files/rubberband-1.9.2-build.patch
deleted file mode 100644
index dea90db4ddb0..000000000000
--- a/media-libs/rubberband/files/rubberband-1.9.2-build.patch
+++ /dev/null
@@ -1,180 +0,0 @@
-diff --git a/meson.build b/meson.build
-index 3f7218c..3d402de 100644
---- a/meson.build
-+++ b/meson.build
-@@ -97,17 +97,25 @@ endforeach
- 
- fftw3_dep = dependency('fftw3', version: '>= 3.0.0', required: false)
- samplerate_dep = dependency('samplerate', version: '>= 0.1.8', required: 
false)
--sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false)
--vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false)
-+if get_option('programs')
-+  sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false)
-+endif
-+if get_option('vamp')
-+  vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false)
-+endif
- thread_dep = dependency('threads')
--have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args)
-+if get_option('ladspa')
-+  have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args)
-+endif
- have_sincos = cpp.has_function('sincos',
-                                prefix: '#define _GNU_SOURCE\n#include 
<math.h>',
-                                args: '-lm')
--have_jni = cpp.has_header('jni.h', args: extra_include_args)
-+if get_option('jni')
-+  have_jni = cpp.has_header('jni.h', args: extra_include_args)
- 
--javac = find_program('javac', required: false)
--jar = find_program('jar', required: false)
-+  javac = find_program('javac', required: false)
-+  jar = find_program('jar', required: false)
-+endif
- 
- 
- # Check FFT and resampler options and set up dependencies and paths
-@@ -273,37 +281,41 @@ if ipp_needed
-   endif
- endif # ipp_needed
- 
--if not vamp_dep.found()
--  vamp_dep = cpp.find_library('VampPluginSDK',
--                              dirs: get_option('extra_lib_dirs'),
--                              has_headers: ['vamp-sdk.h'],
--                              header_args: extra_include_args,
--                              required: false)
-+if get_option('vamp')
-   if not vamp_dep.found()
--    vamp_dep = cpp.find_library('vamp-sdk',
-+    vamp_dep = cpp.find_library('VampPluginSDK',
-                                 dirs: get_option('extra_lib_dirs'),
-                                 has_headers: ['vamp-sdk.h'],
-                                 header_args: extra_include_args,
-                                 required: false)
-+    if not vamp_dep.found()
-+      vamp_dep = cpp.find_library('vamp-sdk',
-+                                  dirs: get_option('extra_lib_dirs'),
-+                                  has_headers: ['vamp-sdk.h'],
-+                                  header_args: extra_include_args,
-+                                  required: false)
-+    endif
-   endif
-+  have_vamp = true
- endif
--have_vamp = vamp_dep.found()
--
--if not sndfile_dep.found()
--  sndfile_dep = cpp.find_library('sndfile',
--                                 dirs: get_option('extra_lib_dirs'),
--                                 has_headers: ['sndfile.h'],
--                                 header_args: extra_include_args,
--                                 required: false)
-+
-+if get_option('programs')
-   if not sndfile_dep.found()
--    sndfile_dep = cpp.find_library('sndfile-1',
-+    sndfile_dep = cpp.find_library('sndfile',
-                                    dirs: get_option('extra_lib_dirs'),
-                                    has_headers: ['sndfile.h'],
-                                    header_args: extra_include_args,
-                                    required: false)
-+    if not sndfile_dep.found()
-+      sndfile_dep = cpp.find_library('sndfile-1',
-+                                     dirs: get_option('extra_lib_dirs'),
-+                                     has_headers: ['sndfile.h'],
-+                                     header_args: extra_include_args,
-+                                     required: false)
-+    endif
-   endif
-+  have_sndfile = true
- endif
--have_sndfile = sndfile_dep.found()
- 
- 
- # General platform and compiler expectations
-@@ -404,8 +416,10 @@ endif
- # And the build targets: Static and dynamic libraries, command-line
- # utility, LADSPA plugin, Vamp plugin, JNI library
- 
--message('Will build Rubber Band Library static library')
--target_summary += { 'Static library': [ true, 'Name: ' + 
rubberband_static_name ] }
-+if get_option('static')
-+  message('Will build Rubber Band Library static library')
-+  target_summary += { 'Static library': [ true, 'Name: ' + 
rubberband_static_name ] }
-+endif
- rubberband_static = static_library(
-   rubberband_static_name,
-   library_sources,
-@@ -443,7 +457,7 @@ else
-   message('Not building Rubber Band Library dynamic library: no_shared option 
set')
- endif
- 
--if have_jni and javac.found() and jar.found()
-+if get_option('jni')
-   target_summary += { 'JNI library': [ true, 'Name: ' + rubberband_jni_name ] 
}
-   message('Will build Java Native Interface')
-   rubberband_jni = shared_library(
-@@ -478,7 +492,7 @@ if have_jni and javac.found() and jar.found()
-   )
- else
-   target_summary += { 'JNI library': false }
--  if not have_jni
-+  if not get_option('jni')
-     message('Not building Java Native Interface: jni.h header not found')
-   else 
-     message('Not building Java Native Interface: Java compiler not found')
-@@ -492,7 +506,7 @@ install_headers(
-   subdir: 'rubberband'
- )
- 
--if have_ladspa
-+if get_option('ladspa')
-   target_summary += { 'LADSPA plugin': [ true, 'Name: ' + 
rubberband_ladspa_name ] }
-   message('Will build LADSPA plugin')
-   rubberband_ladspa = shared_library(
-@@ -527,7 +541,7 @@ else
-   message('Not building LADSPA plugin: ladspa.h header not found')
- endif
- 
--if have_vamp
-+if get_option('vamp')
-   target_summary += { 'Vamp plugin': [ true, 'Name: ' + rubberband_vamp_name 
] }
-   message('Will build Vamp plugin')
-   rubberband_vamp = shared_library(
-@@ -559,7 +573,7 @@ else
-   message('Not building Vamp plugin: Vamp dependency not found')
- endif
- 
--if have_sndfile
-+if get_option('programs')
-   target_summary += { 'Command-line utility': [ true, 'Name: ' + 
rubberband_program_name ] }
-   message('Will build command-line utility')
-   rubberband_program = executable(
-diff --git a/meson_options.txt b/meson_options.txt
-index 86bf686..b99bb38 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -31,3 +31,22 @@ option('no_shared',
-        value: 'false',
-        description: 'Do not build shared libraries. On Windows this will also 
ensure that the static library is called simply rubberband.lib, not 
rubberband-static.lib as it is in the default build.')
- 
-+option('jni',
-+       type: 'boolean',
-+       value: 'false')
-+
-+option('ladspa',
-+       type: 'boolean',
-+       value: 'false')
-+
-+option('programs',
-+       type: 'boolean',
-+       value: 'false')
-+
-+option('static',
-+       type: 'boolean',
-+       value: 'false')
-+
-+option('vamp',
-+       type: 'boolean',
-+       value: 'false')

diff --git a/media-libs/rubberband/rubberband-2.0.0.ebuild 
b/media-libs/rubberband/rubberband-2.0.0.ebuild
deleted file mode 100644
index 47258d95fe93..000000000000
--- a/media-libs/rubberband/rubberband-2.0.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson-multilib flag-o-matic
-
-DESCRIPTION="An audio time-stretching and pitch-shifting library and utility 
program"
-HOMEPAGE="https://www.breakfastquay.com/rubberband/";
-SRC_URI="https://breakfastquay.com/files/releases/${P}.tar.bz2";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86"
-IUSE="ladspa jni static-libs +programs vamp"
-
-BDEPEND="
-       virtual/pkgconfig
-"
-CDEPEND="
-       media-libs/libsamplerate[${MULTILIB_USEDEP}]
-       sci-libs/fftw:3.0[${MULTILIB_USEDEP}]
-       jni? ( >=virtual/jdk-1.8:* )
-       ladspa? ( media-libs/ladspa-sdk )
-       programs? ( media-libs/libsndfile )
-       vamp? ( media-libs/vamp-plugin-sdk[${MULTILIB_USEDEP}] )
-"
-RDEPEND="${CDEPEND}"
-DEPEND="${CDEPEND}"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.9.2-build.patch"
-)
-
-multilib_src_configure() {
-       if use ppc ; then
-               # bug #827203
-               # meson doesn't respect/use LIBS but mangles LDFLAGS with libs
-               # correctly. Use this until we get a Meson test for libatomic.
-               append-ldflags -latomic
-       fi
-
-       local emesonargs=(
-               --buildtype=release
-               -Dfft=fftw
-               -Dresampler=libsamplerate
-               $(meson_use static-libs static)
-               $(meson_use ladspa)
-               $(meson_use jni)
-               $(meson_use programs)
-               $(meson_use vamp)
-       )
-       use jni && emesonargs+=(
-               -Dextra_include_dirs="$(java-config -g 
JAVA_HOME)/include,$(java-config -g JAVA_HOME)/include/linux"
-       )
-       meson_src_configure
-}
-
-multilib_src_install_all() {
-       ! use jni && find "${ED}" -name "*.a" -delete
-}

Reply via email to