File: meson.build

package info (click to toggle)
blueman 2.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,428 kB
  • sloc: python: 11,744; sh: 5,063; makefile: 899; ansic: 343; xml: 207; sed: 16
file content (24 lines) | stat: -rw-r--r-- 527 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
cython = find_program('cython', 'cython3' ,required: true)

blueman_c = custom_target(
    'blueman_c',
    output: '_blueman.c',
    input: '_blueman.pyx',
    command: [cython, '--output-file', '@OUTPUT@', '@INPUT@'])

sources = [
    blueman_c,
    'libblueman.c',
    'libblueman.h'
]

deps = [pygobject, pythonlib, gthread, bluez]

bluemanlib = shared_library(
    '_blueman', sources,
    name_prefix: '',
    dependencies : deps,
    c_args: ['-DSN_API_NOT_YET_FROZEN'],
    install: true,
    install_dir: pythondir,
)