public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark/files: wireshark-1.99.1-sbc.patch
@ 2014-12-17 15:05 Jeroen Roovers (jer)
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2014-12-17 15:05 UTC (permalink / raw
  To: gentoo-commits

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)"





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-17 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-17 15:05 [gentoo-commits] gentoo-x86 commit in net-analyzer/wireshark/files: wireshark-1.99.1-sbc.patch Jeroen Roovers (jer)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox