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




commit b59bd6f9665cdb8c3f9dd0fd312f6875fc912b0f
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..b0fbfd228 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_extractor == '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]