jer         14/12/17 15:05:16

  Added:                wireshark-1.99.1-sbc.patch
  Log:
  Make media-libs/sbc support explicit.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  net-analyzer/wireshark/files/wireshark-1.99.1-sbc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.99.1-sbc.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/wireshark/files/wireshark-1.99.1-sbc.patch?rev=1.1&content-type=text/plain

Index: wireshark-1.99.1-sbc.patch
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -2731,7 +2731,14 @@
 
 # Check Bluetooth SBC codec for RTP Player
 # git://git.kernel.org/pub/scm/bluetooth/sbc.git
-PKG_CHECK_MODULES(SBC, sbc >= 1.0, [have_sbc=yes], [have_sbc=no])
+AC_ARG_WITH(sbc,
+    AC_HELP_STRING( [--with-sbc],
+                    [add support for playing SBC]),
+       [if test "x$withval" = "xyes"; then
+        PKG_CHECK_MODULES(SBC, sbc >= 1.0, [have_sbc=yes], [have_sbc=no])
+    else
+        have_sbc=no
+    fi])
 if (test "${have_sbc}" = "yes"); then
     AC_DEFINE(HAVE_SBC, 1, [Define to support playing SBC by standalone BlueZ 
SBC library])
     CFLAGS="$CFLAGS $(pkg-config sbc --cflags)"




Reply via email to