File: meson.build

package info (click to toggle)
gnome-klotski 1:3.32.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,500 kB
  • sloc: xml: 101; python: 11; sh: 7; makefile: 6
file content (28 lines) | stat: -rw-r--r-- 743 bytes parent folder | download
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
resource_files = files ('@0@.gresource.xml'.format('klotski'))
resources = gnome.compile_resources ('klotski', resource_files)

executable(meson.project_name(),[
        'config.vapi',
        'gnome-klotski.vala',
        'klotski-window.vala',
        'puzzle.vala',
        'puzzle-view.vala'
     ] + resources,
    install: true,
    c_args: [
        '-include', 'config.h'
    ],
    vala_args: [
        '--gresources', resource_files,
        '--target-glib', '2.44',
        '--vapidir', join_paths(meson.current_source_dir(), 'vapi')
    ],
    dependencies: [
        gee_dependency,
        glib_dependency,
        gnome_games_support_dependency,
        gtk_dependency,
        posix_dependency,
        rsvg_dependency
    ]
)