Tooth/meson.build

68 lines
1.8 KiB
Meson
Raw Normal View History

2018-04-14 12:09:06 +00:00
project('com.github.bleakgrey.tootle', 'vala', 'c')
gnome = import('gnome')
i18n = import('i18n')
add_global_arguments([
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name())
],
language: 'c',
)
asresources = gnome.compile_resources(
'as-resources', 'data/' + meson.project_name() + '.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
executable(
meson.project_name(),
asresources,
'src/Application.vala',
'src/MainWindow.vala',
2018-04-27 18:50:08 +00:00
'src/SettingsManager.vala',
2018-04-14 12:09:06 +00:00
'src/AccountManager.vala',
'src/NetManager.vala',
2018-04-25 13:16:57 +00:00
'src/Utils.vala',
2018-05-03 08:11:31 +00:00
'src/CmdRunner.vala',
2018-04-14 12:09:06 +00:00
'src/API/Account.vala',
2018-04-30 17:56:02 +00:00
'src/API/Relationship.vala',
2018-04-28 16:27:10 +00:00
'src/API/Mention.vala',
'src/API/Tag.vala',
2018-04-14 12:09:06 +00:00
'src/API/Status.vala',
2018-04-15 11:29:55 +00:00
'src/API/StatusVisibility.vala',
2018-04-17 12:01:55 +00:00
'src/API/Notification.vala',
'src/API/NotificationType.vala',
2018-05-04 20:57:31 +00:00
'src/API/Attachment.vala',
2018-04-20 11:51:18 +00:00
'src/Widgets/HeaderBar.vala',
2018-04-14 12:09:06 +00:00
'src/Widgets/AlignedLabel.vala',
2018-04-28 16:27:10 +00:00
'src/Widgets/RichLabel.vala',
2018-04-14 12:09:06 +00:00
'src/Widgets/AccountsButton.vala',
'src/Widgets/StatusWidget.vala',
2018-04-17 12:01:55 +00:00
'src/Widgets/NotificationWidget.vala',
2018-05-04 20:57:31 +00:00
'src/Widgets/AttachmentWidget.vala',
2018-04-19 19:03:28 +00:00
'src/Dialogs/PostDialog.vala',
2018-04-14 12:09:06 +00:00
'src/Views/AbstractView.vala',
'src/Views/AddAccountView.vala',
'src/Views/HomeView.vala',
'src/Views/LocalView.vala',
'src/Views/FederatedView.vala',
2018-04-17 12:01:55 +00:00
'src/Views/NotificationsView.vala',
2018-04-19 19:03:28 +00:00
'src/Views/StatusView.vala',
2018-04-25 13:16:57 +00:00
'src/Views/AccountView.vala',
2018-05-02 12:28:46 +00:00
'src/Views/FavoritesView.vala',
2018-04-14 12:09:06 +00:00
dependencies: [
dependency('gtk+-3.0'),
dependency('glib-2.0', version: '>=2.30.0'),
dependency('granite'),
dependency('json-glib-1.0'),
dependency('libsoup-2.4')
],
install: true
)
subdir('data')
subdir('po')
meson.add_install_script('meson/post_install.py')