[gnome-boxes] meson: Use localedir option



commit e4d4d1367f495f6064a67868ca97f068d0001d6a
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sun Dec 10 14:02:19 2017 +0100

    meson: Use localedir option
    
    The default location for localedir is used, which is usually under
    datadir directory. However, the user might choose another location
    by using the available options.
    
    This patch uses the localedir option instead of using the default
    location.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791421

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 7e7b1bd..ede09fe 100644
--- a/meson.build
+++ b/meson.build
@@ -57,7 +57,7 @@ msgfmt = find_program ('msgfmt')
 
 po_dir = join_paths (meson.source_root (), 'po')
 data_dir = join_paths (get_option ('prefix'), get_option ('datadir'))
-locale_dir = join_paths (data_dir, '/locale')
+locale_dir = join_paths (get_option ('prefix'), get_option ('localedir'))
 
 conf = configuration_data ()
 conf.set_quoted ('DISTRIBUTOR_NAME', get_option ('distributor_name'))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]