audrey/src/meson.build

46 lines
1 KiB
Meson
Raw Normal View History

2024-10-12 20:52:29 +00:00
audrey_sources = [
2024-10-29 12:19:12 +00:00
'application.vala',
'globalconf.vala',
'mpris.vala',
'playbin.vala',
'subsonic.vala',
'ui/play_queue.vala',
2024-10-30 11:45:50 +00:00
'ui/playbar.vapi',
2024-10-29 12:19:12 +00:00
'ui/setup.vala',
'ui/window.vala',
2024-10-06 11:21:53 +00:00
]
2024-10-12 20:52:29 +00:00
audrey_deps = [
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'),
dependency('libsoup-3.0', version: '>= 3.6'),
2024-10-17 10:05:20 +00:00
dependency('mpv', version: '>= 2.3'),
2024-10-06 11:21:53 +00:00
]
2024-10-29 12:19:12 +00:00
audrey_sources += removeme
2024-10-30 08:05:10 +00:00
config_rs = configure_file(
2024-10-30 06:32:21 +00:00
output: 'meson_config.rs',
input: 'meson_config.rs.in',
configuration: config_h,
)
2024-10-29 10:37:15 +00:00
audrey_c = static_library(
2024-10-15 20:51:13 +00:00
'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-29 12:19:12 +00:00
vala_args: [
'--vapidir',
meson.current_source_dir() / 'vapi',
'--gresources',
meson.project_source_root() / 'resources/audrey.gresource.xml',
],
2024-10-30 07:48:30 +00:00
vala_header: 'audrey.h',
2024-10-29 14:46:33 +00:00
vala_gir: 'audrey-0.gir',
2024-10-06 11:21:53 +00:00
)