forked from linuxmint/xdg-desktop-portal-xapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
39 lines (34 loc) · 903 Bytes
/
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
project(
'xdg-desktop-portal-xapp',
'c',
version: '1.0.2',
meson_version: '>= 0.56.0',
license: 'LGPLv2.1+'
)
prefix = get_option('prefix')
datadir = get_option('datadir')
libdir = get_option('libdir')
libexecdir = get_option('libexecdir')
systemduserunitdir = get_option('systemduserunitdir')
if systemduserunitdir == ''
systemd = dependency('systemd', version: '>= 242')
systemduserunitdir = systemd.get_variable(
pkgconfig: 'systemduserunitdir',
pkgconfig_define: ['prefix', get_option('prefix')]
)
endif
dbus_service_dir = get_option('dbus_service_dir')
if dbus_service_dir == ''
dbus_service_dir = datadir / 'dbus-1' / 'services'
endif
subdir('data')
# subdir('po')
subdir('src')
summary({
'prefix': prefix,
'datadir': datadir,
'libdir': libdir,
'libexecdir': libexecdir,
'dbus_service_dir': dbus_service_dir,
'systemduserunitdir': systemduserunitdir,
})