audrey/src/meson.build

50 lines
1,003 B
Meson
Raw Normal View History

2024-10-12 20:52:29 +00:00
audrey_sources = [
2024-10-06 11:21:53 +00:00
'api.vala',
'application.vala',
'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-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-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-06 11:21:53 +00:00
)