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',
|
2018-05-30 19:49:16 +00:00
|
|
|
'src/Desktop.vala',
|
2019-03-07 16:16:52 +00:00
|
|
|
'src/Drawing.vala',
|
2018-05-30 19:49:16 +00:00
|
|
|
'src/Html.vala',
|
2018-04-14 12:09:06 +00:00
|
|
|
'src/MainWindow.vala',
|
2018-06-17 07:48:18 +00:00
|
|
|
'src/Settings.vala',
|
|
|
|
'src/Accounts.vala',
|
2018-05-24 19:52:59 +00:00
|
|
|
'src/ImageCache.vala',
|
2018-06-17 07:48:18 +00:00
|
|
|
'src/Network.vala',
|
2018-07-14 08:37:41 +00:00
|
|
|
'src/Watchlist.vala',
|
2018-05-11 15:19:48 +00:00
|
|
|
'src/Notificator.vala',
|
2018-05-27 16:25:16 +00:00
|
|
|
'src/InstanceAccount.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-14 12:09:06 +00:00
|
|
|
'src/Widgets/AlignedLabel.vala',
|
2018-04-28 16:27:10 +00:00
|
|
|
'src/Widgets/RichLabel.vala',
|
2018-05-11 11:28:49 +00:00
|
|
|
'src/Widgets/ImageToggleButton.vala',
|
2018-04-14 12:09:06 +00:00
|
|
|
'src/Widgets/AccountsButton.vala',
|
|
|
|
'src/Widgets/StatusWidget.vala',
|
2018-05-19 12:21:03 +00:00
|
|
|
'src/Widgets/AccountWidget.vala',
|
2018-04-17 12:01:55 +00:00
|
|
|
'src/Widgets/NotificationWidget.vala',
|
2019-03-07 16:16:52 +00:00
|
|
|
'src/Widgets/ImageAttachment.vala',
|
|
|
|
'src/Widgets/AttachmentGrid.vala',
|
2018-05-27 16:25:16 +00:00
|
|
|
'src/Dialogs/NewAccountDialog.vala',
|
2018-04-19 19:03:28 +00:00
|
|
|
'src/Dialogs/PostDialog.vala',
|
2018-05-20 12:43:42 +00:00
|
|
|
'src/Dialogs/SettingsDialog.vala',
|
2018-07-14 08:37:41 +00:00
|
|
|
'src/Dialogs/WatchlistDialog.vala',
|
2018-04-14 12:09:06 +00:00
|
|
|
'src/Views/AbstractView.vala',
|
2018-05-19 12:21:03 +00:00
|
|
|
'src/Views/TimelineView.vala',
|
2018-06-13 13:13:41 +00:00
|
|
|
'src/Views/HomeView.vala',
|
2018-04-14 12:09:06 +00:00
|
|
|
'src/Views/LocalView.vala',
|
|
|
|
'src/Views/FederatedView.vala',
|
2018-04-17 12:01:55 +00:00
|
|
|
'src/Views/NotificationsView.vala',
|
2018-06-17 09:48:58 +00:00
|
|
|
'src/Views/DirectView.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-19 12:21:03 +00:00
|
|
|
'src/Views/FollowersView.vala',
|
|
|
|
'src/Views/FollowingView.vala',
|
2018-05-02 12:28:46 +00:00
|
|
|
'src/Views/FavoritesView.vala',
|
2018-05-14 14:43:10 +00:00
|
|
|
'src/Views/SearchView.vala',
|
2018-06-20 15:50:42 +00:00
|
|
|
'src/Views/HashtagView.vala',
|
2018-04-14 12:09:06 +00:00
|
|
|
dependencies: [
|
2018-10-23 10:05:24 +00:00
|
|
|
dependency('gtk+-3.0', version: '>=3.22.0'),
|
2018-04-14 12:09:06 +00:00
|
|
|
dependency('glib-2.0', version: '>=2.30.0'),
|
2018-10-27 08:29:25 +00:00
|
|
|
dependency('gee-0.8', version: '>=0.8.5'),
|
2019-03-09 11:42:27 +00:00
|
|
|
dependency('granite', version: '>=5.2.0'),
|
2018-04-14 12:09:06 +00:00
|
|
|
dependency('json-glib-1.0'),
|
|
|
|
dependency('libsoup-2.4')
|
|
|
|
],
|
|
|
|
install: true
|
|
|
|
)
|
|
|
|
|
|
|
|
subdir('data')
|
|
|
|
subdir('po')
|
|
|
|
|
|
|
|
meson.add_install_script('meson/post_install.py')
|