mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-02 20:55:55 +00:00
Split plugin into features including typefind functions which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/900>
26 lines
821 B
Meson
26 lines
821 B
Meson
typefindfunctions_extra_defs = []
|
|
typefindfunctions_extra_deps = []
|
|
if not get_option('gio-typefinder').disabled()
|
|
typefindfunctions_extra_defs += ['-DHAVE_GIO']
|
|
typefindfunctions_extra_deps += [gio_dep]
|
|
endif
|
|
|
|
typefindfunctions_sources = [
|
|
'gsttypefindfunctions.c',
|
|
'gsttypefindfunctionsdata.c',
|
|
'gsttypefindfunctionsplugin.c',
|
|
'gsttypefindfunctionsriff.c',
|
|
'gsttypefindfunctionsstartwith.c',
|
|
]
|
|
|
|
gsttypefind = library('gsttypefindfunctions',
|
|
typefindfunctions_sources,
|
|
c_args : gst_plugins_base_args + typefindfunctions_extra_defs,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [pbutils_dep, gst_base_dep, typefindfunctions_extra_deps],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gsttypefind, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gsttypefind]
|