summaryrefslogtreecommitdiffstats
path: root/etc/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/meson.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/meson.build b/etc/meson.build
new file mode 100644
index 0000000..12fe732
--- /dev/null
+++ b/etc/meson.build
@@ -0,0 +1,20 @@
+icons = ['16', '32', '64', '128']
+foreach size: icons
+ name = 'mpv-icon-8bit-'+size+'x'+size+'.png'
+ icon = custom_target(name,
+ input: join_paths(source_root, 'etc', name),
+ output: name + '.inc',
+ command: [file2string, '@INPUT@', '@OUTPUT@'],
+ )
+ sources += icon
+endforeach
+
+etc_files = ['input.conf', 'builtin.conf']
+foreach file: etc_files
+ etc_file = custom_target(file,
+ input: join_paths(source_root, 'etc', file),
+ output: file + '.inc',
+ command: [file2string, '@INPUT@', '@OUTPUT@'],
+ )
+ sources += etc_file
+endforeach