luafiles.diff 919 B

123456789101112131415161718192021222324252627282930
  1. diff --git i/src/lua-factory/sources/meson.build w/src/lua-factory/sources/meson.build
  2. index 6d66d4ef148cefde..99b408266ca23350 100644
  3. --- i/src/lua-factory/sources/meson.build
  4. +++ w/src/lua-factory/sources/meson.build
  5. @@ -30,20 +30,22 @@ resources = [
  6. 'grl-itunes-podcast',
  7. ]
  8. +luafactoryinstalldir = join_paths(get_option('datadir'), luafactorydir)
  9. +
  10. foreach s: sources
  11. f = s + '.lua'
  12. install_data(f,
  13. - install_dir: luafactorydir)
  14. + install_dir: luafactoryinstalldir)
  15. endforeach
  16. foreach r: resources
  17. input = r + '.gresource.xml'
  18. output = r + '.gresource'
  19. custom_target(output,
  20. output: output,
  21. input: input,
  22. install: true,
  23. - install_dir: luafactorydir,
  24. + install_dir: luafactoryinstalldir,
  25. command: [glib_compile_resources,
  26. '--sourcedir', meson.current_source_dir(),
  27. '--target', '@OUTPUT@',