File: meson.build

package info (click to toggle)
font-manager 0.9.4-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,684 kB
  • sloc: ansic: 13,202; perl: 684; xml: 494; python: 321; makefile: 123
file content (26 lines) | stat: -rw-r--r-- 1,112 bytes parent folder | download | duplicates (2)
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

nemo_info = '''

    Install the libnemo-extension package and try again.

    For more information see https://github.com/linuxmint/nemo
'''

nemo = dependency('libnemo-extension', not_found_message: nemo_info)

result = run_command(python, '-c', list_sources, check: true)
nemo_extension_sources = result.stdout().strip().split('\n')
result = run_command(python, '-c', list_headers, check: true)
nemo_extension_headers = result.stdout().strip().split('\n')

nemo_extension_dir = join_paths(get_option('libdir'), 'nemo', 'extensions-3.0')

nemo_font_manager = shared_module('nemo-font-manager',
                                  [nemo_extension_sources, nemo_extension_headers],
                                  dependencies: [nemo, base_deps],
                                  link_with: libfontmanager,
                                  include_directories: extension_includes,
                                  name_prefix: '',
                                  install: true,
                                  install_dir: nemo_extension_dir,
                                  install_rpath: pkglib_dir)