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 (113 lines) | stat: -rw-r--r-- 2,715 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
assembly_name = 'glib-sharp'

configure_file(input: 'glib-sharp.dll.config.in',
        output: 'glib-sharp.dll.config',
        configuration : remap_dl_data)

if install
    configure_file(input: 'glib-sharp-3.0.pc.in',
            output: 'glib-sharp-3.0.pc',
            configuration : version_data,
            install_dir: pkg_install_dir,
            install: install)
endif

policy_data = configuration_data()
policy_data.set('ASSEMBLY_NAME', assembly_name)
policy_data.set('API_VERSION', apiversion)

policy = configure_file(input: policy_config,
        output: 'policy.config',
        configuration : policy_data)

sources = [
    'AbiField.cs',
    'AbiStruct.cs',
    'Argv.cs',
    'Bytes.cs',
    'ConnectBeforeAttribute.cs',
    'Cond.cs',
    'Date.cs',
    'DateTime.cs',
    'DefaultSignalHandlerAttribute.cs',
    'DestroyNotify.cs',
    'ExceptionManager.cs',
    'FileUtils.cs',
    'GException.cs',
    'GInterfaceAdapter.cs',
    'GInterfaceAttribute.cs',
    'GLibSynchronizationContext.cs',
    'Global.cs',
    'GString.cs',
    'GType.cs',
    'GTypeAttribute.cs',
    'HookList.cs',
    'Idle.cs',
    'InitiallyUnowned.cs',
    'IOChannel.cs',
    'IWrapper.cs',
    'KeyFile.cs',
    'ListBase.cs',
    'List.cs',
    'Log.cs',
    'MainContext.cs',
    'MainLoop.cs',
    'ManagedValue.cs',
    'Markup.cs',
    'MarkupParser.cs',
    'Marshaller.cs',
    'MissingIntPtrCtorException.cs',
    'Mutex.cs',
    'NotifyHandler.cs',
    'Object.cs',
    'ObjectManager.cs',
    'Opaque.cs',
    'ParamSpec.cs',
    'PollFD.cs',
    'Priority.cs',
    'PropertyAttribute.cs',
    'PtrArray.cs',
    'RecMutex.cs',
    'Signal.cs',
    'SignalArgs.cs',
    'SignalAttribute.cs',
    'SignalClosure.cs',
    'SList.cs',
    'Source.cs',
    'SourceFunc.cs',
    'SourceFuncs.cs',
    'SourceDummyMarshal.cs',
    'GLibSharp.SourceFuncNative.cs',
    'GLibSharp.SourceDummyMarshalNative.cs',
    'SourceCallbackFuncs.cs',
    'Spawn.cs',
    'Thread.cs',
    'Timeout.cs',
    'TimeVal.cs',
    'TimeZone.cs',
    'ToggleRef.cs',
    'TypeFundamentals.cs',
    'TypeInitializerAttribute.cs',
    'TypeNameAttribute.cs',
    'ValueArray.cs',
    'Value.cs',
    'Variant.cs',
    'VariantType.cs']


glib_sharp = shared_library(assembly_name, sources, assemblyinfo,
        cs_args: ['-unsafe'],
        install: install,
        install_dir: lib_install_dir
)

nuget_infos += [['GlibSharp', glib_sharp, []]]
install_infos += [assembly_name, glib_sharp.full_path()]

glib_api_includes = join_paths(meson.current_source_dir(), 'glib-api.xml')

if install
    install_data(glib_api_includes, install_dir: gapi_xml_installdir)
endif

glib_sharp_dep = declare_dependency(link_with: glib_sharp)