~ci-train-bot/mediascanner2/mediascanner2-ubuntu-yakkety-landing-063

« back to all changes in this revision

Viewing changes to src/extractor/CMakeLists.txt

  • Committer: CI Train Bot
  • Author(s): James Henstridge
  • Date: 2016-02-25 01:53:20 UTC
  • mfrom: (320.2.12 taglib-extractor)
  • Revision ID: ci-train-bot@canonical.com-20160225015320-lw52fiyl9pt7bejq
Use taglib to extract metadata from Vorbis, Opus, Flac, MP3 and MP4 audio files.  Other formats will fall back to the existing GStreamer code path. Fixes: #1536832
Approved by: Michi Henning

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
add_definitions(${MEDIASCANNER_DEPS_CFLAGS} ${GST_CFLAGS} ${EXIF_CFLAGS} ${PIXBUF_CFLAGS})
 
2
add_definitions(${MEDIASCANNER_DEPS_CFLAGS} ${GST_CFLAGS} ${EXIF_CFLAGS} ${PIXBUF_CFLAGS} ${TAGLIB_CFLAGS})
3
3
include_directories(.. ${CMAKE_CURRENT_BINARY_DIR})
4
4
 
5
5
# Build stubs/skeletons for D-Bus interface
32
32
# The backend code for the extractor daemon, as a library for use by tests
33
33
add_library(extractor-backend STATIC
34
34
  ExtractorBackend.cc
 
35
  GStreamerExtractor.cc
 
36
  ImageExtractor.cc
 
37
  TaglibExtractor.cc
35
38
)
36
39
target_link_libraries(extractor-backend
37
40
  extractor-client
38
41
  ${GST_LDFLAGS}
39
42
  ${EXIF_LDFLAGS}
40
43
  ${PIXBUF_LDFLAGS}
 
44
  ${TAGLIB_LDFLAGS}
41
45
)
42
46
 
43
47
add_executable(mediascanner-extractor