[grilo-plugins] meson: Install lua-factory sources to correct dir



commit e3196693258c2935023f482592ff16de6f6f56ec
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Jul 17 12:07:02 2018 +0000

    meson: Install lua-factory sources to correct dir
    
    https://gitlab.gnome.org/GNOME/grilo-plugins/issues/1

 meson.build                 | 1 +
 src/lua-factory/meson.build | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index c2e3c3d..f0b15f3 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,7 @@ grl_minor = version_array[1]
 prefix = get_option('prefix')
 localedir = join_paths(prefix, get_option('localedir'))
 libdir = get_option('libdir')
+datadir = get_option('datadir')
 pluginsdir =join_paths(libdir, 'grilo-@0@.@1@'.format(grl_major, grl_minor))
 
 glib_dep = dependency('glib-2.0', version: '>= 2.34', required: true)
diff --git a/src/lua-factory/meson.build b/src/lua-factory/meson.build
index b6e8a89..932462b 100644
--- a/src/lua-factory/meson.build
+++ b/src/lua-factory/meson.build
@@ -45,7 +45,7 @@ lua_library_sources += [ htmlentity_c ]
 configure_file(output: 'config.h',
     configuration: cdata)
 
-luafactorydir = join_paths('grilo-plugins', 'grl-lua-factory')
+luafactorydir = join_paths(datadir, 'grilo-plugins', 'grl-lua-factory')
 
 shared_library('grlluafactory',
     sources: lua_factory_sources + lua_factory_resources + lua_library_sources,


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