summaryrefslogtreecommitdiff
path: root/media-libs/rubberband
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/rubberband')
-rw-r--r--media-libs/rubberband/Manifest3
-rw-r--r--media-libs/rubberband/files/rubberband-3.1.1-build.patch179
-rw-r--r--media-libs/rubberband/rubberband-3.1.1-r1.ebuild68
3 files changed, 0 insertions, 250 deletions
diff --git a/media-libs/rubberband/Manifest b/media-libs/rubberband/Manifest
index 7148c4a77391..a2b6e6490658 100644
--- a/media-libs/rubberband/Manifest
+++ b/media-libs/rubberband/Manifest
@@ -1,9 +1,6 @@
-AUX rubberband-3.1.1-build.patch 6812 BLAKE2B bbc737c3721fcecbe133acda980c31d90fd0009d697e5dfdbdc38ab47bc381ce8ce65bbde011a6974f363c69fe33b22daf6a8d4a950b113dc905e5fce9b01465 SHA512 d6bfd803cdead6b1b744bc980258e8e41752ea3e2caeb8a6b8ccba0b1d1ddee3cdb5d580a13ee4316dc26310b3fed4dc11e832e55371624c7ba0676518089158
-DIST rubberband-3.1.1.tar.bz2 217586 BLAKE2B 17f616eab563f0949dc89103775dac2c932b8ade79e7445524c87d9ced46ecd30d9cff53960e2638ce571c1f6ddbc9ad50e7371900b96eb0ec22c58cc80e585e SHA512 240ad6cd486f975099f76c6ac8bcf34add45670f58164089ffc9767ebef4c7dfdd7e58ad0c3d99a96f56af0d1f7669e55c5fc3e79277357c62fba21cb3bfe4cd
DIST rubberband-3.1.2.tar.bz2 218361 BLAKE2B 26d2850adea8b564e49ce1eb24abcd9cd83d20a5eda6bcfc1254b3357a0e720b04faa9e9f2de769b65f6449afe138de9051505f745f69a73cc1275786029838c SHA512 b21605a0cf882e34fc2eada38a446220257e4b067475e36dfeef00d491425ad51398fbb49773dbd162683531b70f7c864ab02bff744d7e0dde7ed1d64aa1d327
DIST rubberband-3.1.3.tar.bz2 218532 BLAKE2B edc9ada6a67af2b45f15a6240b46d77830068595f5b873b50b55e91be29abc30600025713e7bd84e99d05ea1d0fcdb36873cbf966b00d7e805cfea99a4462e1d SHA512 c7e42020c543b1741e1d3e7ad79f92081177953f63a8b7b1c302a185cb7a0b828d9519e03a6df39c1cff356b324370313501df54bc74be32dcdb955c789b6485
DIST rubberband-3.2.1.tar.bz2 221756 BLAKE2B 6b2bb540037495892907285561982b2f87affa60b6ad84315654e92f3321be097dfc23fec9dde6eb9e3a7a3e38d6e3126f683dc88f442845722f321ddeb8c24d SHA512 c2278d874ebaeafa2ff6be4bdd3dea40235debce7ced8b93f1b73a93b5796b77ee5f6024cb539776f11bd936c2f100c084d7e91c006e81c1e6f3cf5eff602cbf
-EBUILD rubberband-3.1.1-r1.ebuild 1777 BLAKE2B 006f2b1e51b9445703d547d8a8bbf5c0b793ab824738bbf9274b4b7acaf11b982f6bf52db67e982359c8b8456927d2a320889faefde2e92b6de8f3b9a0a95a28 SHA512 e42edbfa26c594a74acdf6230fc6f60fe7b4c928c698216e327c1528039c4c6238d69dd79c227ad3211ab96ea981e94ba67dd185bcbb407db5aada1b8d4d5e75
EBUILD rubberband-3.1.2.ebuild 2427 BLAKE2B e9f5ab31106e27cd132d71a7d7736d1656fd991c9d8b3da13e8e09074d7cfa70556feabcf4601827e6b061ae27ac2d5ad63e7bb785b1cc660fa1ff1ec2b06339 SHA512 916d3e687b46cbd5a4298fa46fc971ef3157f5b67ed05b81f837d72015eb278e2598e78d82e7d796d5f580acfa4e13a4b9766fb81f1b2e19aac516443cd05fae
EBUILD rubberband-3.1.3.ebuild 2433 BLAKE2B cf669664027b15cf972e5a500adce631e7dbeaba4ac8aaf59eeb3434c285f45fe31fee8a052fbb182e7d061d2ecc1d3cab91a960c6853c488117018c38cd6e7e SHA512 4abfae1b4fdcc8ecb23358e30968529525f910d0f05540270e5ada1b0d1eca179e27d105a042f892203ac8b0d440861cb2c4660d6b382e518516b5332088f2d7
EBUILD rubberband-3.2.1.ebuild 2433 BLAKE2B cf669664027b15cf972e5a500adce631e7dbeaba4ac8aaf59eeb3434c285f45fe31fee8a052fbb182e7d061d2ecc1d3cab91a960c6853c488117018c38cd6e7e SHA512 4abfae1b4fdcc8ecb23358e30968529525f910d0f05540270e5ada1b0d1eca179e27d105a042f892203ac8b0d440861cb2c4660d6b382e518516b5332088f2d7
diff --git a/media-libs/rubberband/files/rubberband-3.1.1-build.patch b/media-libs/rubberband/files/rubberband-3.1.1-build.patch
deleted file mode 100644
index 9dce52ec5e03..000000000000
--- a/media-libs/rubberband/files/rubberband-3.1.1-build.patch
+++ /dev/null
@@ -1,179 +0,0 @@
---- a/meson.build
-+++ b/meson.build
-@@ -117,12 +117,18 @@ sleef_dep = dependency('sleef', version: '>= 3.3.0', required: false)
- sleefdft_dep = dependency('sleefdft', version: '>= 3.3.0', required: false)
- samplerate_dep = dependency('samplerate', version: '>= 0.1.8', required: false)
- speexdsp_dep = dependency('speexdsp', version: '>= 1.0.0', 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: true)
-+endif
-+if get_option('vamp')
-+ vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: true)
-+endif
-
- boost_unit_test_dep = dependency('boost', modules: ['unit_test_framework'], version: '>= 1.73', required: false)
- 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_lv2 = cpp.has_header('lv2.h', args: extra_include_args)
- have_sincos = cpp.has_function('sincos',
- prefix: '#define _GNU_SOURCE\n#include <math.h>',
-@@ -142,8 +148,9 @@ have_sincos = cpp.has_function('sincos',
- # language pack, optionally, and only go on to JNI if that succeeds,
- # making sure that nothing "clever" happens if Java is not found.
- #
--have_java = add_languages('java', required: false)
--if have_java
-+if get_option('jni')
-+ javac = find_program('javac', required: false)
-+ jar = find_program('jar', required: true)
- jni_dep = dependency('jni', version: '>= 7.0.0', required: false)
- if not jni_dep.found()
- if cpp.has_header('jni.h', args: extra_include_args)
-@@ -370,37 +377,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()
-
- have_boost_unit_test = boost_unit_test_dep.found()
-
-@@ -609,7 +620,7 @@ if get_option('default_library') != 'shared' and rubberband_additional_static_li
- )
- endif
-
--if have_java and jni_dep.found()
-+if get_option('jni')
- target_summary += { 'JNI library': [ true, 'Name: ' + rubberband_jni_name ] }
- message('Will build Java Native Interface')
- rubberband_jni = shared_library(
-@@ -630,14 +641,21 @@ if have_java and jni_dep.found()
- # NB the JNI library is not versioned
- install: true,
- )
-- jar('rubberband', 'com/breakfastquay/rubberband/RubberBandStretcher.java')
-+ rubberband_class = custom_target(
-+ 'rubberband_class',
-+ input: 'com/breakfastquay/rubberband/RubberBandStretcher.java',
-+ output: 'RubberBandStretcher.class',
-+ command: [ javac, '@INPUT@', '-d', '@OUTDIR@' ],
-+ )
-+ rubberband_jar = custom_target(
-+ 'rubberband_jar',
-+ input: rubberband_class,
-+ output: 'rubberband.jar',
-+ command: [ jar, 'cvf', '@OUTPUT@', 'com/breakfastquay/rubberband/@INPUT@' ],
-+ build_by_default: true,
-+ )
- else
- target_summary += { 'JNI library': false }
-- if not have_java
-- message('Not building Java Native Interface: Java compiler or archiver missing')
-- else
-- message('Not building Java Native Interface: JNI header not found')
-- endif
- endif
-
- install_headers(
-@@ -647,7 +665,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(
-@@ -714,7 +732,7 @@ else
- message('Not building LV2 plugin: lv2.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(
-@@ -746,7 +764,7 @@ else
- message('Not building Vamp plugin: Vamp dependency not found')
- endif
-
--if have_sndfile
-+if get_option('programs')
- message('Will build command-line utilities')
- target_summary += { 'Command-line utility (R2)': [ true, 'Name: ' + rubberband_program_name ] }
- rubberband_program = executable(
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -26,3 +26,18 @@ option('extra_lib_dirs',
- value: [],
- description: 'Additional local library directories to search for dependencies.')
-
-+option('jni',
-+ type: 'boolean',
-+ value: 'false')
-+
-+option('ladspa',
-+ type: 'boolean',
-+ value: 'false')
-+
-+option('programs',
-+ type: 'boolean',
-+ value: 'false')
-+
-+option('vamp',
-+ type: 'boolean',
-+ value: 'false')
diff --git a/media-libs/rubberband/rubberband-3.1.1-r1.ebuild b/media-libs/rubberband/rubberband-3.1.1-r1.ebuild
deleted file mode 100644
index 3488f7ac50cd..000000000000
--- a/media-libs/rubberband/rubberband-3.1.1-r1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson-multilib flag-o-matic toolchain-funcs
-
-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 ~loong 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}
- sys-devel/gcc:*
-"
-DEPEND="${CDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-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
- elif tc-is-clang && [[ $(tc-get-cxx-stdlib) == libstdc++ ]] ; then
- # bug #860078
- # undefined reference to `__atomic_is_lock_free'
- append-ldflags -latomic
- fi
-
- local emesonargs=(
- --buildtype=release
- -Dfft=fftw
- -Dresampler=libsamplerate
- -Ddefault_library=$(use static-libs && echo "both" || echo "shared")
- $(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
-}