1 |
commit: e330363e98bc53b4ab0df598d011adc78adc049f |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Sun Jul 18 19:17:31 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 19 08:07:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e330363e |
7 |
|
8 |
media-libs/rubberband: remove unused patch |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/21710 |
13 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
14 |
|
15 |
.../rubberband/files/rubberband-1.9.1-build.patch | 177 --------------------- |
16 |
1 file changed, 177 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/rubberband/files/rubberband-1.9.1-build.patch b/media-libs/rubberband/files/rubberband-1.9.1-build.patch |
19 |
deleted file mode 100644 |
20 |
index 2d8faaee795..00000000000 |
21 |
--- a/media-libs/rubberband/files/rubberband-1.9.1-build.patch |
22 |
+++ /dev/null |
23 |
@@ -1,177 +0,0 @@ |
24 |
-diff --git a/meson.build b/meson.build |
25 |
-index 65ee113..0c089fa 100644 |
26 |
---- a/meson.build |
27 |
-+++ b/meson.build |
28 |
-@@ -97,14 +97,21 @@ endforeach |
29 |
- |
30 |
- fftw3_dep = dependency('fftw3', version: '>= 3.0.0', required: false) |
31 |
- samplerate_dep = dependency('samplerate', version: '>= 0.1.8', required: false) |
32 |
--sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false) |
33 |
--vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false) |
34 |
-+if get_option('programs') |
35 |
-+ sndfile_dep = dependency('sndfile', version: '>= 1.0.16', required: false) |
36 |
-+endif |
37 |
-+if get_option('vamp') |
38 |
-+ vamp_dep = dependency('vamp-sdk', version: '>= 2.9', required: false) |
39 |
-+endif |
40 |
- thread_dep = dependency('threads') |
41 |
--have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args) |
42 |
--have_jni = cpp.has_header('jni.h', args: extra_include_args) |
43 |
-- |
44 |
--javac = find_program('javac', required: false) |
45 |
--jar = find_program('jar', required: false) |
46 |
-+if get_option('ladspa') |
47 |
-+ have_ladspa = cpp.has_header('ladspa.h', args: extra_include_args) |
48 |
-+endif |
49 |
-+if get_option('jni') |
50 |
-+ have_jni = cpp.has_header('jni.h', args: extra_include_args) |
51 |
-+ javac = find_program('javac', required: false) |
52 |
-+ jar = find_program('jar', required: false) |
53 |
-+endif |
54 |
- |
55 |
- |
56 |
- # Check FFT and resampler options and set up dependencies and paths |
57 |
-@@ -255,37 +262,41 @@ if ipp_needed |
58 |
- endif |
59 |
- endif # ipp_needed |
60 |
- |
61 |
--if not vamp_dep.found() |
62 |
-- vamp_dep = cpp.find_library('VampPluginSDK', |
63 |
-- dirs: get_option('extra_lib_dirs'), |
64 |
-- has_headers: ['vamp-sdk.h'], |
65 |
-- header_args: extra_include_args, |
66 |
-- required: false) |
67 |
-+if get_option('vamp') |
68 |
- if not vamp_dep.found() |
69 |
-- vamp_dep = cpp.find_library('vamp-sdk', |
70 |
-+ vamp_dep = cpp.find_library('VampPluginSDK', |
71 |
- dirs: get_option('extra_lib_dirs'), |
72 |
- has_headers: ['vamp-sdk.h'], |
73 |
- header_args: extra_include_args, |
74 |
- required: false) |
75 |
-+ if not vamp_dep.found() |
76 |
-+ vamp_dep = cpp.find_library('vamp-sdk', |
77 |
-+ dirs: get_option('extra_lib_dirs'), |
78 |
-+ has_headers: ['vamp-sdk.h'], |
79 |
-+ header_args: extra_include_args, |
80 |
-+ required: false) |
81 |
-+ endif |
82 |
- endif |
83 |
-+ have_vamp = true |
84 |
- endif |
85 |
--have_vamp = vamp_dep.found() |
86 |
-- |
87 |
--if not sndfile_dep.found() |
88 |
-- sndfile_dep = cpp.find_library('sndfile', |
89 |
-- dirs: get_option('extra_lib_dirs'), |
90 |
-- has_headers: ['sndfile.h'], |
91 |
-- header_args: extra_include_args, |
92 |
-- required: false) |
93 |
-+ |
94 |
-+if get_option('programs') |
95 |
- if not sndfile_dep.found() |
96 |
-- sndfile_dep = cpp.find_library('sndfile-1', |
97 |
-+ sndfile_dep = cpp.find_library('sndfile', |
98 |
- dirs: get_option('extra_lib_dirs'), |
99 |
- has_headers: ['sndfile.h'], |
100 |
- header_args: extra_include_args, |
101 |
- required: false) |
102 |
-+ if not sndfile_dep.found() |
103 |
-+ sndfile_dep = cpp.find_library('sndfile-1', |
104 |
-+ dirs: get_option('extra_lib_dirs'), |
105 |
-+ has_headers: ['sndfile.h'], |
106 |
-+ header_args: extra_include_args, |
107 |
-+ required: false) |
108 |
-+ endif |
109 |
- endif |
110 |
-+ have_sndfile = true |
111 |
- endif |
112 |
--have_sndfile = sndfile_dep.found() |
113 |
- |
114 |
- |
115 |
- # General platform and compiler expectations |
116 |
-@@ -386,8 +397,10 @@ endif |
117 |
- # And the build targets: Static and dynamic libraries, command-line |
118 |
- # utility, LADSPA plugin, Vamp plugin, JNI library |
119 |
- |
120 |
--message('Will build Rubber Band Library static library') |
121 |
--target_summary += { 'Static library': [ true, 'Name: ' + rubberband_static_name ] } |
122 |
-+if get_option('static') |
123 |
-+ message('Will build Rubber Band Library static library') |
124 |
-+ target_summary += { 'Static library': [ true, 'Name: ' + rubberband_static_name ] } |
125 |
-+endif |
126 |
- rubberband_static = static_library( |
127 |
- rubberband_static_name, |
128 |
- library_sources, |
129 |
-@@ -425,7 +438,7 @@ else |
130 |
- message('Not building Rubber Band Library dynamic library: no_shared option set') |
131 |
- endif |
132 |
- |
133 |
--if have_jni and javac.found() and jar.found() |
134 |
-+if get_option('jni') |
135 |
- target_summary += { 'JNI library': [ true, 'Name: ' + rubberband_jni_name ] } |
136 |
- message('Will build Java Native Interface') |
137 |
- rubberband_jni = shared_library( |
138 |
-@@ -460,7 +473,7 @@ if have_jni and javac.found() and jar.found() |
139 |
- ) |
140 |
- else |
141 |
- target_summary += { 'JNI library': false } |
142 |
-- if not have_jni |
143 |
-+ if not get_option('jni') |
144 |
- message('Not building Java Native Interface: jni.h header not found') |
145 |
- else |
146 |
- message('Not building Java Native Interface: Java compiler not found') |
147 |
-@@ -474,7 +487,7 @@ install_headers( |
148 |
- subdir: 'rubberband' |
149 |
- ) |
150 |
- |
151 |
--if have_ladspa |
152 |
-+if get_option('ladspa') |
153 |
- target_summary += { 'LADSPA plugin': [ true, 'Name: ' + rubberband_ladspa_name ] } |
154 |
- message('Will build LADSPA plugin') |
155 |
- rubberband_ladspa = shared_library( |
156 |
-@@ -509,7 +522,7 @@ else |
157 |
- message('Not building LADSPA plugin: ladspa.h header not found') |
158 |
- endif |
159 |
- |
160 |
--if have_vamp |
161 |
-+if get_option('vamp') |
162 |
- target_summary += { 'Vamp plugin': [ true, 'Name: ' + rubberband_vamp_name ] } |
163 |
- message('Will build Vamp plugin') |
164 |
- rubberband_vamp = shared_library( |
165 |
-@@ -541,7 +554,7 @@ else |
166 |
- message('Not building Vamp plugin: Vamp dependency not found') |
167 |
- endif |
168 |
- |
169 |
--if have_sndfile |
170 |
-+if get_option('programs') |
171 |
- target_summary += { 'Command-line utility': [ true, 'Name: ' + rubberband_program_name ] } |
172 |
- message('Will build command-line utility') |
173 |
- rubberband_program = executable( |
174 |
-diff --git a/meson_options.txt b/meson_options.txt |
175 |
-index 1703806..cd637f1 100644 |
176 |
---- a/meson_options.txt |
177 |
-+++ b/meson_options.txt |
178 |
-@@ -31,3 +31,22 @@ option('no_shared', |
179 |
- value: 'false', |
180 |
- 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.') |
181 |
- |
182 |
-+option('jni', |
183 |
-+ type: 'boolean', |
184 |
-+ value: 'false') |
185 |
-+ |
186 |
-+option('ladspa', |
187 |
-+ type: 'boolean', |
188 |
-+ value: 'false') |
189 |
-+ |
190 |
-+option('programs', |
191 |
-+ type: 'boolean', |
192 |
-+ value: 'false') |
193 |
-+ |
194 |
-+option('static', |
195 |
-+ type: 'boolean', |
196 |
-+ value: 'false') |
197 |
-+ |
198 |
-+option('vamp', |
199 |
-+ type: 'boolean', |
200 |
-+ value: 'false') |