summaryrefslogtreecommitdiff
path: root/src/video-support/meson.build
blob: da3f9d73087769430782018ac0d8a5d7cc87f3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
executable(
    'shotwell-video-metadata-handler',
    [
        'VideoMetadataReaderProcess.vala'
    ],
    dependencies : [
        gio,
        gstreamer,
        gstreamer_pbu
    ],
    c_args : '-DGST_PB_UTILS_IS_DISCOVERER_INFO=GST_IS_DISCOVERER_INFO'
    # Work-around for wrong type-check macro generated by valac
)

libvideometadata_handling = static_library(
    'video_metadata_handling',
    [
        'AVIChunk.vala',
        'AVIMetadataLoader.vala',
        'QuickTimeAtom.vala',
        'QuicktimeMetdataLoader.vala',
        'util.vala'
    ],
    vala_header : 'shotwell-internal-video-metadata-handling.h',
    vala_vapi : 'shotwell-internal-video-metadata-handling.vapi',
    include_directories : config_incdir,
    dependencies : [
        gio,
        metadata
    ]
)

metadata_handling = declare_dependency(
    include_directories : include_directories('.'),
    link_with : libvideometadata_handling
)