forked from ecraven/g13
-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
45 lines (38 loc) · 1015 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
40
41
42
43
44
45
project(
'g13gui',
license: 'MIT'
)
python = import('python').find_installation()
prefix = get_option('prefix')
bindir = get_option('bindir')
datadir = get_option('datadir')
etcdir = get_option('sysconfdir')
prefix = get_option('prefix')
pylibdir = python.get_install_dir()
g13dir = join_paths(pylibdir, 'g13gui')
install_data(
files('bin/g13gui', 'bin/g13-clock', 'bin/g13-profiles'),
install_dir: bindir,
install_mode: 'rwxr-xr-x',
)
install_subdir(
'g13gui',
install_dir: pylibdir,
)
install_subdir(
'etc/icons/hicolor',
install_dir: join_paths(datadir, 'icons'),
install_mode: 'rw-r--r--',
)
install_data(
files('etc/com.theonelab.g13.Configurator.desktop',
'etc/com.theonelab.g13.applet.Clock.desktop',
'etc/com.theonelab.g13.applet.Profiles.desktop'),
install_dir: join_paths(datadir, 'applications'),
install_mode: 'rw-r--r--',
)
install_data(
files('etc/91-g13.rules'),
install_dir: join_paths(prefix, 'lib/udev/rules.d'),
install_mode: 'rw-r--r--',
)