blob: df159c5ef4599b08bf31a968ee251e906dd56c9e [file] [log] [blame]
################################################################################
#
# pipewire
#
################################################################################
PIPEWIRE_VERSION = 0.2.7
PIPEWIRE_SITE = $(call github,PipeWire,pipewire,$(PIPEWIRE_VERSION))
PIPEWIRE_LICENSE = LGPL-2.1+
PIPEWIRE_LICENSE_FILES = LICENSE LGPL
PIPEWIRE_INSTALL_STAGING = YES
PIPEWIRE_DEPENDENCIES = host-pkgconf alsa-lib dbus udev
ifeq ($(BR2_PACKAGE_FFMPEG),y)
PIPEWIRE_DEPENDENCIES += ffmpeg
endif
ifeq ($(BR2_PACKAGE_LIBVA),y)
PIPEWIRE_DEPENDENCIES += libva
endif
ifeq ($(BR2_PACKAGE_SBC),y)
PIPEWIRE_DEPENDENCIES += sbc
endif
ifeq ($(BR2_PACKAGE_SDL2),y)
PIPEWIRE_DEPENDENCIES += sdl2
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
PIPEWIRE_DEPENDENCIES += xlib_libX11
endif
ifeq ($(BR2_PACKAGE_PIPEWIRE_GSTREAMER),y)
PIPEWIRE_CONF_OPTS += -Dgstreamer=enabled
PIPEWIRE_DEPENDENCIES += libglib2 gstreamer1 gst1-plugins-base
else
PIPEWIRE_CONF_OPTS += -Dgstreamer=disabled
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
PIPEWIRE_CONF_OPTS += -Dsystemd=true
PIPEWIRE_DEPENDENCIES += systemd
else
PIPEWIRE_CONF_OPTS += -Dsystemd=false
endif
$(eval $(meson-package))