package/pipewire: add optional lv2 support

Pipewire supports lv2 via the lilv dependency.
https://github.com/PipeWire/pipewire/blob/0.3.45/meson.build#L451

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2022-02-12 18:40:24 -07:00 committed by Yann E. MORIN
parent d1d289174e
commit 1b38894e34

View File

@ -30,8 +30,7 @@ PIPEWIRE_CONF_OPTS += \
-Dvolume=enabled \ -Dvolume=enabled \
-Dsession-managers=[] \ -Dsession-managers=[] \
-Dlegacy-rtkit=false \ -Dlegacy-rtkit=false \
-Dlibcanberra=disabled \ -Dlibcanberra=disabled
-Dlv2=disabled
ifeq ($(BR2_PACKAGE_DBUS),y) ifeq ($(BR2_PACKAGE_DBUS),y)
PIPEWIRE_CONF_OPTS += -Ddbus=enabled PIPEWIRE_CONF_OPTS += -Ddbus=enabled
@ -130,6 +129,13 @@ else
PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled
endif endif
ifeq ($(BR2_PACKAGE_LILV),y)
PIPEWIRE_CONF_OPTS += -Dlv2=enabled
PIPEWIRE_DEPENDENCIES += lilv
else
PIPEWIRE_CONF_OPTS += -Dlv2=disabled
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
PIPEWIRE_CONF_OPTS += -Dx11=enabled PIPEWIRE_CONF_OPTS += -Dx11=enabled
PIPEWIRE_DEPENDENCIES += xlib_libX11 PIPEWIRE_DEPENDENCIES += xlib_libX11