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