This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository eternity.
View the commit online.
commit 90c32444b89c3669c2b11d261757ceed740746b2
Author: Vincent Torri <[email protected]>
AuthorDate: Sun Nov 22 09:16:34 2026 +0100
add OpenBSD support, formatting
---
src/evaw/meson.build | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/evaw/meson.build b/src/evaw/meson.build
index 7007ce6..d36e853 100644
--- a/src/evaw/meson.build
+++ b/src/evaw/meson.build
@@ -1,29 +1,37 @@
evaw_sources = ['wav_main.c', 'wav_log.c', 'wav_map.c']
evaw_cc = meson.get_compiler('c')
evaw_os = host_machine.system()
+evaw_deps = []
if evaw_os == 'linux'
evaw_sources += 'wav_audio_alsa.c'
- evaw_deps = [dependency('alsa')]
+ evaw_deps += [dependency('alsa')]
elif evaw_os == 'windows'
evaw_sources += 'wav_audio_wasapi.c'
- evaw_deps = [evaw_cc.find_library('ole32'), evaw_cc.find_library('uuid')]
+ evaw_deps += [evaw_cc.find_library('ole32'), evaw_cc.find_library('uuid')]
elif evaw_os == 'darwin'
evaw_sources += 'wav_audio_coreaudio.c'
- evaw_deps = [dependency('appleframeworks', modules: ['AudioToolbox', 'CoreFoundation'])]
+ evaw_deps += [dependency('appleframeworks', modules: ['AudioToolbox', 'CoreFoundation'])]
elif evaw_os == 'freebsd'
evaw_sources += 'wav_audio_oss.c'
-elif evaw_os in ['dragonfly', 'netbsd', 'openbsd']
+elif evaw_os == 'openbsd'
evaw_sources += 'wav_audio_sndio.c'
- evaw_deps = [evaw_cc.find_library('sndio')]
+ evaw_deps += [evaw_cc.find_library('sndio')]
+elif evaw_os in ['dragonfly', 'netbsd']
+ evaw_sources += 'wav_audio_sndio.c'
+ evaw_deps += [evaw_cc.find_library('sndio')]
elif evaw_os == 'sunos'
evaw_sources += 'wav_audio_libaudio.c'
- evaw_deps = [evaw_cc.find_library('audio')]
+ evaw_deps += [evaw_cc.find_library('audio')]
else
error('evaw has no audio backend for ' + evaw_os)
endif
-evaw = executable('evaw', evaw_sources, dependencies: evaw_deps,
- override_options: ['c_std=gnu11'], install: true)
+evaw = executable('evaw', evaw_sources,
+ dependencies: evaw_deps,
+ override_options: ['c_std=gnu11'],
+ install: true
+)
+
install_data('LICENSE', 'COPYING.LGPL-2.1',
- install_dir: get_option('datadir') / 'doc' / 'eternity' / 'evaw')
+install_dir: get_option('datadir') / 'doc' / 'eternity' / 'evaw')
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.