meson: Replace empty configuration_data() with copy keyword
authorTim-Philipp Müller <tim@centricular.com>
Wed, 17 Oct 2018 13:15:33 +0000 (14:15 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 17 Oct 2018 13:15:33 +0000 (14:15 +0100)
Use 'copy' keyword to avoid meson warning message.
Note that 'copy' keyword in configure_file() is available
since meson 0.47.0

https://bugzilla.gnome.org/show_bug.cgi?id=797298

gst/audiofx/meson.build
gst/deinterlace/meson.build
gst/videobox/meson.build
gst/videomixer/meson.build

index 52c6e0f..45f0536 100644 (file)
@@ -30,10 +30,10 @@ if have_orcc
 else
   orc_h = configure_file(input : orcsrc + '-dist.h',
     output : orcsrc + '.h',
-    configuration : configuration_data())
+    copy : true)
   orc_c = configure_file(input : orcsrc + '-dist.c',
     output : orcsrc + '.c',
-    configuration : configuration_data())
+    copy : true)
 endif
 
 gstaudiofx = library('gstaudiofx',
index 6957ba6..d8213d3 100644 (file)
@@ -26,10 +26,10 @@ if have_orcc
 else
   orc_h = configure_file(input : orcsrc + '-dist.h',
     output : orcsrc + '.h',
-    configuration : configuration_data())
+    copy : true)
   orc_c = configure_file(input : orcsrc + '-dist.c',
     output : orcsrc + '.c',
-    configuration : configuration_data())
+    copy : true)
 endif
 
 gstdeinterlace = library('gstdeinterlace',
index 139910b..c2d94b9 100644 (file)
@@ -11,10 +11,10 @@ if have_orcc
 else
   orc_h = configure_file(input : orcsrc + '-dist.h',
     output : orcsrc + '.h',
-    configuration : configuration_data())
+    copy : true)
   orc_c = configure_file(input : orcsrc + '-dist.c',
     output : orcsrc + '.c',
-    configuration : configuration_data())
+    copy : true)
 endif
 
 gstvideobox = library('gstvideobox',
index abe5c1b..a7ebdb5 100644 (file)
@@ -16,10 +16,10 @@ if have_orcc
 else
   orc_h = configure_file(input : orcsrc + '-dist.h',
     output : orcsrc + '.h',
-    configuration : configuration_data())
+    copy : true)
   orc_c = configure_file(input : orcsrc + '-dist.c',
     output : orcsrc + '.c',
-    configuration : configuration_data())
+    copy : true)
 endif
 
 gstvideomixer = library('gstvideomixer',