2019-08-26 04:34:02 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# 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
|
2019-12-18 14:04:59 +01:00
|
|
|
PIPEWIRE_DEPENDENCIES = host-pkgconf alsa-lib dbus udev
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FFMPEG),y)
|
|
|
|
PIPEWIRE_DEPENDENCIES += ffmpeg
|
|
|
|
endif
|
|
|
|
|
2019-12-19 20:28:00 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBVA),y)
|
|
|
|
PIPEWIRE_DEPENDENCIES += libva
|
|
|
|
endif
|
|
|
|
|
2019-12-18 14:04:59 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SBC),y)
|
|
|
|
PIPEWIRE_DEPENDENCIES += sbc
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_SDL2),y)
|
|
|
|
PIPEWIRE_DEPENDENCIES += sdl2
|
|
|
|
endif
|
|
|
|
|
2019-12-19 20:28:01 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
|
|
PIPEWIRE_DEPENDENCIES += xlib_libX11
|
|
|
|
endif
|
|
|
|
|
2019-12-18 14:04:59 +01:00
|
|
|
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
|
2019-08-26 04:34:02 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
|
|
PIPEWIRE_CONF_OPTS += -Dsystemd=true
|
|
|
|
PIPEWIRE_DEPENDENCIES += systemd
|
|
|
|
else
|
|
|
|
PIPEWIRE_CONF_OPTS += -Dsystemd=false
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(meson-package))
|