kumquat-buildroot/package/wireplumber/wireplumber.mk
Fabrice Fontaine 3e1de2ef06 package/wireplumber: fix introspection build
introspection needs host-doxygen and host-python-lxml since the addition
of the package in commit c9a3c10417 and
2e5b13f970

../output-1/build/wireplumber-0.4.8/docs/meson.build:14:0: ERROR: python3 is missing modules: lxml

Doxygen is required to build just the bare minimal (not the full
documentation) since
93c2e7d686

Fixes:
 - http://autobuild.buildroot.org/results/24c524d86a3e2e67305f698644be9b15d4562488

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-03-18 23:10:31 +01:00

40 lines
1.1 KiB
Makefile

################################################################################
#
# wireplumber
#
################################################################################
WIREPLUMBER_VERSION = 0.4.8
WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2
WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION)
WIREPLUMBER_LICENSE = MIT
WIREPLUMBER_LICENSE_FILES = LICENSE
WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua
WIREPLUMBER_CONF_OPTS = \
-Ddoc=disabled \
-Dsystem-lua=true \
-Dsystem-lua-version=
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection
WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled
else
WIREPLUMBER_CONF_OPTS += -Dintrospection=disabled
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
WIREPLUMBER_DEPENDENCIES += systemd
WIREPLUMBER_CONF_OPTS += \
-Dsystemd=enabled \
-Dsystemd-system-service=true \
-Dsystemd-user-service=true
else
WIREPLUMBER_CONF_OPTS += \
-Dsystemd=disabled \
-Dsystemd-system-service=false \
-Dsystemd-user-service=false
endif
$(eval $(meson-package))