mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-25 06:59:57 -05:00
spa: meson.build: only look for libcamera under one name
Commitd06a2e2140added support for finding libcamera under two different names. However, due to breaking changes in libcamera[1], the current codebase only supports the latest version, thus drop support for the old name. [1]: see commit57dae3e2b3
This commit is contained in:
parent
2b110af366
commit
92a259470c
1 changed files with 1 additions and 8 deletions
|
|
@ -58,14 +58,7 @@ if not get_option('spa-plugins').disabled()
|
||||||
vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
|
vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
|
||||||
#summary({'Vulkan': vulkan_headers}, bool_yn: true, section: 'Misc dependencies')
|
#summary({'Vulkan': vulkan_headers}, bool_yn: true, section: 'Misc dependencies')
|
||||||
|
|
||||||
if not get_option('libcamera').disabled()
|
libcamera_dep = dependency('libcamera', required: get_option('libcamera'))
|
||||||
libcamera_dep = dependency('libcamera', required: false)
|
|
||||||
if not libcamera_dep.found()
|
|
||||||
libcamera_dep = dependency('camera', required: get_option('libcamera'))
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
libcamera_dep = dependency('', required: false)
|
|
||||||
endif
|
|
||||||
summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
|
summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Backend')
|
||||||
|
|
||||||
# common dependencies
|
# common dependencies
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue