2025-04-28 17:29:32 -07:00
|
|
|
dependencies = [
|
|
|
|
|
dependency('gtk4', required : true),
|
2025-04-28 18:21:02 -07:00
|
|
|
dependency('libadwaita-1', required : true),
|
|
|
|
|
dependency('gio-2.0', required : true),
|
2025-04-30 15:19:44 -07:00
|
|
|
dependency('gee-0.8', required : true),
|
2025-05-03 01:11:26 -07:00
|
|
|
dependency('gio-unix-2.0', required : true),
|
|
|
|
|
dependency('libsecret-1', required : true),
|
2025-04-28 17:29:32 -07:00
|
|
|
]
|
|
|
|
|
|
2025-04-30 15:58:47 -07:00
|
|
|
gnome = import('gnome')
|
|
|
|
|
resources = gnome.compile_resources(
|
|
|
|
|
'kordophone-resources',
|
|
|
|
|
'resources/kordophone.gresource.xml',
|
|
|
|
|
source_dir: 'resources'
|
|
|
|
|
)
|
|
|
|
|
|
2025-04-28 17:29:32 -07:00
|
|
|
sources = [
|
2025-04-30 14:24:33 -07:00
|
|
|
'application/kordophone-application.vala',
|
|
|
|
|
'application/main-window.vala',
|
2025-05-03 01:11:26 -07:00
|
|
|
'application/preferences-window.vala',
|
2025-04-30 14:24:33 -07:00
|
|
|
|
2025-04-30 14:53:17 -07:00
|
|
|
'service/interface/dbusservice.vala',
|
2025-05-03 01:11:26 -07:00
|
|
|
'service/dbus-service-base.vala',
|
2025-04-30 15:19:44 -07:00
|
|
|
'service/repository.vala',
|
2025-05-03 01:11:26 -07:00
|
|
|
'service/settings.vala',
|
2025-04-30 14:24:33 -07:00
|
|
|
|
|
|
|
|
'conversation-list/conversation-list-view.vala',
|
|
|
|
|
'conversation-list/conversation-list-model.vala',
|
|
|
|
|
'conversation-list/conversation-row.vala',
|
|
|
|
|
|
2025-04-30 15:58:47 -07:00
|
|
|
'message-list/message-list-view.vala',
|
|
|
|
|
'message-list/message-list-model.vala',
|
2025-04-30 19:12:00 -07:00
|
|
|
'message-list/message-drawing-area.vala',
|
|
|
|
|
'message-list/message-layout.vala',
|
2025-04-30 15:58:47 -07:00
|
|
|
|
2025-04-30 14:24:33 -07:00
|
|
|
'models/conversation.vala',
|
2025-04-30 15:58:47 -07:00
|
|
|
'models/message.vala',
|
2025-05-02 15:09:12 -07:00
|
|
|
|
|
|
|
|
'transcript-view/transcript-view.vala',
|
2025-04-28 17:29:32 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
executable('kordophone',
|
|
|
|
|
sources,
|
2025-04-30 15:58:47 -07:00
|
|
|
resources,
|
2025-04-28 17:29:32 -07:00
|
|
|
dependencies : dependencies,
|
2025-04-28 18:21:02 -07:00
|
|
|
vala_args: ['--pkg', 'posix'],
|
2025-04-28 17:29:32 -07:00
|
|
|
install : true
|
|
|
|
|
)
|