meson: Replace empty configuration_data() with copy keyword
authorSeungha Yang <seungha.yang@navercorp.com>
Thu, 27 Sep 2018 12:21:14 +0000 (21:21 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 17 Oct 2018 12:48:47 +0000 (13:48 +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-libs/gst/audio/meson.build
gst-libs/gst/video/meson.build
gst/adder/meson.build
gst/audiomixer/meson.build
gst/videotestsrc/meson.build
gst/volume/meson.build

index 7bc2460..0e4efab 100644 (file)
@@ -89,10 +89,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
 
 simd_cargs = []
index 356a345..5d694c1 100644 (file)
@@ -114,10 +114,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
 
 gstvideo = library('gstvideo-@0@'.format(api_version),
index 19edae3..7ba1ff1 100644 (file)
@@ -13,10 +13,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
 
 adder = library('gstadder',
index 9da6b16..0bca202 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
 
 gstaudiomixer = library('gstaudiomixer',
index 08c6406..6a81838 100644 (file)
@@ -13,10 +13,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
 
 gstvideotestsrc = library('gstvideotestsrc',
index b4d2450..3af909f 100644 (file)
@@ -13,10 +13,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
 
 gstvolume = library('gstvolume', 'gstvolume.c', orc_c, orc_h,