package/wireshark: add optional spandsp dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-03-10 12:31:53 +01:00 committed by Thomas Petazzoni
parent 428a5029c7
commit ee772dad7b

View File

@ -145,6 +145,13 @@ else
WIRESHARK_CONF_OPTS += --without-snappy WIRESHARK_CONF_OPTS += --without-snappy
endif 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 define WIRESHARK_REMOVE_DOCS
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \ find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
-o -name '*.html' -print0 | xargs -0 rm -f -o -name '*.html' -print0 | xargs -0 rm -f