chromium-browser-stable/chromium-25.0.1364.172-system-libvpx.patch
2013-03-25 01:01:57 +04:00

43 lines
1.5 KiB
Diff

diff -urN chromium-25.0.1364.172.orig/build/linux/system.gyp chromium-25.0.1364.172/build/linux/system.gyp
--- chromium-25.0.1364.172.orig/build/linux/system.gyp 2013-03-24 23:58:51.000000000 +0400
+++ chromium-25.0.1364.172/build/linux/system.gyp 2013-03-25 00:01:06.699630371 +0400
@@ -512,6 +512,26 @@
}]]
},
{
+ 'target_name': 'vpx',
+ '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 -urN chromium-25.0.1364.172.orig/third_party/ffmpeg/ffmpeg.gyp chromium-25.0.1364.172/third_party/ffmpeg/ffmpeg.gyp
--- chromium-25.0.1364.172.orig/third_party/ffmpeg/ffmpeg.gyp 2013-03-24 23:58:07.000000000 +0400
+++ chromium-25.0.1364.172/third_party/ffmpeg/ffmpeg.gyp 2013-03-25 00:01:06.709413295 +0400
@@ -488,6 +488,9 @@
# Required for the logging done in the stubs generator.
'../../base/base.gyp:base',
],
+ 'dependencies': [
+ '../../build/linux/system.gyp:vpx',
+ ],
'direct_dependent_settings': {
'defines': [
'__STDC_CONSTANT_MACROS', # FFmpeg uses INT64_C.