mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
package/wireshark: bump to version 3.0.1
- Remove patch (already in version) - Move package to cmake infrastructure - --disables-guides option is not avaiable with cmake - gtk ui is no more available - QT UI now requires: - qt5multimedia and qt5svg at build time - qt5fontconfig, qt5png and udev at runtime - Add host-python3 dependency - Add a hook to build host-lemon - Disable static build (some libraries such as plugins/3.0/codecs/l16mono.so does not support static building) - Disable new sdjournal feature (will be enabled in a follow up patch) Fixes: - http://autobuild.buildroot.org/results/bdbfd72a5da7e02e85159ee62bf56067adbc8931 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
dbdd94e103
commit
7cb7fb8191
@ -1,75 +0,0 @@
|
|||||||
From 020e25b660250c97c8085e64cf85074ccfcdd06b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
||||||
Date: Tue, 5 Mar 2019 20:59:49 +0100
|
|
||||||
Subject: [PATCH] packet-gtp.c: remove unneeded named structures
|
|
||||||
|
|
||||||
In uclibc, _header is already in sigcontext.h:
|
|
||||||
|
|
||||||
packet-gtp.c:2361:16: error: redefinition of 'struct _header'
|
|
||||||
typedef struct _header {
|
|
||||||
^~~~~~~
|
|
||||||
In file included from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/bits/sigcontext.h:30:0,
|
|
||||||
from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/signal.h:311,
|
|
||||||
from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0/glib/gbacktrace.h:36,
|
|
||||||
from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0/glib.h:34,
|
|
||||||
from ../../epan/proto.h:28,
|
|
||||||
from ../../epan/packet.h:14,
|
|
||||||
from packet-gtp.c:43:
|
|
||||||
/home/dawncrow/buildroot-test/scripts/instance-0/output/host/i686-buildroot-linux-uclibc/sysroot/usr/include/asm/sigcontext.h:173:8: note: originally defined here
|
|
||||||
struct _header {
|
|
||||||
|
|
||||||
To fix this issue, transform _header and other named structures (with
|
|
||||||
the exception of gtp_conv_info_t) into unnamed structures
|
|
||||||
|
|
||||||
Fixes:
|
|
||||||
- http://autobuild.buildroot.org/results/c41d42fe3489bc63c42e7ce7a9eccb1b4ca7b9b2
|
|
||||||
|
|
||||||
Change-Id: I78116233c2a8dd7c54723b7cb558254bd5143bd2
|
|
||||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
||||||
Reviewed-on: https://code.wireshark.org/review/32335
|
|
||||||
Petri-Dish: Guy Harris <guy@alum.mit.edu>
|
|
||||||
Tested-by: Petri Dish Buildbot
|
|
||||||
Reviewed-by: Guy Harris <guy@alum.mit.edu>
|
|
||||||
[Retrieved from:
|
|
||||||
https://github.com/wireshark/wireshark/commit/020e25b660250c97c8085e64cf85074ccfcdd06b]
|
|
||||||
---
|
|
||||||
epan/dissectors/packet-gtp.c | 8 ++++----
|
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
|
|
||||||
index 4c40e7aa54..971197e4ae 100644
|
|
||||||
--- a/epan/dissectors/packet-gtp.c
|
|
||||||
+++ b/epan/dissectors/packet-gtp.c
|
|
||||||
@@ -2170,7 +2170,7 @@ GHashTable* session_table;
|
|
||||||
/* Relation between <teid,ip> -> frame */
|
|
||||||
wmem_tree_t* frame_tree;
|
|
||||||
|
|
||||||
-typedef struct gtp_info {
|
|
||||||
+typedef struct {
|
|
||||||
guint32 teid;
|
|
||||||
guint32 frame;
|
|
||||||
} gtp_info_t;
|
|
||||||
@@ -2482,7 +2482,7 @@ static int decode_gtp_node_addr(tvbuff_t * tvb, int offset, packet_info * pinfo,
|
|
||||||
static int decode_gtp_priv_ext(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, session_args_t * args _U_);
|
|
||||||
static int decode_gtp_unknown(tvbuff_t * tvb, int offset, packet_info * pinfo, proto_tree * tree, session_args_t * args _U_);
|
|
||||||
|
|
||||||
-typedef struct _gtp_opt {
|
|
||||||
+typedef struct {
|
|
||||||
int optcode;
|
|
||||||
int (*decode) (tvbuff_t *, int, packet_info *, proto_tree *, session_args_t *);
|
|
||||||
} gtp_opt_t;
|
|
||||||
@@ -2661,12 +2661,12 @@ id_to_str(tvbuff_t *tvb, gint offset)
|
|
||||||
/* Next definitions and function check_field_presence checks if given field
|
|
||||||
* in GTP packet is compliant with ETSI
|
|
||||||
*/
|
|
||||||
-typedef struct _header {
|
|
||||||
+typedef struct {
|
|
||||||
guint8 code;
|
|
||||||
guint8 presence;
|
|
||||||
} ext_header;
|
|
||||||
|
|
||||||
-typedef struct _message {
|
|
||||||
+typedef struct {
|
|
||||||
guint8 code;
|
|
||||||
ext_header fields[32];
|
|
||||||
} _gtp_mess_items;
|
|
@ -4,6 +4,7 @@ config BR2_PACKAGE_WIRESHARK
|
|||||||
depends on BR2_USE_MMU # fork(), glib2
|
depends on BR2_USE_MMU # fork(), glib2
|
||||||
depends on BR2_USE_WCHAR # glib2
|
depends on BR2_USE_WCHAR # glib2
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
select BR2_PACKAGE_LIBPCAP
|
select BR2_PACKAGE_LIBPCAP
|
||||||
select BR2_PACKAGE_LIBGCRYPT
|
select BR2_PACKAGE_LIBGCRYPT
|
||||||
select BR2_PACKAGE_LIBGLIB2
|
select BR2_PACKAGE_LIBGLIB2
|
||||||
@ -14,22 +15,32 @@ config BR2_PACKAGE_WIRESHARK
|
|||||||
|
|
||||||
if BR2_PACKAGE_WIRESHARK
|
if BR2_PACKAGE_WIRESHARK
|
||||||
|
|
||||||
config BR2_PACKAGE_WIRESHARK_QT
|
|
||||||
bool
|
|
||||||
default y
|
|
||||||
depends on BR2_PACKAGE_QT5BASE_WIDGETS
|
|
||||||
depends on BR2_PACKAGE_QT5TOOLS
|
|
||||||
select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
|
|
||||||
|
|
||||||
config BR2_PACKAGE_WIRESHARK_GUI
|
config BR2_PACKAGE_WIRESHARK_GUI
|
||||||
bool
|
bool "Qt5 GUI"
|
||||||
default y if BR2_PACKAGE_LIBGTK2
|
default y
|
||||||
default y if BR2_PACKAGE_LIBGTK3
|
depends on BR2_INSTALL_LIBSTDCPP # qt5
|
||||||
default y if BR2_PACKAGE_WIRESHARK_QT
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # qt5
|
||||||
|
depends on BR2_PACKAGE_HAS_UDEV # qt5 input
|
||||||
|
select BR2_PACKAGE_QT5
|
||||||
|
select BR2_PACKAGE_QT5BASE
|
||||||
|
select BR2_PACKAGE_QT5BASE_FONTCONFIG # runtime
|
||||||
|
select BR2_PACKAGE_QT5BASE_PNG # runtime
|
||||||
|
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||||
|
select BR2_PACKAGE_QT5MULTIMEDIA
|
||||||
|
select BR2_PACKAGE_QT5SVG
|
||||||
|
select BR2_PACKAGE_QT5TOOLS
|
||||||
|
select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
|
||||||
|
help
|
||||||
|
Enable Qt5 GUI
|
||||||
|
|
||||||
|
comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL"
|
||||||
|
depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP || \
|
||||||
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||||
|
|
||||||
endif # BR2_PACKAGE_WIRESHARK
|
endif # BR2_PACKAGE_WIRESHARK
|
||||||
|
|
||||||
comment "wireshark needs a toolchain w/ wchar, threads"
|
comment "wireshark needs a toolchain w/ wchar, threads, dynamic library"
|
||||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||||
|
BR2_STATIC_LIBS
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# From: https://www.wireshark.org/download/src/all-versions/SIGNATURES-2.6.7.txt
|
# From: https://www.wireshark.org/download/src/all-versions/SIGNATURES-3.0.1.txt
|
||||||
sha256 747b3e7a37414942959f76f198be49dcbcca936bda538c4408942ce71bfd2b71 wireshark-2.6.7.tar.xz
|
sha256 86864c3d0f6c2311992a98d8ea7dfd429097fe62dae2e5516e1a2f6bef2ac08c wireshark-3.0.1.tar.xz
|
||||||
# Locally calculated
|
# Locally calculated
|
||||||
sha256 7cdbed2b697efaa45576a033f1ac0e73cd045644a91c79bbf41d4a7d81dac7bf COPYING
|
sha256 7cdbed2b697efaa45576a033f1ac0e73cd045644a91c79bbf41d4a7d81dac7bf COPYING
|
||||||
|
@ -4,152 +4,141 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
WIRESHARK_VERSION = 2.6.7
|
WIRESHARK_VERSION = 3.0.1
|
||||||
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz
|
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz
|
||||||
WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions
|
WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions
|
||||||
WIRESHARK_LICENSE = wireshark license
|
WIRESHARK_LICENSE = wireshark license
|
||||||
WIRESHARK_LICENSE_FILES = COPYING
|
WIRESHARK_LICENSE_FILES = COPYING
|
||||||
WIRESHARK_DEPENDENCIES = host-pkgconf libgcrypt libpcap libglib2
|
WIRESHARK_DEPENDENCIES = host-pkgconf host-python3 libgcrypt libpcap libglib2
|
||||||
WIRESHARK_CONF_ENV = \
|
|
||||||
LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
|
WIRESHARK_MAKE_ENV = \
|
||||||
PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
|
$(TARGET_MAKE_ENV) \
|
||||||
|
PATH="$(@D)/bin:$(BR_PATH)"
|
||||||
|
|
||||||
WIRESHARK_CONF_OPTS = \
|
WIRESHARK_CONF_OPTS = \
|
||||||
--disable-guides \
|
-DENABLE_PCAP=ON \
|
||||||
--enable-static=no \
|
-DENABLE_SMI=OFF \
|
||||||
--with-libsmi=no \
|
-DENABLE_STATIC=OFF \
|
||||||
--with-pcap=yes
|
-DBUILD_sdjournal=OFF
|
||||||
|
|
||||||
# wireshark GUI options
|
# wireshark needs the host version of lemon during compilation.
|
||||||
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
# This binrary is provided by sqlite-src (which is different from
|
||||||
WIRESHARK_CONF_OPTS += --with-gtk=3
|
# sqlite-autotools that is currently packaged in buildroot) moreover wireshark
|
||||||
WIRESHARK_DEPENDENCIES += libgtk3
|
# adds several patches.
|
||||||
else ifeq ($(BR2_PACKAGE_LIBGTK2),y)
|
# So, instead of creating a separate host package and installing lemon to
|
||||||
WIRESHARK_CONF_OPTS += --with-gtk=2
|
# $(HOST_DIR), this binary is compiled on-the-fly
|
||||||
WIRESHARK_DEPENDENCIES += libgtk2
|
define WIRESHARK_BUILD_LEMON_TOOL
|
||||||
|
cd $(@D); \
|
||||||
|
mkdir -p $(@D)/bin; \
|
||||||
|
$(HOSTCC) $(HOST_CFLAGS) -o $(@D)/bin/lemon tools/lemon/lemon.c
|
||||||
|
endef
|
||||||
|
|
||||||
|
WIRESHARK_PRE_BUILD_HOOKS += WIRESHARK_BUILD_LEMON_TOOL
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_WIRESHARK_GUI),y)
|
||||||
|
WIRESHARK_CONF_OPTS += -DBUILD_wireshark=ON
|
||||||
|
WIRESHARK_DEPENDENCIES += qt5base qt5multimedia qt5svg qt5tools
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --with-gtk=no
|
WIRESHARK_CONF_OPTS += -DBUILD_wireshark=OFF
|
||||||
endif
|
|
||||||
|
|
||||||
# Qt4 needs accessibility, we don't support it
|
|
||||||
ifeq ($(BR2_PACKAGE_WIRESHARK_QT),y)
|
|
||||||
WIRESHARK_CONF_OPTS += --with-qt=5
|
|
||||||
WIRESHARK_DEPENDENCIES += qt5base qt5tools
|
|
||||||
WIRESHARK_CONF_ENV += ac_cv_path_QTCHOOSER=""
|
|
||||||
# Seems it expects wrappers and passes a -qt=X parameter for version
|
|
||||||
WIRESHARK_MAKE_OPTS += \
|
|
||||||
MOC="$(HOST_DIR)/bin/moc" \
|
|
||||||
RCC="$(HOST_DIR)/bin/rcc" \
|
|
||||||
UIC="$(HOST_DIR)/bin/uic"
|
|
||||||
else
|
|
||||||
WIRESHARK_CONF_OPTS += --with-qt=no
|
|
||||||
endif
|
|
||||||
|
|
||||||
# No GUI at all
|
|
||||||
ifeq ($(BR2_PACKAGE_WIRESHARK_GUI),)
|
|
||||||
WIRESHARK_CONF_OPTS += --disable-wireshark
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_BCG729),y)
|
ifeq ($(BR2_PACKAGE_BCG729),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_BCG729=ON
|
||||||
WIRESHARK_DEPENDENCIES += bcg729
|
WIRESHARK_DEPENDENCIES += bcg729
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-bcg729
|
WIRESHARK_CONF_OPTS += -DENABLE_BCG729=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-c-ares=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_CARES=ON
|
||||||
WIRESHARK_DEPENDENCIES += c-ares
|
WIRESHARK_DEPENDENCIES += c-ares
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-c-ares
|
WIRESHARK_CONF_OPTS += -DENABLE_CARES=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-gnutls=yes
|
WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=ON
|
||||||
WIRESHARK_DEPENDENCIES += gnutls
|
WIRESHARK_DEPENDENCIES += gnutls
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --with-gnutls=no
|
WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBKRB5),y)
|
ifeq ($(BR2_PACKAGE_LIBKRB5),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-krb5=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=ON
|
||||||
WIRESHARK_DEPENDENCIES += libkrb5
|
WIRESHARK_DEPENDENCIES += libkrb5
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-krb5
|
WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-maxminddb=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DBUILD_mmdbresolve=ON
|
||||||
WIRESHARK_DEPENDENCIES += libmaxminddb
|
WIRESHARK_DEPENDENCIES += libmaxminddb
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-maxminddb
|
WIRESHARK_CONF_OPTS += -DBUILD_mmdbresolve=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-libnl
|
WIRESHARK_CONF_OPTS += -DENABLE_NETLINK=ON
|
||||||
WIRESHARK_DEPENDENCIES += libnl
|
WIRESHARK_DEPENDENCIES += libnl
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-libnl
|
WIRESHARK_CONF_OPTS += -DENABLE_NETLINK=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBSSH),y)
|
ifeq ($(BR2_PACKAGE_LIBSSH),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-libssh=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_LIBSSH=ON
|
||||||
WIRESHARK_DEPENDENCIES += libssh
|
WIRESHARK_DEPENDENCIES += libssh
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-libssh
|
WIRESHARK_CONF_OPTS += -DENABLE_LIBSSH=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-libxml2
|
WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=ON
|
||||||
WIRESHARK_DEPENDENCIES += libxml2
|
WIRESHARK_DEPENDENCIES += libxml2
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-libxml2
|
WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# no support for lua53 yet
|
# no support for lua53 yet
|
||||||
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-lua
|
WIRESHARK_CONF_OPTS += -DENABLE_LUA=ON
|
||||||
WIRESHARK_DEPENDENCIES += lua
|
WIRESHARK_DEPENDENCIES += lua
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-lua
|
WIRESHARK_CONF_OPTS += -DENABLE_LUA=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LZ4),y)
|
ifeq ($(BR2_PACKAGE_LZ4),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-lz4=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_LZ4=ON
|
||||||
WIRESHARK_DEPENDENCIES += lz4
|
WIRESHARK_DEPENDENCIES += lz4
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-lz4
|
WIRESHARK_CONF_OPTS += -DENABLE_LZ4=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_NGHTTP2),y)
|
ifeq ($(BR2_PACKAGE_NGHTTP2),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-nghttp2=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_NGHTTP2=ON
|
||||||
WIRESHARK_DEPENDENCIES += nghttp2
|
WIRESHARK_DEPENDENCIES += nghttp2
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-nghttp2
|
WIRESHARK_CONF_OPTS += -DENABLE_NGHTTP2=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SBC),y)
|
ifeq ($(BR2_PACKAGE_SBC),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-sbc=yes
|
WIRESHARK_CONF_OPTS += -DENABLE_SBC=ON
|
||||||
WIRESHARK_DEPENDENCIES += sbc
|
WIRESHARK_DEPENDENCIES += sbc
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --with-sbc=no
|
WIRESHARK_CONF_OPTS += -DENABLE_SBC=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-snappy=$(STAGING_DIR)/usr
|
WIRESHARK_CONF_OPTS += -DENABLE_SNAPPY=ON
|
||||||
WIRESHARK_DEPENDENCIES += snappy
|
WIRESHARK_DEPENDENCIES += snappy
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
|
||||||
WIRESHARK_CONF_ENV += LIBS=-lstdc++
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-snappy
|
WIRESHARK_CONF_OPTS += -DENABLE_SNAPPY=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SPANDSP),y)
|
ifeq ($(BR2_PACKAGE_SPANDSP),y)
|
||||||
WIRESHARK_CONF_OPTS += --with-spandsp
|
WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=ON
|
||||||
WIRESHARK_DEPENDENCIES += spandsp
|
WIRESHARK_DEPENDENCIES += spandsp
|
||||||
else
|
else
|
||||||
WIRESHARK_CONF_OPTS += --without-spandsp
|
WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define WIRESHARK_REMOVE_DOCS
|
define WIRESHARK_REMOVE_DOCS
|
||||||
@ -159,4 +148,4 @@ endef
|
|||||||
|
|
||||||
WIRESHARK_POST_INSTALL_TARGET_HOOKS += WIRESHARK_REMOVE_DOCS
|
WIRESHARK_POST_INSTALL_TARGET_HOOKS += WIRESHARK_REMOVE_DOCS
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(cmake-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user