summaryrefslogtreecommitdiff
path: root/src/decoder
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2019-01-21 08:22:04 +0100
committerJörg Krause <joerg.krause@embedded.rocks>2019-01-21 08:35:17 +0100
commit4f7d52dbf2eaee15a517363c846650d76f45739f (patch)
tree8dd44e302f2526029455ee661e6dfe6936ad8613 /src/decoder
parentc7848da8f2872f26d10410e8817a37024bf6bfa1 (diff)
meson: add fixed-point Vorbis (Tremor) decoder support
Re-add build support for the fixed-point Vorbis (Tremor) decoder, which was dropped when switching from Autotools to Meson. Note, that it is not possible to build both, the Vorbis and the Tremor decoder. Closes: #405
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/plugins/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/decoder/plugins/meson.build b/src/decoder/plugins/meson.build
index e38310cf2..50845e4df 100644
--- a/src/decoder/plugins/meson.build
+++ b/src/decoder/plugins/meson.build
@@ -36,8 +36,9 @@ if flac_dep.found()
]
endif
-conf.set('ENABLE_VORBIS_DECODER', libvorbis_dep.found())
-if libvorbis_dep.found()
+conf.set('ENABLE_VORBIS_DECODER', libvorbis_dep.found() or libvorbisidec_dep.found())
+conf.set('HAVE_TREMOR', libvorbisidec_dep.found())
+if libvorbis_dep.found() or libvorbisidec_dep.found()
decoder_plugins_sources += [
'VorbisDecoderPlugin.cxx',
'VorbisDomain.cxx',
@@ -181,6 +182,7 @@ decoder_plugins = static_library(
libsidplay_dep,
libsndfile_dep,
libvorbis_dep,
+ libvorbisidec_dep,
ogg_dep,
wavpack_dep,
wildmidi_dep,