Add timezone support to clock module (closes #223)

This commit is contained in:
Michael Cordover
2020-01-20 18:47:15 -05:00
committed by Michael Cordover
parent 99dde1aff8
commit 3130a57622
5 changed files with 49 additions and 4 deletions

View File

@ -66,6 +66,8 @@ gtk_layer_shell = dependency('gtk-layer-shell-0',
required: get_option('gtk-layer-shell'),
fallback : ['gtk-layer-shell', 'gtk_layer_shell_dep'])
systemd = dependency('systemd', required: get_option('systemd'))
date_dep = dependency('date', default_options : [ 'use_system_tzdb=true' ], fallback: [ 'date', 'date_dep' ])
tz_dep = dependency('date', default_options : [ 'use_system_tzdb=true' ], fallback: [ 'date', 'tz_dep' ])
prefix = get_option('prefix')
conf_data = configuration_data()
@ -166,7 +168,9 @@ executable(
libpulse,
libudev,
libmpdclient,
gtk_layer_shell
gtk_layer_shell,
date_dep,
tz_dep
],
include_directories: [include_directories('include')],
install: true,