-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
44 lines (38 loc) · 1.24 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
project('com.github.manhelper', 'vala', 'c', version: '0.2.0')
cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)
gnome = import('gnome')
gresources = gnome.compile_resources(
meson.project_name()+'_resources',
'ui/manhelper.gresource.xml',
c_name: 'resources',
source_dir:['ui']
)
dependencies = [
dependency('glib-2.0'),
dependency('gobject-2.0'),
dependency('gtk+-3.0',version:'>=3.24.0'),
dependency('gmodule-2.0'),
dependency('webkit2gtk-4.0'),
dependency('libsoup-2.4'),
dependency('libgda-5.0'),
dependency('libxml-2.0'),
dependency('json-glib-1.0'),
m_dep,
]
sources = files('src/Application.vala',
'src/MainWin.vala',
'src/SearchDialog.vala',
'src/KeywordList.vala',
'src/Bookmarks.vala',
'src/MultiTabPager.vala',
'src/PageZoomer.vala',
'src/PreferDialog.vala',
'src/SectionList.vala',
'src/ThemeCSS.vala',)
app = executable(meson.project_name(),
sources,
gresources,
dependencies: dependencies,
install: true,)
meson.add_install_script('./postinstall.sh')