Commit 384f3fc3 authored by Luciano Santos's avatar Luciano Santos Committed by Sam Thursfield

Fix typos in meson scripts

parent fbd5f483
......@@ -245,9 +245,9 @@ if generic_media_handler_name == 'gstreamer'
endif
elif get_option('gstreamer_backend') == 'gupnp'
if gupnp_dlna.found() and gupnp_dlna_gst.found()
gstreamer_backend_name = 'GUPnP-DNLA'
gstreamer_backend_name = 'GUPnP-DLNA'
else
error('GStreamer GUPnP-DNLA backend requires the gupNp and gupnp-gst libraries')
error('GStreamer GUPnP-DLNA backend requires the gupNp and gupnp-gst libraries')
endif
endif
endif
......@@ -306,7 +306,7 @@ conf.set('HAVE_ENCA', charset_library_name == 'enca')
conf.set('HAVE_EXEMPI', exempi.found())
conf.set('HAVE_GSTREAMER', generic_media_handler_name == 'gstreamer')
conf.set('GSTREAMER_BACKEND_DISCOVERER', gstreamer_backend_name == 'Discoverer')
conf.set('GSTREAMER_BACKEND_GUPNP_DLNA', gstreamer_backend_name == 'GUPnP-DNLA')
conf.set('GSTREAMER_BACKEND_GUPNP_DLNA', gstreamer_backend_name == 'GUPnP-DLNA')
conf.set('HAVE_HAL', battery_detection_library_name == 'hal')
conf.set('HAVE_LIBCUE', libcue.found())
conf.set('HAVE_LIBCUE2', libcue.version() >= '2.0.0')
......
......@@ -41,9 +41,9 @@ if generic_media_handler_name == 'gstreamer'
rules = ['10-svg.rule', '15-gstreamer-guess.rule', '90-gstreamer-image-generic.rule', '90-gstreamer-audio-generic.rule', '90-gstreamer-video-generic.rule']
dependencies = [gstreamer, gstreamer_pbutils, libcue, tracker_miners_common_dep]
if gstreamer_backend_name == 'GUPnP-DNLA'
rules += '91-gstreamer-generic-dnla.rule'
dependencies += gupnp_dnla
if gstreamer_backend_name == 'GUPnP-DLNA'
rules += '91-gstreamer-generic-dlna.rule'
dependencies += gupnp_dlna
elif gstreamer_backend_name == 'discoverer'
dependencies += gstreamer_pbutils
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment