-
-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathmeson.build
More file actions
26 lines (20 loc) · 657 Bytes
/
meson.build
File metadata and controls
26 lines (20 loc) · 657 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
project(
'hanabi-extension',
version: '1',
license: 'GPL-3.0-or-later',
meson_version: '>= 0.56.0'
)
uuid = 'hanabi-extension@jeffshee.github.io'
prefix = get_option('prefix')
datadir = join_paths(prefix, get_option('datadir'))
extensions_dir = join_paths(datadir, 'gnome-shell', 'extensions')
install_dir = join_paths(extensions_dir, uuid)
schema = 'io.github.jeffshee.hanabi-extension'
schema_dir = join_paths(datadir, 'glib-2.0', 'schemas')
gnome = import('gnome')
i18n = import('i18n')
npm_exe = find_program('npm', required: false)
if npm_exe.found()
run_target('dev', command: [ npm_exe, 'install', '--save-dev' ])
endif
subdir('src')