package/wireshark: add optional spandsp dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit ee772dad7b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2019-03-10 12:31:53 +01:00 committed by Peter Korsgaard
parent a0134c3606
commit 5154f90009

View File

@ -145,6 +145,13 @@ else
WIRESHARK_CONF_OPTS += --without-snappy
endif
ifeq ($(BR2_PACKAGE_SPANDSP),y)
WIRESHARK_CONF_OPTS += --with-spandsp
WIRESHARK_DEPENDENCIES += spandsp
else
WIRESHARK_CONF_OPTS += --without-spandsp
endif
define WIRESHARK_REMOVE_DOCS
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
-o -name '*.html' -print0 | xargs -0 rm -f