kumquat-buildroot/package/pipewire/pipewire.mk
Fabrice Fontaine 61cfc867ae package/pipewire: add xlib_libX11 optional dependency
xlib_libX11 is an optional dependeny of spa, see:
https://github.com/PipeWire/pipewire/blob/0.2.7/spa/meson.build

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-21 23:10:27 +01:00

49 lines
1.1 KiB
Makefile

################################################################################
#
# 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))