projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d34f57
)
meson: define G_DISABLE_DEPRECATED for development versions
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 10 Aug 2018 08:22:51 +0000
(09:22 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 10 Aug 2018 08:22:51 +0000
(09:22 +0100)
Like in autotools.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
84a07b3
..
9cd433e
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-57,6
+57,11
@@
if cc.has_argument('-fno-strict-aliasing')
add_project_arguments('-fno-strict-aliasing', language: 'c')
endif
+# Define G_DISABLE_DEPRECATED for development versions
+if gst_version_minor % 2 == 1 and gst_version_micro < 90
+ add_project_arguments('-DG_DISABLE_DEPRECATED', language: 'c')
+endif
+
cdata = configuration_data()
cdata.set_quoted('GST_API_VERSION', apiversion)
cdata.set_quoted('GST_DATADIR', join_paths(prefix, get_option('datadir')))