diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-04-25 22:59:24 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-04-25 23:57:10 +0100 |
commit | 96c46518c21e26fa1865cae9762f204f3649a8e2 (patch) | |
tree | b07d71af12d04fae198ed607bdeb4930c70cae6b /media-sound/pulseeffects/files | |
parent | dev-libs/cJSON: remove whitespace in DESCRIPTION (diff) | |
download | gentoo-96c46518c21e26fa1865cae9762f204f3649a8e2.tar.gz gentoo-96c46518c21e26fa1865cae9762f204f3649a8e2.tar.bz2 gentoo-96c46518c21e26fa1865cae9762f204f3649a8e2.zip |
media-sound/pulseeffects: add 4.8.6
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-sound/pulseeffects/files')
-rw-r--r-- | media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch new file mode 100644 index 000000000000..0288fab2987d --- /dev/null +++ b/media-sound/pulseeffects/files/pulseeffects-4.8.6-meson_no_automagic.patch @@ -0,0 +1,55 @@ +--- a/meson.build ++++ b/meson.build +@@ -4,7 +4,7 @@ + 'cpp', + default_options : ['cpp_std=c++17','buildtype=debugoptimized'], + version: '4.8.6', +- meson_version: '>= 0.40.0' ++ meson_version: '>= 0.47.0' + ) + + add_global_arguments('-DG_LOG_DOMAIN="pulseeffects"', language : 'c') +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -0,0 +1,12 @@ ++option( ++ 'bs2b', ++ type: 'feature', ++ value: 'auto', ++ description: 'Enable bs2b-based Crossfeed plug-in for improving headphone listening of stereo audio records' ++) ++option( ++ 'rnnoise', ++ type: 'feature', ++ value: 'auto', ++ description: 'Enable rnnoise-based Noise Reduction plug-in' ++) +--- a/src/meson.build ++++ b/src/meson.build +@@ -108,7 +108,7 @@ + dependency('gstreamer-plugins-bad-1.0', version: '>=1.12.5'), + dependency('gstreamer-fft-1.0'), + dependency('lilv-0', version: '>=0.22', required: false), +- dependency('libbs2b', required: false), ++ dependency('libbs2b', required: get_option('bs2b')), + dependency('boost', version: '>=1.72', modules:['system','filesystem']), + dependency('sndfile'), + dependency('threads') +--- a/src/rnnoise/meson.build ++++ b/src/rnnoise/meson.build +@@ -1,4 +1,5 @@ +-dep_rnnoise = dependency('rnnoise', required: false) ++opt_rnnoise = get_option('rnnoise') ++dep_rnnoise = dependency('rnnoise', required: opt_rnnoise) + + if dep_rnnoise.found() + +@@ -28,7 +29,7 @@ + cpp_args: plugins_cxx_args + ) + +-else ++elif opt_rnnoise.auto() + + message('could not find the RNNoise library') + |