2018-04-14 14:09:06 +02: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',
|
2018-05-30 21:49:16 +02:00
|
|
|
'src/Desktop.vala',
|
|
|
|
'src/Html.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/MainWindow.vala',
|
2018-06-17 09:48:18 +02:00
|
|
|
'src/Settings.vala',
|
|
|
|
'src/Accounts.vala',
|
2018-05-24 21:52:59 +02:00
|
|
|
'src/ImageCache.vala',
|
2018-06-17 09:48:18 +02:00
|
|
|
'src/Network.vala',
|
2018-05-11 17:19:48 +02:00
|
|
|
'src/Notificator.vala',
|
2018-05-27 18:25:16 +02:00
|
|
|
'src/InstanceAccount.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/API/Account.vala',
|
2018-04-30 19:56:02 +02:00
|
|
|
'src/API/Relationship.vala',
|
2018-04-28 18:27:10 +02:00
|
|
|
'src/API/Mention.vala',
|
|
|
|
'src/API/Tag.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/API/Status.vala',
|
2018-04-15 13:29:55 +02:00
|
|
|
'src/API/StatusVisibility.vala',
|
2018-04-17 14:01:55 +02:00
|
|
|
'src/API/Notification.vala',
|
|
|
|
'src/API/NotificationType.vala',
|
2018-05-04 22:57:31 +02:00
|
|
|
'src/API/Attachment.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/Widgets/AlignedLabel.vala',
|
2018-04-28 18:27:10 +02:00
|
|
|
'src/Widgets/RichLabel.vala',
|
2018-05-11 13:28:49 +02:00
|
|
|
'src/Widgets/ImageToggleButton.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/Widgets/AccountsButton.vala',
|
|
|
|
'src/Widgets/StatusWidget.vala',
|
2018-05-19 14:21:03 +02:00
|
|
|
'src/Widgets/AccountWidget.vala',
|
2018-04-17 14:01:55 +02:00
|
|
|
'src/Widgets/NotificationWidget.vala',
|
2018-05-04 22:57:31 +02:00
|
|
|
'src/Widgets/AttachmentWidget.vala',
|
2018-05-09 16:20:40 +02:00
|
|
|
'src/Widgets/AttachmentBox.vala',
|
2018-05-27 18:25:16 +02:00
|
|
|
'src/Dialogs/NewAccountDialog.vala',
|
2018-04-19 21:03:28 +02:00
|
|
|
'src/Dialogs/PostDialog.vala',
|
2018-05-20 14:43:42 +02:00
|
|
|
'src/Dialogs/SettingsDialog.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/Views/AbstractView.vala',
|
2018-05-19 14:21:03 +02:00
|
|
|
'src/Views/TimelineView.vala',
|
2018-06-13 15:13:41 +02:00
|
|
|
'src/Views/HomeView.vala',
|
2018-04-14 14:09:06 +02:00
|
|
|
'src/Views/LocalView.vala',
|
|
|
|
'src/Views/FederatedView.vala',
|
2018-04-17 14:01:55 +02:00
|
|
|
'src/Views/NotificationsView.vala',
|
2018-06-17 11:48:58 +02:00
|
|
|
'src/Views/DirectView.vala',
|
2018-04-19 21:03:28 +02:00
|
|
|
'src/Views/StatusView.vala',
|
2018-04-25 15:16:57 +02:00
|
|
|
'src/Views/AccountView.vala',
|
2018-05-19 14:21:03 +02:00
|
|
|
'src/Views/FollowersView.vala',
|
|
|
|
'src/Views/FollowingView.vala',
|
2018-05-02 14:28:46 +02:00
|
|
|
'src/Views/FavoritesView.vala',
|
2018-05-14 16:43:10 +02:00
|
|
|
'src/Views/SearchView.vala',
|
2018-04-14 14:09:06 +02: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')
|