mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
evl: add build option
This commit is contained in:
parent
ffaa365bef
commit
cbe3a88397
2 changed files with 24 additions and 2 deletions
|
|
@ -62,6 +62,10 @@ option('support',
|
|||
description: 'Enable support spa plugin integration',
|
||||
type: 'boolean',
|
||||
value: true)
|
||||
option('evl',
|
||||
description: 'Enable EVL support spa plugin integration',
|
||||
type: 'boolean',
|
||||
value: false)
|
||||
option('test',
|
||||
description: 'Enable test spa plugin integration',
|
||||
type: 'boolean',
|
||||
|
|
|
|||
|
|
@ -8,10 +8,28 @@ spa_support_lib = shared_library('spa-support',
|
|||
spa_support_sources,
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
include_directories : [ spa_inc ],
|
||||
dependencies : pthread_lib,
|
||||
dependencies : [ pthread_lib ],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/support'.format(get_option('libdir')))
|
||||
|
||||
|
||||
if get_option('evl')
|
||||
evl_inc = include_directories('/usr/evl/include')
|
||||
evl_lib = cc.find_library('evl',
|
||||
dirs: ['/usr/evl/lib/'])
|
||||
|
||||
spa_evl_sources = ['evl-system.c',
|
||||
'evl-plugin.c']
|
||||
|
||||
spa_evl_lib = shared_library('spa-evl',
|
||||
spa_evl_sources,
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
include_directories : [ spa_inc, evl_inc],
|
||||
dependencies : [ pthread_lib, evl_lib],
|
||||
install : true,
|
||||
install_dir : '@0@/spa/support'.format(get_option('libdir')))
|
||||
endif
|
||||
|
||||
spa_dbus_sources = ['dbus.c']
|
||||
|
||||
spa_dbus_lib = shared_library('spa-dbus',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue