2023-06-26 17:33:46 +02:00
|
|
|
project('howdy', 'cpp', license: 'MIT', version: 'beta', meson_version: '>= 0.64.0')
|
|
|
|
|
2023-09-12 22:37:53 +02:00
|
|
|
dlibdatadir = get_option('dlib_data_dir') != '' ? get_option('dlib_data_dir') : join_paths(get_option('prefix'), get_option('datadir'), 'dlib-data')
|
2023-07-02 14:36:34 +02:00
|
|
|
confdir = get_option('config_dir') != '' ? get_option('config_dir') : join_paths(get_option('prefix'), get_option('sysconfdir'), 'howdy')
|
2023-06-26 17:33:46 +02:00
|
|
|
usermodelsdir = get_option('user_models_dir') != '' ? get_option('user_models_dir') : join_paths(confdir, 'models')
|
|
|
|
logpath = get_option('log_path')
|
|
|
|
|
|
|
|
config_path = join_paths(confdir, 'config.ini')
|
|
|
|
|
|
|
|
paths_dict = {
|
|
|
|
'config_dir': confdir,
|
|
|
|
'dlib_data_dir': dlibdatadir,
|
|
|
|
'user_models_dir': usermodelsdir,
|
|
|
|
'log_path': logpath,
|
|
|
|
}
|
|
|
|
|
2024-01-17 14:20:56 +01:00
|
|
|
# We need to keep this order beause howdy-gtk defines the gtk script path which is used later in howdy
|
2023-06-26 17:33:46 +02:00
|
|
|
subdir('howdy-gtk')
|
|
|
|
subdir('howdy')
|