-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
31 lines (26 loc) · 892 Bytes
/
meson.build
File metadata and controls
31 lines (26 loc) · 892 Bytes
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
project(
'gs-plugin-ultramarine-pkgdb-collections',
'c',
version: '0.1.0'
)
gnome_software_dep = dependency('gnome-software', version: '>=45.0')
plugin_install_dir = gnome_software_dep.get_variable('plugindir')
cargs = [
'-DG_LOG_DOMAIN="GsPluginUltramarinePkgdbCollections"',
'-DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE'
]
glib_dep = dependency('glib-2.0', version: '>=2.60')
gobject_dep = dependency('gobject-2.0')
gio_dep = dependency('gio-2.0')
shared_module(
'gs_plugin_ultramarine-pkgdb-collections',
sources : 'gs-plugin-ultramarine-pkgdb-collections.c',
install : true,
install_dir: plugin_install_dir,
c_args : cargs,
dependencies : [ gnome_software_dep, glib_dep, gobject_dep, gio_dep ],
)
install_data(
'data/org.gnome.Software.Plugin.UltramarinePkgdbCollections.metainfo.xml',
install_dir: join_paths(get_option('datadir'), 'metainfo'),
)