[sound-juicer: 1/2] build: Fix musicbrainz lookups not working



commit d8553bef22963f71810e515cd6d26beb18feca61
Author: David Meikle <david meikle io>
Date:   Sun Mar 15 03:06:56 2020 +0000

    build: Fix musicbrainz lookups not working
    
    Since the port to meson, libmusicbrainz5 has been a required dependency,
    and nothing was defining the HAVE_MUSICBRAINZ5 flag. This caused the
    musicbrainz metadata fetcher not to work.
    
    Removed the unnecessary ifdef's to fix that.
    
    Fixes: 19e6415b167a163e868ec033c077ed6d7adf2a24

 libjuicer/sj-metadata-getter.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/libjuicer/sj-metadata-getter.c b/libjuicer/sj-metadata-getter.c
index 251f1306..11923993 100644
--- a/libjuicer/sj-metadata-getter.c
+++ b/libjuicer/sj-metadata-getter.c
@@ -25,9 +25,7 @@
 #include "sj-structures.h"
 #include "sj-metadata-getter.h"
 #include "sj-metadata.h"
-#ifdef HAVE_MUSICBRAINZ5
 #include "sj-metadata-musicbrainz5.h"
-#endif /* HAVE_MUSICBRAINZ5 */
 #include "sj-metadata-gvfs.h"
 #include "sj-error.h"
 
@@ -239,9 +237,7 @@ list_albums_thread_cb (GTask        *task,
   GList *albums = NULL;
   gchar *url = NULL;
   GType types[] = {
-#ifdef HAVE_MUSICBRAINZ5
     SJ_TYPE_METADATA_MUSICBRAINZ5,
-#endif /* HAVE_MUSICBRAINZ5 */
     SJ_TYPE_METADATA_GVFS
   };
 


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