File: meson.build

package info (click to toggle)
gst-python1.0 1.14.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,804 kB
  • sloc: sh: 4,822; python: 1,460; perl: 1,431; ansic: 835; makefile: 205
file content (18 lines) | stat: -rw-r--r-- 586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pysources = ['Gst.py', 'GstPbutils.py']
install_data(pysources,
    install_dir: pygi_override_dir)

gstpython = shared_library('_gi_gst',
    sources: ['gstmodule.c'],
    name_prefix: '',
    name_suffix: py_so_suffix,
    install: true,
    install_dir : pygi_override_dir,
    dependencies : [gst_dep, python_dep, pygobject_dep])

# Workaround to get uninstalled working.
foreach source: pysources
    run_command(python3, '-c', 'import os; os.symlink("@0@/@1@", "@2@/@3@")'.format(
        meson.current_source_dir(), source,
        meson.current_build_dir(), source))
endforeach