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,
)
|