mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
18 lines
537 B
Meson
18 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
|