wireshark: add libsmi portaudio to PACKAGECONFIG
authorRoy.Li <rongqing.li@windriver.com>
Fri, 15 Aug 2014 05:46:29 +0000 (13:46 +0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:41:39 +0000 (08:41 -0800)
(From meta-openembedded rev: e4edce9d5639643cb218806eaed0825f40f449bb)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-networking/recipes-support/wireshark/wireshark_1.12.0.bb

index 13b1f3f..39a24dc 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.wireshark.org"
 SECTION = "network"
 LICENSE = "GPL-2.0"
 
-DEPENDS = "perl-native libcap libpcap pcre expat glib-2.0 libsmi libnl portaudio-v19 sbc"
+DEPENDS = "perl-native libcap libpcap pcre expat glib-2.0 libnl sbc"
 
 inherit autotools pkgconfig
 
@@ -16,6 +16,8 @@ PACKAGECONFIG ??= "gnutls gcrypt"
 PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "${WHICH_GTK}  graphics", "", d)}"
 PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}"
 
+PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi"
+PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19"
 PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+"
 PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3"
 PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark,"