This repository has been archived by the owner on May 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathmeson.build
87 lines (81 loc) · 2.36 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
project('me.ivonunes.birdie', 'vala', 'c')
gnome = import('gnome')
i18n = import('i18n')
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')],
language: 'vala')
asresources = gnome.compile_resources(
'as-resources', 'data/' + meson.project_name() + '.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
executable(
meson.project_name(),
'src/main.vala',
'src/config.vala',
'src/Birdie.vala',
'src/OAuth.vala',
'src/API.vala',
'src/Twitter.vala',
'src/Tweet.vala',
'src/User.vala',
'src/Database.vala',
'src/TwitterList.vala',
'src/Cache.vala',
'src/Widgets/TweetBox.vala',
'src/Widgets/TweetList.vala',
'src/Widgets/MainWindow.vala',
'src/Widgets/TweetDialog.vala',
'src/Widgets/UserBox.vala',
'src/Widgets/Dialogs.vala',
'src/Widgets/Welcome.vala',
'src/Widgets/Notebook.vala',
'src/Widgets/MoreButton.vala',
'src/Widgets/ListsView.vala',
'src/Widgets/ListBox.vala',
'src/Widgets/CompletionProvider.vala',
'src/Widgets/ConversationsList.vala',
'src/Widgets/ConversationView.vala',
'src/Widgets/AccountsPopover.vala',
'src/Media/Avatar.vala',
'src/Media/GetMedia.vala',
'src/Media/Parsing.vala',
'src/Media/ShowMedia.vala',
'src/Media/Imgur.vala',
'src/Media/Cairo.vala',
'src/Media/Pixbuf.vala',
'src/Utils/Date.vala',
'src/Utils/Notifications.vala',
'src/Utils/Launcher.vala',
'src/Utils/Networking.vala',
'src/Utils/Downloader.vala',
'src/Utils/Strings.vala',
'src/Utils/Files.vala',
'src/Utils/Logger.vala',
'src/Utils/StatusIcon.vala',
'src/Utils/System.vala',
asresources,
dependencies: [
dependency('glib-2.0'),
dependency('granite'),
dependency('gtk+-3.0'),
dependency('gtksourceview-3.0'),
dependency('libsoup-2.4'),
dependency('gee-0.8'),
dependency('rest-0.7'),
dependency('json-glib-1.0'),
dependency('libnotify'),
dependency('libcanberra'),
dependency('gdk-x11-3.0'),
dependency('webkit2gtk-4.0'),
dependency('sqlite3'),
dependency('xtst'),
dependency('purple'),
meson.get_compiler('c').find_library('m', required : false),
meson.get_compiler('c').find_library('X11', required : false)
],
install: true
)
subdir('data')
subdir('po')
meson.add_install_script('meson/post_install.py')