LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File chromium-7.0.542.0-system-libvpx.patch of Package chromium.257 (Project openSUSE:12.1:Update)

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
@@ -430,6 +430,26 @@
       }]]
     },
     {
+      'target_name': 'libvpx',
+      'type': 'none',
+      'conditions': [
+        ['_toolset=="target"', {
+          'direct_dependent_settings': {
+            'cflags': [
+              '-I/usr/include/vpx',
+            ],
+          },
+          'link_settings': {
+            'ldflags': [
+              '',
+            ],
+            'libraries': [
+              '-lvpx',
+            ],
+          },
+      }]]
+    },
+    {
       'target_name': 'gnome_keyring',
       'type': 'none',
       'conditions': [
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.