summaryrefslogtreecommitdiff
path: root/src/video-support/meson.build
blob: 187d723de8d77b062283d28c6baa9483d5cf1128 (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
37
38
executable(
    'shotwell-video-metadata-handler',
    [
        'VideoMetadataReaderProcess.vala'
    ],
    dependencies : [
        gio,
        gstreamer,
        gstreamer_pbu
    ],
    # Work-around for wrong type-check macro generated by valac
    c_args : '-DGST_PB_UTILS_IS_DISCOVERER_INFO=GST_IS_DISCOVERER_INFO',
    install: true,
    install_dir : join_paths(get_option('libexecdir'), 'shotwell')
)

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
)