2023-11-06 17:22:17 +01:00
|
|
|
gtest_dep = dependency('gtest', main: true,
|
|
|
|
fallback: ['gtest', 'gtest_main_dep'])
|
2017-12-29 17:12:55 +01:00
|
|
|
|
2020-12-02 15:01:21 +01:00
|
|
|
subdir('util')
|
2019-01-20 20:46:35 +01:00
|
|
|
subdir('net')
|
2020-04-01 16:10:49 +02:00
|
|
|
subdir('time')
|
2021-12-01 15:32:14 +01:00
|
|
|
subdir('tag')
|
2019-01-20 20:46:35 +01:00
|
|
|
|
2017-12-29 17:12:55 +01:00
|
|
|
executable(
|
|
|
|
'read_conf',
|
|
|
|
'read_conf.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
config_dep,
|
2023-03-06 20:06:41 +01:00
|
|
|
fmt_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2018-10-16 19:01:13 +02:00
|
|
|
'TestRewindInputStream',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'TestRewindInputStream',
|
|
|
|
'TestRewindInputStream.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
input_glue_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2017-12-29 17:12:55 +01:00
|
|
|
'test_protocol',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'test_protocol',
|
|
|
|
'test_protocol.cxx',
|
|
|
|
'../src/protocol/ArgParser.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
gtest_dep,
|
2023-03-06 19:55:59 +01:00
|
|
|
fmt_dep,
|
2021-11-26 08:40:38 +01:00
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2017-12-29 17:12:55 +01:00
|
|
|
'test_queue_priority',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'test_queue_priority',
|
|
|
|
'test_queue_priority.cxx',
|
|
|
|
'../src/queue/Queue.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
util_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2017-12-29 17:12:55 +01:00
|
|
|
'TestIcu',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'TestIcu',
|
|
|
|
'TestIcu.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
util_dep,
|
|
|
|
icu_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
|
2021-02-24 14:52:02 +01:00
|
|
|
if zeroconf_dep.found()
|
2017-12-29 17:12:55 +01:00
|
|
|
executable(
|
2021-02-24 14:52:02 +01:00
|
|
|
'RunZeroconf',
|
|
|
|
'RunZeroconf.cxx',
|
2017-12-29 17:12:55 +01:00
|
|
|
'ShutdownHandler.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
zeroconf_dep,
|
|
|
|
util_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if enable_inotify
|
|
|
|
executable(
|
|
|
|
'run_inotify',
|
|
|
|
'run_inotify.cxx',
|
|
|
|
'ShutdownHandler.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2021-10-15 14:22:37 +02:00
|
|
|
log_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
event_dep,
|
|
|
|
util_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_resolver',
|
|
|
|
'run_resolver.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2023-09-26 10:47:10 +02:00
|
|
|
fmt_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
net_dep,
|
|
|
|
util_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
#
|
|
|
|
# I/O
|
|
|
|
#
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'WriteFile',
|
|
|
|
'WriteFile.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
fs_dep,
|
2023-03-07 12:25:30 +01:00
|
|
|
io_fs_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'dump_text_file',
|
|
|
|
'dump_text_file.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
if zlib_dep.found()
|
|
|
|
executable(
|
|
|
|
'run_gzip',
|
|
|
|
'run_gzip.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2021-12-03 14:02:07 +01:00
|
|
|
zlib_dep,
|
|
|
|
util_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_gunzip',
|
|
|
|
'run_gunzip.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
fs_dep,
|
2023-03-07 12:25:30 +01:00
|
|
|
io_fs_dep,
|
2023-03-06 19:30:31 +01:00
|
|
|
zlib_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2019-03-15 20:34:14 +01:00
|
|
|
#
|
|
|
|
# Filter
|
|
|
|
#
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'ParseSongFilter',
|
|
|
|
'ParseSongFilter.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
song_dep,
|
|
|
|
pcm_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2019-03-15 20:34:52 +01:00
|
|
|
test(
|
|
|
|
'TestSongFilter',
|
|
|
|
executable(
|
|
|
|
'TestSongFilter',
|
2022-11-15 17:30:58 +01:00
|
|
|
'TestStringFilter.cxx',
|
2019-03-15 20:34:52 +01:00
|
|
|
'TestTagSongFilter.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
song_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
2021-11-26 08:45:50 +01:00
|
|
|
),
|
|
|
|
protocol: 'gtest',
|
2019-03-15 20:34:52 +01:00
|
|
|
)
|
|
|
|
|
2017-12-29 17:12:55 +01:00
|
|
|
#
|
|
|
|
# Neighbor
|
|
|
|
#
|
|
|
|
|
|
|
|
if neighbor_glue_dep.found()
|
|
|
|
executable(
|
|
|
|
'run_neighbor_explorer',
|
|
|
|
'run_neighbor_explorer.cxx',
|
|
|
|
'ShutdownHandler.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
neighbor_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Database
|
|
|
|
#
|
|
|
|
|
|
|
|
if enable_database
|
|
|
|
executable(
|
|
|
|
'run_storage',
|
|
|
|
'run_storage.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2018-11-15 18:01:35 +01:00
|
|
|
event_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
storage_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'DumpDatabase',
|
|
|
|
'DumpDatabase.cxx',
|
|
|
|
'../src/db/Registry.cxx',
|
|
|
|
'../src/db/Selection.cxx',
|
|
|
|
'../src/db/PlaylistVector.cxx',
|
|
|
|
'../src/db/DatabaseLock.cxx',
|
|
|
|
'../src/SongSave.cxx',
|
|
|
|
'../src/TagSave.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2023-03-06 20:06:41 +01:00
|
|
|
fmt_dep,
|
2020-01-18 20:07:55 +01:00
|
|
|
pcm_basic_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
song_dep,
|
|
|
|
fs_dep,
|
|
|
|
event_dep,
|
|
|
|
db_plugins_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2023-09-06 14:07:39 +02:00
|
|
|
executable(
|
|
|
|
'LoadDatabase',
|
|
|
|
'LoadDatabase.cxx',
|
|
|
|
'../src/db/PlaylistVector.cxx',
|
|
|
|
'../src/SongSave.cxx',
|
|
|
|
'../src/TagSave.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
fmt_dep,
|
|
|
|
pcm_basic_dep,
|
|
|
|
song_dep,
|
|
|
|
db_plugins_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2017-12-29 17:12:55 +01:00
|
|
|
'test_translate_song',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'test_translate_song',
|
|
|
|
'test_translate_song.cxx',
|
|
|
|
'../src/playlist/PlaylistSong.cxx',
|
|
|
|
'../src/SongLoader.cxx',
|
|
|
|
'../src/LocateUri.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
log_dep,
|
|
|
|
tag_dep,
|
2022-11-12 12:16:56 +01:00
|
|
|
fs_dep,
|
|
|
|
storage_plugins_dep,
|
2021-11-26 08:40:38 +01:00
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Input
|
|
|
|
#
|
|
|
|
|
2021-11-26 08:35:08 +01:00
|
|
|
run_input = executable(
|
2017-12-29 17:12:55 +01:00
|
|
|
'run_input',
|
|
|
|
'run_input.cxx',
|
|
|
|
'../src/TagSave.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2021-08-10 14:31:08 +02:00
|
|
|
log_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
2022-11-29 11:27:59 +01:00
|
|
|
cmdline_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
if curl_dep.found()
|
2019-12-23 14:15:18 +01:00
|
|
|
executable(
|
|
|
|
'RunCurl',
|
|
|
|
'RunCurl.cxx',
|
|
|
|
'ShutdownHandler.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
curl_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2017-12-29 17:12:55 +01:00
|
|
|
'test_icy_parser',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'test_icy_parser',
|
|
|
|
'test_icy_parser.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
icu_dep,
|
|
|
|
tag_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Archive
|
|
|
|
#
|
|
|
|
|
|
|
|
if archive_glue_dep.found()
|
|
|
|
executable(
|
|
|
|
'visit_archive',
|
|
|
|
'visit_archive.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
if libiso9660_dep.found()
|
|
|
|
if find_program('mkisofs', required: false).found()
|
2021-11-26 08:35:08 +01:00
|
|
|
test(
|
|
|
|
'test_archive_iso9660',
|
|
|
|
find_program('test_archive_iso9660.sh'),
|
|
|
|
depends: run_input,
|
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if libbz2_dep.found()
|
|
|
|
if find_program('bzip2', required: false).found()
|
2021-11-26 08:35:08 +01:00
|
|
|
test(
|
|
|
|
'test_archive_bzip2',
|
|
|
|
find_program('test_archive_bzip2.sh'),
|
|
|
|
depends: run_input,
|
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if libzzip_dep.found()
|
|
|
|
if find_program('zip', required: false).found()
|
2021-11-26 08:35:08 +01:00
|
|
|
test(
|
|
|
|
'test_archive_zzip',
|
|
|
|
find_program('test_archive_zzip.sh'),
|
|
|
|
depends: run_input,
|
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Playlist
|
|
|
|
#
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'dump_playlist',
|
|
|
|
'dump_playlist.cxx',
|
|
|
|
'../src/TagSave.cxx',
|
|
|
|
'../src/TagFile.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2023-03-06 20:06:41 +01:00
|
|
|
fmt_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
playlist_glue_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
decoder_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-08-10 18:06:50 +02:00
|
|
|
#
|
|
|
|
# Tag
|
|
|
|
#
|
|
|
|
|
|
|
|
if chromaprint_dep.found()
|
|
|
|
executable(
|
|
|
|
'RunChromaprint',
|
|
|
|
'RunChromaprint.cxx',
|
2019-04-04 20:29:27 +02:00
|
|
|
'../src/lib/chromaprint/DecoderClient.cxx',
|
2018-08-10 18:06:50 +02:00
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
decoder_glue_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
chromaprint_dep,
|
2022-11-29 11:27:59 +01:00
|
|
|
cmdline_dep,
|
2018-08-10 18:06:50 +02:00
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
2017-12-29 17:12:55 +01:00
|
|
|
#
|
|
|
|
# Decoder
|
|
|
|
#
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_decoder',
|
|
|
|
'run_decoder.cxx',
|
|
|
|
'DumpDecoderClient.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2021-08-10 14:31:08 +02:00
|
|
|
log_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
decoder_glue_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
2022-11-29 11:27:59 +01:00
|
|
|
cmdline_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'read_tags',
|
|
|
|
'read_tags.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
decoder_glue_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'ContainerScan',
|
|
|
|
'ContainerScan.cxx',
|
|
|
|
'../src/SongSave.cxx',
|
|
|
|
'../src/TagSave.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2023-03-06 20:06:41 +01:00
|
|
|
fmt_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
decoder_glue_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'ReadApeTags',
|
|
|
|
'ReadApeTags.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
tag_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
if libid3tag_dep.found()
|
|
|
|
executable(
|
|
|
|
'dump_rva2',
|
|
|
|
'dump_rva2.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
tag_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
2022-03-16 16:28:00 +01:00
|
|
|
|
|
|
|
if ogg_dep.found()
|
|
|
|
executable(
|
|
|
|
'DumpOgg',
|
|
|
|
'DumpOgg.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
ogg_dep,
|
|
|
|
input_glue_dep,
|
|
|
|
archive_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
2017-12-29 17:12:55 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Filter
|
|
|
|
#
|
|
|
|
|
2021-11-26 08:40:38 +01:00
|
|
|
test(
|
2017-12-29 17:12:55 +01:00
|
|
|
'test_pcm',
|
2021-11-26 08:40:38 +01:00
|
|
|
executable(
|
|
|
|
'test_pcm',
|
|
|
|
'TestAudioFormat.cxx',
|
|
|
|
'test_pcm_dither.cxx',
|
|
|
|
'test_pcm_pack.cxx',
|
|
|
|
'test_pcm_channels.cxx',
|
|
|
|
'test_pcm_format.cxx',
|
|
|
|
'test_pcm_volume.cxx',
|
|
|
|
'test_pcm_mix.cxx',
|
|
|
|
'test_pcm_interleave.cxx',
|
|
|
|
'test_pcm_export.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
pcm_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2021-11-26 08:40:38 +01:00
|
|
|
)
|
2017-12-29 17:12:55 +01:00
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_filter',
|
|
|
|
'run_filter.cxx',
|
2021-12-06 10:29:31 +01:00
|
|
|
'ReadFrames.cxx',
|
2017-12-29 17:12:55 +01:00
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
filter_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'software_volume',
|
|
|
|
'software_volume.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
pcm_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_normalize',
|
|
|
|
'run_normalize.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
pcm_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_convert',
|
|
|
|
'run_convert.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2021-08-10 14:31:08 +02:00
|
|
|
log_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
pcm_dep,
|
|
|
|
config_dep,
|
2022-11-29 11:27:59 +01:00
|
|
|
cmdline_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-12-03 16:32:15 +01:00
|
|
|
executable(
|
|
|
|
'RunReplayGainAnalyzer',
|
|
|
|
'RunReplayGainAnalyzer.cxx',
|
|
|
|
'ReadFrames.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
pcm_dep,
|
|
|
|
io_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-12-06 10:26:32 +01:00
|
|
|
executable(
|
|
|
|
'RunMixRampAnalyzer',
|
|
|
|
'RunMixRampAnalyzer.cxx',
|
|
|
|
'ReadFrames.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
pcm_dep,
|
|
|
|
io_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2017-12-29 17:12:55 +01:00
|
|
|
#
|
|
|
|
# Encoder
|
|
|
|
#
|
|
|
|
|
2022-04-26 20:05:20 +02:00
|
|
|
if need_encoder
|
2017-12-29 17:12:55 +01:00
|
|
|
executable(
|
|
|
|
'run_encoder',
|
|
|
|
'run_encoder.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
encoder_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'test_vorbis_encoder',
|
|
|
|
'test_vorbis_encoder.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
encoder_glue_dep,
|
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# Output
|
|
|
|
#
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'run_output',
|
|
|
|
'run_output.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2023-03-07 11:50:05 +01:00
|
|
|
output_registry_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
encoder_glue_dep,
|
2020-07-01 15:25:39 +02:00
|
|
|
event_dep,
|
2022-11-29 11:27:59 +01:00
|
|
|
cmdline_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Mixer
|
|
|
|
#
|
|
|
|
|
|
|
|
if alsa_dep.found()
|
|
|
|
# this debug program is still ALSA specific
|
|
|
|
|
|
|
|
executable(
|
|
|
|
'read_mixer',
|
|
|
|
'read_mixer.cxx',
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
2022-11-29 08:57:42 +01:00
|
|
|
mixer_plugins_dep,
|
2017-12-29 17:12:55 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
endif
|
2022-07-14 17:55:58 +02:00
|
|
|
|
|
|
|
subdir('fs')
|