File chromium-7.0.500.0-system-speex.patch of Package chromium

diff -up chromium-7.0.500.0-20100819svn56724/build/linux/system.gyp.speex chromium-7.0.500.0-20100819svn56724/build/linux/system.gyp
--- chromium-7.0.500.0-20100819svn56724/src/build/linux/system.gyp.speex	2010-08-19 16:23:14.594998783 -0400
+++ chromium-7.0.500.0-20100819svn56724/src/build/linux/system.gyp	2010-08-19 16:23:14.676903548 -0400
@@ -348,6 +348,26 @@
       }]]
     },
     {
+      'target_name': 'speex',
+      'type': 'settings',
+      'conditions': [
+        ['_toolset=="target"', {
+          'direct_dependent_settings': {
+            'cflags': [
+              '<!@(pkg-config --cflags speex)',
+            ],
+          },
+          'link_settings': {
+            'ldflags': [
+              '<!@(pkg-config --libs-only-L --libs-only-other speex)',
+            ],
+            'libraries': [
+              '<!@(pkg-config --libs-only-l speex)',
+            ],
+          },
+      }]]
+    },
+    {
       'target_name': 'gnome-keyring',
       'type': 'settings',
       'conditions': [
diff -up chromium-7.0.500.0-20100819svn56724/chrome/browser/speech/speech_recognizer.cc.speex chromium-7.0.500.0-20100819svn56724/chrome/browser/speech/speech_recognizer.cc
--- chromium-7.0.500.0-20100819svn56724/src/chrome/browser/speech/speech_recognizer.cc.speex	2010-08-19 15:03:08.000000000 -0400
+++ chromium-7.0.500.0-20100819svn56724/src/chrome/browser/speech/speech_recognizer.cc	2010-08-19 16:23:14.676903548 -0400
@@ -10,7 +10,7 @@
 #include "chrome/browser/browser_thread.h"
 #include "chrome/browser/profiles/profile.h"
 #include "chrome/common/net/url_request_context_getter.h"
-#include "third_party/speex/speex.h"
+#include <speex/speex.h>
 
 using media::AudioInputController;
 using std::list;
diff -up chromium-7.0.500.0-20100819svn56724/chrome/chrome_browser.gypi.speex chromium-7.0.500.0-20100819svn56724/chrome/chrome_browser.gypi
--- chromium-7.0.500.0-20100819svn56724/src/chrome/chrome_browser.gypi.speex	2010-08-19 16:23:14.594998783 -0400
+++ chromium-7.0.500.0-20100819svn56724/src/chrome/chrome_browser.gypi	2010-08-19 16:25:27.921293238 -0400
@@ -36,7 +36,7 @@
         '../third_party/libxml/libxml.gyp:libxml',
         '../third_party/npapi/npapi.gyp:npapi',
         '../third_party/hunspell/hunspell.gyp:hunspell',
-        '../third_party/speex/speex.gyp:libspeex',
+        '../build/linux/system.gyp:speex',
         '../ui/ui.gyp:ui_base',
         '../webkit/support/webkit_support.gyp:appcache',
         '../webkit/support/webkit_support.gyp:blob',
openSUSE Build Service is sponsored by