2 shared_qt5deps = dependency('qt5', modules: ['Core', 'Gui', 'Widgets', 'OpenGL'])
3 libmicrohttpddep = dependency('libmicrohttpd')
4 protobufdep = dependency('protobuf')
5 alsadep = dependency('alsa')
7 # Preprocess Qt as needed.
8 qt_files = qt5.preprocess(
9 moc_headers: ['aboutdialog.h'],
10 ui_files: ['aboutdialog.ui'],
11 dependencies: shared_qt5deps)
13 srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp', 'context.cpp', 'httpd.cpp', 'disk_space_estimator.cpp', 'read_file.cpp', 'text_proto.cpp', 'midi_device.cpp']
17 srcs += ['aboutdialog.cpp']
19 shared = static_library('shared', srcs, include_directories: top_include, dependencies: [shared_qt5deps, libmicrohttpddep, protobufdep, alsadep])
20 shareddep = declare_dependency(
21 include_directories: top_include,
24 bin2h = executable('bin2h', 'bin2h.cpp')
25 bin2h_gen = generator(bin2h, \
26 output : ['@PLAINNAME@.cpp'],
27 arguments : ['@INPUT@', '@PLAINNAME@', '@OUTPUT@'])