2024-10-12 20:52:29 +00:00
|
|
|
audrey_sources = [
|
2024-10-06 11:21:53 +00:00
|
|
|
'api.vala',
|
|
|
|
'application.vala',
|
2024-10-15 21:16:43 +00:00
|
|
|
'globalconf.vala',
|
2024-10-06 11:21:53 +00:00
|
|
|
'main.vala',
|
2024-10-12 16:35:42 +00:00
|
|
|
'mpris.vala',
|
2024-10-12 12:28:05 +00:00
|
|
|
'playbin.vala',
|
2024-10-13 09:41:01 +00:00
|
|
|
'ui/play_queue.vala',
|
|
|
|
'ui/setup.vala',
|
|
|
|
'ui/window.vala',
|
2024-10-06 11:21:53 +00:00
|
|
|
]
|
|
|
|
|
2024-10-12 20:52:29 +00:00
|
|
|
audrey_deps = [
|
2024-10-06 11:21:53 +00:00
|
|
|
config_dep,
|
2024-10-15 20:54:42 +00:00
|
|
|
dependency('gstreamer-1.0', version: '>= 1.24'),
|
|
|
|
dependency('gstreamer-audio-1.0', version: '>= 1.24'),
|
|
|
|
dependency('gtk4', version: '>= 4.16'),
|
|
|
|
dependency('json-glib-1.0', version: '>= 1.10'),
|
|
|
|
dependency('libadwaita-1', version: '>= 1.6'),
|
2024-10-15 21:57:00 +00:00
|
|
|
dependency('libgcrypt', version: '>= 1.11'),
|
2024-10-15 21:33:33 +00:00
|
|
|
dependency('libsecret-1', version: '>= 0.21'),
|
2024-10-15 20:54:42 +00:00
|
|
|
dependency('libsoup-3.0', version: '>= 3.6'),
|
2024-10-06 11:21:53 +00:00
|
|
|
]
|
|
|
|
|
2024-10-15 20:51:13 +00:00
|
|
|
blueprints = custom_target(
|
|
|
|
'blueprints',
|
|
|
|
input: files('ui/play_queue.blp', 'ui/setup.blp', 'ui/window.blp'),
|
|
|
|
output: ['play_queue.ui', 'setup.ui', 'window.ui'],
|
2024-10-10 10:12:43 +00:00
|
|
|
command: [
|
|
|
|
find_program('blueprint-compiler'),
|
|
|
|
'batch-compile',
|
|
|
|
'@OUTDIR@',
|
|
|
|
'@CURRENT_SOURCE_DIR@',
|
|
|
|
'@INPUT@',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2024-10-15 20:51:13 +00:00
|
|
|
audrey_sources += gnome.compile_resources(
|
|
|
|
'audrey-resources',
|
2024-10-12 20:52:29 +00:00
|
|
|
'audrey.gresource.xml',
|
|
|
|
c_name: 'audrey',
|
2024-10-10 10:12:43 +00:00
|
|
|
dependencies: blueprints,
|
2024-10-06 11:21:53 +00:00
|
|
|
)
|
|
|
|
|
2024-10-15 20:51:13 +00:00
|
|
|
executable(
|
|
|
|
'audrey',
|
|
|
|
audrey_sources,
|
2024-10-12 20:52:29 +00:00
|
|
|
dependencies: audrey_deps,
|
2024-10-06 11:21:53 +00:00
|
|
|
include_directories: config_inc,
|
2024-10-15 20:51:13 +00:00
|
|
|
install: true,
|
2024-10-15 21:57:00 +00:00
|
|
|
vala_args: ['--vapidir', meson.current_source_dir() / 'vapi'],
|
2024-10-06 11:21:53 +00:00
|
|
|
)
|