1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

build: Define po_dir variable

This commit is contained in:
Evangelos Ribeiro Tzaras 2023-01-24 11:00:02 +01:00
parent 4598eaa020
commit 22bcd46a26
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,7 @@ desktop_file = i18n.merge_file(
input : 'org.gnome.Calls.desktop.in',
output : 'org.gnome.Calls.desktop',
type : 'desktop',
po_dir : '../po',
po_dir : po_dir,
install : true,
install_dir : join_paths(datadir, 'applications')
)
@ -15,7 +15,7 @@ desktop_daemon_file = i18n.merge_file(
input : 'org.gnome.Calls-daemon.desktop.in',
output : 'org.gnome.Calls-daemon.desktop',
type : 'desktop',
po_dir : '../po',
po_dir : po_dir,
install : true,
install_dir : join_paths(sysconfdir, 'xdg/autostart')
)

View file

@ -47,6 +47,7 @@ full_servicedir = join_paths(prefix, get_option('datadir'), 'dbus-1', 'services'
localedir = get_option('localedir')
full_localedir = join_paths(prefix, localedir)
full_calls_plugin_libdir = join_paths(prefix, libdir, calls_name, 'plugins')
po_dir = join_paths(meson.project_source_root(), 'po')
libcall_ui_dep = dependency('call-ui',
fallback: ['libcall-ui', 'libcall_ui_dep'],