[tracker-miners/sam/libav-testing: 10/12] build: Disable disc-generic extractor when ffmpeg/libav backend is enabled




commit 01e061bff2f49e773416f2899ad2a5e6394d490a
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Wed Aug 31 14:01:16 2022 +0200

    build: Disable disc-generic extractor when ffmpeg/libav backend is enabled
    
    This cannot work right now as tracker-cue-sheet.c is tied to GStreamer.
    
    See: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/230

 src/tracker-extract/meson.build    | 2 +-
 tests/functional-tests/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
index 0505f9a6d..937e7b275 100644
--- a/src/tracker-extract/meson.build
+++ b/src/tracker-extract/meson.build
@@ -97,7 +97,7 @@ if libgxps.found()
   modules += [['extract-xps', 'tracker-extract-xps.c', ['10-xps.rule'], [libgxps, 
tracker_miners_common_dep]]]
 endif
 
-if libcue.found()
+if libcue.found() and generic_media_handler_name == 'gstreamer'
   modules += [['extract-disc-generic', 'tracker-extract-disc-generic.c', ['90-disc-generic.rule'], 
dependencies]]
 endif
 
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index 97e2fdecc..bc1669789 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -99,7 +99,7 @@ if totem_plparser.found()
   extractor_tests += 'playlists/playlist-test-1'
 endif
 
-if libcue.found()
+if libcue.found() and generic_media_handler_name == 'gstreamer'
   extractor_tests += 'disc-images/psx-game-image-1'
 endif
 


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