File: meson.build

package info (click to toggle)
gnome-subtitles 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 103,144 kB
  • sloc: xml: 406,395; cs: 364,495; ansic: 3,104; perl: 1,477; sh: 769; python: 545; javascript: 500; makefile: 49
file content (69 lines) | stat: -rw-r--r-- 1,734 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
pkg = 'pango'
assembly_name = pkg + '-sharp'
raw_api_fname = join_paths(meson.current_source_dir(), pkg + '-api.raw')
metadata_fname = join_paths(meson.current_source_dir(), 'Pango.metadata')

configure_file(input: assembly_name + '.dll.config.in',
        output: assembly_name + '.dll.config',
        configuration : remap_dl_data)

subdir('generated')

sources = [
    'Analysis.cs',
    'AttrBackground.cs',
    'AttrColor.cs',
    'AttrFallback.cs',
    'AttrFamily.cs',
    'AttrFloat.cs',
    'AttrFontDesc.cs',
    'AttrForeground.cs',
    'AttrGravity.cs',
    'AttrGravityHint.cs',
    'Attribute.cs',
    'AttrInt.cs',
    'AttrIterator.cs',
    'AttrLanguage.cs',
    'AttrLetterSpacing.cs',
    'AttrList.cs',
    'AttrRise.cs',
    'AttrScale.cs',
    'AttrShape.cs',
    'AttrSize.cs',
    'AttrStretch.cs',
    'AttrStrikethrough.cs',
    'AttrStrikethroughColor.cs',
    'AttrStyle.cs',
    'AttrUnderline.cs',
    'AttrUnderlineColor.cs',
    'AttrVariant.cs',
    'AttrWeight.cs',
    'Context.cs',
    'Coverage.cs',
    'FontFamily.cs',
    'FontMap.cs',
    'Global.cs',
    'GlyphItem.cs',
    'GlyphString.cs',
    'Item.cs',
    'Layout.cs',
    'LayoutLine.cs',
    'LayoutRun.cs',
    'Matrix.cs',
    'Scale.cs',
    'ScriptIter.cs',
    'TabArray.cs',
    'Units.cs',
]

deps = [glib_sharp, cairo_sharp]
pango_sharp = shared_library(assembly_name, source_gen, sources, assemblyinfo,
        cs_args: ['-unsafe'],
        link_with: deps,
        install: install,
        install_dir: lib_install_dir
)

nuget_infos += [['PangoSharp', pango_sharp, ['GlibSharp', 'GioSharp']]]
install_infos += [assembly_name, pango_sharp.full_path()]
pango_sharp_dep = declare_dependency(link_with: deps + [pango_sharp])