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:
91bc6f6
)
meson: tag: check for zlib and support compressed id3v2 tag if found
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 11 Aug 2018 17:49:10 +0000
(18:49 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 11 Aug 2018 17:51:33 +0000
(18:51 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=793995
gst-libs/gst/tag/meson.build
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/meson.build
b/gst-libs/gst/tag/meson.build
index
e7ef2ae
..
b396003
100644
(file)
--- a/
gst-libs/gst/tag/meson.build
+++ b/
gst-libs/gst/tag/meson.build
@@
-49,8
+49,11
@@
gst_tag_args = [
'license-translations.dict'))
]
-# FIXME: optional zlib support?
-tag_deps = [gst_base_dep, libm]
+# could drop optional zlib dep and use g_zlib_decompressor_new()
+zlib_dep = dependency('zlib', required: false, fallback: ['zlib', 'zlib_dep'])
+core_conf.set('HAVE_ZLIB', zlib_dep.found())
+
+tag_deps = [gst_base_dep, libm, zlib_dep]
gsttag = library('gsttag-@0@'.format(api_version),
tag_sources, gsttag_h, gsttag_c,
c_args : gst_plugins_base_args + gst_tag_args,