mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
17 lines
537 B
Meson
17 lines
537 B
Meson
microdns_dep = dependency('microdns', required: get_option('microdns'),
|
|
fallback: ['libmicrodns', 'mdns_dep'])
|
|
|
|
if microdns_dep.found()
|
|
incdirs = [configinc]
|
|
|
|
gstmicrodns = library('gstmicrodns',
|
|
['gstmicrodns.c', 'gstmicrodnsdevice.c'],
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : incdirs,
|
|
dependencies : [gst_dep, microdns_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstmicrodns, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstmicrodns]
|
|
endif
|