A new user interface for you! Read more...

File chromium-7.0.542.0-system-libvpx.patch of Package chromium-square

diff -up chromium-7.0.542.0/build/linux/system.gyp.system-libvpx chromium-7.0.542.0/build/linux/system.gyp
--- chromium-7.0.542.0/src/build/linux/system.gyp.system-libvpx	2010-10-06 14:01:19.638507000 -0400
+++ chromium-7.0.542.0/src/build/linux/system.gyp	2010-10-06 14:01:19.650507000 -0400
@@ -409,6 +409,26 @@
       }]]
     },
     {
+      'target_name': 'libvpx',
+      'type': 'settings',
+      'conditions': [
+        ['_toolset=="target"', {
+          'direct_dependent_settings': {
+            'cflags': [
+              '-I/usr/include/vpx',
+            ],
+          },
+          'link_settings': {
+            'ldflags': [
+              '',
+            ],
+            'libraries': [
+              '-lvpx',
+            ],
+          },
+      }]]
+    },
+    {
       'target_name': 'gnome_keyring',
       'type': 'settings',
       'conditions': [
diff -up chromium-7.0.542.0/remoting/remoting.gyp.system-libvpx chromium-7.0.542.0/remoting/remoting.gyp
--- chromium-7.0.542.0/src/remoting/remoting.gyp.system-libvpx	2010-10-06 14:01:19.641507000 -0400
+++ chromium-7.0.542.0/src/remoting/remoting.gyp	2010-10-06 14:01:19.654507000 -0400
@@ -165,7 +165,7 @@
         'remoting_base',
         'remoting_host',
         'remoting_jingle_glue',
-        '../third_party/libvpx/libvpx.gyp:libvpx',
+        '../build/linux/system.gyp:libvpx',
         '../third_party/npapi/npapi.gyp:npapi',
       ],
       'sources': [
@@ -303,7 +303,7 @@
       # TODO(hclam): Remove this and depend on libvpx directly once we remove
       # libvpx from FFmpeg.
       'include_dirs': [
-        '../third_party/libvpx/source/libvpx',
+        '/usr/include/vpx',
       ],
       # This target needs a hard dependency because dependent targets
       # depend on chromotocol_proto_lib for headers.
diff -up chromium-7.0.542.0/third_party/ffmpeg/ffmpeg.gyp.system-libvpx chromium-7.0.542.0/third_party/ffmpeg/ffmpeg.gyp
--- chromium-7.0.542.0/src/third_party/ffmpeg/ffmpeg.gyp.system-libvpx	2010-10-06 14:04:09.730507291 -0400
+++ chromium-7.0.542.0/src/third_party/ffmpeg/ffmpeg.gyp	2010-10-06 14:05:14.341510863 -0400
@@ -812,6 +812,9 @@
             '<(output_root)',
             '../..',  # The chromium 'src' directory.
           ],
+          'dependencies': [
+            '../../build/linux/system.gyp:libvpx',
+          ],
           'direct_dependent_settings': {
             'defines': [
               '__STDC_CONSTANT_MACROS',  # FFmpeg uses INT64_C.