meson: use the same libplacebo plugin names as autotools

This commit is contained in:
Steve Lhomme 2024-11-05 09:36:41 +01:00
parent 1f8fe56b5d
commit 42702abe86

View File

@ -1,7 +1,7 @@
# Libplacebo-based video outputs # Libplacebo-based video outputs
vlc_modules += { vlc_modules += {
'name' : 'libplacebo', 'name' : 'placebo',
'sources' : files('instance.c', 'display.c'), 'sources' : files('instance.c', 'display.c'),
'link_with' : [libplacebo_utils], 'link_with' : [libplacebo_utils],
'dependencies' : [libplacebo_dep], 'dependencies' : [libplacebo_dep],
@ -14,7 +14,7 @@ vulkan_dep = dependency('vulkan',
if vulkan_dep.found() if vulkan_dep.found()
vlc_modules += { vlc_modules += {
'name' : 'libplacebo_vk', 'name' : 'placebo_vk',
'sources' : files('../vulkan/platform.c', 'instance_vulkan.c'), 'sources' : files('../vulkan/platform.c', 'instance_vulkan.c'),
'link_with' : [libplacebo_utils], 'link_with' : [libplacebo_utils],
'dependencies' : [libplacebo_dep], 'dependencies' : [libplacebo_dep],
@ -24,7 +24,7 @@ endif
## OpenGL ## OpenGL
if opengl_dep.found() if opengl_dep.found()
vlc_modules += { vlc_modules += {
'name' : 'libplacebo_gl', 'name' : 'placebo_gl',
'sources' : files('instance_opengl.c'), 'sources' : files('instance_opengl.c'),
'link_with' : [libplacebo_utils], 'link_with' : [libplacebo_utils],
'dependencies' : [libplacebo_dep], 'dependencies' : [libplacebo_dep],
@ -33,7 +33,7 @@ endif
if opengles2_dep.found() if opengles2_dep.found()
vlc_modules += { vlc_modules += {
'name' : 'libplacebo_gles2', 'name' : 'placebo_gles2',
'sources' : files('instance_opengl.c'), 'sources' : files('instance_opengl.c'),
'link_with' : [libplacebo_utils], 'link_with' : [libplacebo_utils],
'c_args' : '-DUSE_OPENGL_ES2', 'c_args' : '-DUSE_OPENGL_ES2',