From 71e9bd8bca40f6079878849ed68f6c7e9a0a2ec1 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 15 Aug 2023 16:59:45 +0200 Subject: [PATCH] libnice: add graphviz-native dependency If building the api-documentation libnice requests dot or the build fails with: | ../libnice-0.1.21/docs/reference/libnice/meson.build:70:0: ERROR: Program 'dot' not found or not executable Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-oe/recipes-support/farsight/libnice_0.1.21.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb index f319b994bd..4a5227f206 100644 --- a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb +++ b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb @@ -12,7 +12,7 @@ SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz \ file://0001-agent-meson-Replace-filename-with-basename.patch" SRC_URI[sha256sum] = "72e73a2acf20f59093e21d5601606e405873503eb35f346fa621de23e99b3b39" -DEPENDS = "glib-2.0 gnutls" +DEPENDS = "glib-2.0 gnutls ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'graphviz-native', '', d)}" PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp" PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0"