mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
soup: Fix pkgconfig generation and documentation
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1805>
This commit is contained in:
parent
2e3a575533
commit
7f04ee970b
1 changed files with 14 additions and 5 deletions
|
@ -67,11 +67,20 @@ if default_library in ['static', 'both']
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if default_library == 'static'
|
# Use the static library to generate the .pc file if it's available. The shared
|
||||||
gstsouphttpsrc = gstsouphttpsrc_static
|
# library .pc file does not have a Requires: on libsoup-2.4, and we use plugin
|
||||||
|
# .pc files to generate dependencies for linking plugins statically.
|
||||||
|
if default_library == 'shared'
|
||||||
|
pkgconfig.generate(gstsouphttpsrc_shared, install_dir : plugins_pkgconfig_install_dir)
|
||||||
else
|
else
|
||||||
gstsouphttpsrc = gstsouphttpsrc_shared
|
pkgconfig.generate(gstsouphttpsrc_static, install_dir : plugins_pkgconfig_install_dir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
pkgconfig.generate(gstsouphttpsrc, install_dir : plugins_pkgconfig_install_dir)
|
# Add the shared library to the plugins list if available. We pass this list of
|
||||||
plugins += [gstsouphttpsrc]
|
# plugins to hotdoc to generate the plugins cache, which introspects the plugin
|
||||||
|
# by loading it. We need the shared plugin for that.
|
||||||
|
if default_library == 'static'
|
||||||
|
plugins += [gstsouphttpsrc_static]
|
||||||
|
else
|
||||||
|
plugins += [gstsouphttpsrc_shared]
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue