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-10 10:12:43 +00:00
|
|
|
blueprints = custom_target('blueprints',
|
|
|
|
input: files(
|
2024-10-13 09:41:01 +00:00
|
|
|
'ui/play_queue.blp',
|
|
|
|
'ui/setup.blp',
|
|
|
|
'ui/window.blp',
|
2024-10-10 10:12:43 +00:00
|
|
|
),
|
|
|
|
output: [
|
|
|
|
'play_queue.ui',
|
|
|
|
'setup.ui',
|
|
|
|
'window.ui',
|
|
|
|
],
|
|
|
|
command: [
|
|
|
|
find_program('blueprint-compiler'),
|
|
|
|
'batch-compile',
|
|
|
|
'@OUTDIR@',
|
|
|
|
'@CURRENT_SOURCE_DIR@',
|
|
|
|
'@INPUT@',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2024-10-12 20:52:29 +00:00
|
|
|
audrey_sources += gnome.compile_resources('audrey-resources',
|
|
|
|
'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-12 20:52:29 +00:00
|
|
|
executable('audrey', audrey_sources,
|
|
|
|
dependencies: audrey_deps,
|
2024-10-06 11:21:53 +00:00
|
|
|
include_directories: config_inc,
|
|
|
|
install: true,
|
|
|
|
)
|