[tracker-miners] build: Fix breakage when libcue isn't found



commit fd0eb3cd98f279591cbe8635eadf42027dd5ddae
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Oct 7 23:42:28 2018 +0200

    build: Fix breakage when libcue isn't found
    
    Commit 6e281037a5f0abc introduced a regression on systems where libcue
    is not available.
    
    Fixes https://gitlab.gnome.org/GNOME/tracker-miners/issues/33

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e7c5bc443..fc8904ae5 100644
--- a/meson.build
+++ b/meson.build
@@ -314,7 +314,7 @@ conf.set('GSTREAMER_BACKEND_DISCOVERER', gstreamer_backend_name == 'Discoverer')
 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().version_compare('>= 2.0.0'))
+conf.set('HAVE_LIBCUE2', libcue.found() and libcue.version().version_compare('>= 2.0.0'))
 conf.set('HAVE_LIBICU_CHARSET_DETECTION', charset_library_name == 'icu')
 conf.set('HAVE_LIBEXIF', libexif.found())
 conf.set('HAVE_LIBIPTCDATA', libiptcdata.found())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]