-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeson.build
33 lines (25 loc) · 887 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
project('win32-details',
version: '0.5.0',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2',
'werror=false',
]
)
# Import modules
python = import('python')
# Nautilus extension directory
EXTENSIONS_DIR = join_paths(get_option('prefix'), get_option('datadir'), 'nautilus-python/extensions')
dependency('glib-2.0')
dependency('gtk4')
dependency('pygobject-3.0', version: '>= 3.42.0')
# Check if python3 is installed
PY_INSTALLDIR = python.find_installation('python3', required: true)
# Check if exiftool is installed
find_program('exiftool', required: true)
# Check if Nautilus 43 is installed
find_program('nautilus', version: '>= 43.0', required: true)
# Install configuration data
conf = configuration_data()
conf.set('EXTENSIONS_DIR', EXTENSIONS_DIR)
# Subdirs
subdir('win32_details')