2024-10-06 11:21:53 +00:00
|
|
|
wavelet_sources = [
|
|
|
|
'api.vala',
|
|
|
|
'application.vala',
|
|
|
|
'main.vala',
|
2024-10-10 09:53:52 +00:00
|
|
|
'play_queue.vala',
|
2024-10-06 11:21:53 +00:00
|
|
|
'setup.vala',
|
|
|
|
'window.vala',
|
|
|
|
]
|
|
|
|
|
|
|
|
wavelet_deps = [
|
|
|
|
config_dep,
|
2024-10-10 20:04:55 +00:00
|
|
|
dependency('gstreamer-1.0'),
|
2024-10-11 06:57:01 +00:00
|
|
|
dependency('gstreamer-audio-1.0'),
|
2024-10-06 11:21:53 +00:00
|
|
|
dependency('gtk4'),
|
|
|
|
dependency('json-glib-1.0'),
|
|
|
|
dependency('libadwaita-1', version: '>= 1.4'),
|
|
|
|
dependency('libsoup-3.0'),
|
|
|
|
dependency('sqlite3'),
|
|
|
|
]
|
|
|
|
|
2024-10-10 10:12:43 +00:00
|
|
|
blueprints = custom_target('blueprints',
|
|
|
|
input: files(
|
|
|
|
'play_queue.blp',
|
|
|
|
'setup.blp',
|
|
|
|
'window.blp',
|
|
|
|
),
|
|
|
|
output: [
|
|
|
|
'play_queue.ui',
|
|
|
|
'setup.ui',
|
|
|
|
'window.ui',
|
|
|
|
],
|
|
|
|
command: [
|
|
|
|
find_program('blueprint-compiler'),
|
|
|
|
'batch-compile',
|
|
|
|
'@OUTDIR@',
|
|
|
|
'@CURRENT_SOURCE_DIR@',
|
|
|
|
'@INPUT@',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2024-10-06 11:21:53 +00:00
|
|
|
wavelet_sources += gnome.compile_resources('wavelet-resources',
|
|
|
|
'wavelet.gresource.xml',
|
2024-10-10 10:12:43 +00:00
|
|
|
c_name: 'wavelet',
|
|
|
|
dependencies: blueprints,
|
2024-10-06 11:21:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
executable('wavelet', wavelet_sources,
|
|
|
|
dependencies: wavelet_deps,
|
|
|
|
include_directories: config_inc,
|
|
|
|
install: true,
|
|
|
|
)
|