summaryrefslogtreecommitdiff
path: root/plugins/shotwell-transitions/meson.build
blob: f809adebb8f53389427213031f30dcf9952ff3d1 (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
shotwell_transitions_sources = [
    'BlindsEffect.vala',
    'ChessEffect.vala',
    'CircleEffect.vala',
    'CirclesEffect.vala',
    'ClockEffect.vala',
    'CrumbleEffect.vala',
    'FadeEffect.vala',
    'shotwell-transitions.vala',
    'SlideEffect.vala',
    'SquaresEffect.vala',
    'StripesEffect.vala']

shotwell_transitions_resources = gnome.compile_resources('transitions-resource',
        'org.gnome.Shotwell.Transitions.gresource.xml')

cc = meson.get_compiler('c')
libm = cc.find_library('m', required : false)

shared_module('shotwell-transitions',
              shotwell_transitions_sources + shotwell_transitions_resources,
              dependencies : [gio, gdk_pixbuf, cairo, gtk, gdk, xml, sw_plugin,
                              sw_plugin_common_dep, gee, soup, libm],
              vala_args : [
                  '--gresources', 'org.gnome.Shotwell.Transitions.gresource.xml',
                  ],
              c_args : ['-DPLUGIN_RESOURCE_PATH="/org/gnome/Shotwell/Transitions"'],
              install: true,
              install_dir : shotwell_plugin_dir)