libcamera: disable by default

Until it is at least more comon available in distros.
This commit is contained in:
Wim Taymans 2020-06-04 10:41:28 +02:00
parent 39974903df
commit 0b47b47b6c
3 changed files with 9 additions and 6 deletions

View file

@ -95,7 +95,7 @@ option('v4l2',
option('libcamera',
description: 'Enable libcamera spa plugin integration',
type: 'boolean',
value: true)
value: false)
option('videoconvert',
description: 'Enable videoconvert spa plugin integration',
type: 'boolean',

View file

@ -3,10 +3,13 @@ if sdl_dep.found()
include_directories : [spa_inc ],
dependencies : [dl_lib, sdl_dep, pthread_lib],
install : false)
executable('local-libcamera', 'local-libcamera.c',
include_directories : [spa_inc ],
dependencies : [dl_lib, sdl_dep, pthread_lib, libcamera_dep],
install : false)
if get_option('libcamera') and libcamera_dep.found()
executable('local-libcamera', 'local-libcamera.c',
include_directories : [spa_inc ],
dependencies : [dl_lib, sdl_dep, pthread_lib, libcamera_dep],
install : false)
endif
endif
executable('example-control', 'example-control.c',

View file

@ -1716,7 +1716,7 @@ static void do_quit(void *data, int signal_number)
pw_main_loop_quit(impl->loop);
}
#define DEFAULT_ENABLED "alsa-pcm,alsa-seq,v4l2,libcamera,bluez5,metadata,suspend-node,policy-node"
#define DEFAULT_ENABLED "alsa-pcm,alsa-seq,v4l2,bluez5,metadata,suspend-node,policy-node"
#define DEFAULT_DISABLED ""
static const struct {