-
Notifications
You must be signed in to change notification settings - Fork 4
/
meson.build
36 lines (23 loc) · 1.11 KB
/
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
project('pardus-gnome-greeter', version: '0.0.9')
# Configuration
gnome = import('gnome')
prefix = get_option('prefix')
sysconfdir = get_option('sysconfdir')
data_dir = join_paths(prefix,get_option('datadir'))
schema_dir = join_paths(prefix, 'share', 'glib-2.0','schemas')
icon_dir = join_paths(prefix,'share','icons','hicolor','scalable','apps')
auto_start_dir = join_paths(sysconfdir,'skel','.config','autostart')
desktop_file = 'tr.org.pardus.pardus-gnome-greeter.desktop'
desktop_file_dir = join_paths(prefix,'share','applications')
#Source files
source_dir = join_paths(prefix , 'share' , 'pardus' , 'pardus-gnome-greeter')
install_data([desktop_file],install_dir : desktop_file_dir)
install_data(['pardus-gnome-greeter.svg'],install_dir:icon_dir)
install_data(['pardus-gnome-greeter','pardus-gnome-greeter.svg'], install_dir : source_dir)
install_data([desktop_file],install_dir : auto_start_dir)
install_subdir('data',install_dir : source_dir)
install_subdir('src',install_dir : source_dir)
install_data(['pardus-gnome-greeter'], install_dir : prefix / 'bin')
subdir('data/schema')
# locale settings
subdir('data/po')