a52e8efd8d
- switch chromium to use clang/llvm instead of gcc - switch back to the internal libvpx because it's an unreleased version at this point - re-enable SSE2 support
65 lines
2.1 KiB
Plaintext
65 lines
2.1 KiB
Plaintext
$OpenBSD: patch-media_media_gyp,v 1.19 2013/04/03 08:19:10 robert Exp $
|
|
--- media/media.gyp.orig.port Fri Mar 22 02:12:58 2013
|
|
+++ media/media.gyp Tue Apr 2 21:05:17 2013
|
|
@@ -7,6 +7,8 @@
|
|
'chromium_code': 1,
|
|
# Override to dynamically link the PulseAudio library.
|
|
'use_pulseaudio%': 0,
|
|
+ # Override to dynamically link the sndio library.
|
|
+ 'use_sndioaudio%': 0,
|
|
# Override to dynamically link the cras (ChromeOS audio) library.
|
|
'use_cras%': 0,
|
|
'conditions': [
|
|
@@ -139,6 +141,8 @@
|
|
'audio/openbsd/audio_manager_openbsd.h',
|
|
'audio/pulse/pulse_output.cc',
|
|
'audio/pulse/pulse_output.h',
|
|
+ 'audio/sndio/sndio_output.cc',
|
|
+ 'audio/sndio/sndio_output.h',
|
|
'audio/sample_rates.cc',
|
|
'audio/sample_rates.h',
|
|
'audio/scoped_loop_observer.cc',
|
|
@@ -474,6 +478,12 @@
|
|
'filters/vpx_video_decoder.h',
|
|
],
|
|
}],
|
|
+ ['use_system_libvpx == 1', {
|
|
+ 'sources!': [
|
|
+ 'filters/vpx_video_decoder.cc',
|
|
+ 'filters/vpx_video_decoder.h',
|
|
+ ],
|
|
+ }],
|
|
['OS == "ios"', {
|
|
'includes': [
|
|
# For shared_memory_support_sources variable.
|
|
@@ -550,6 +560,7 @@
|
|
}],
|
|
['OS=="openbsd"', {
|
|
'sources/': [ ['exclude', '/alsa_' ],
|
|
+ ['exclude', '/cras_' ],
|
|
['exclude', '/audio_manager_linux' ] ],
|
|
'link_settings': {
|
|
'libraries': [
|
|
@@ -621,6 +632,21 @@
|
|
'sources!': [
|
|
'audio/pulse/pulse_output.cc',
|
|
'audio/pulse/pulse_output.h',
|
|
+ ],
|
|
+ }],
|
|
+ ['use_sndio == 1', {
|
|
+ 'link_settings': {
|
|
+ 'libraries': [
|
|
+ '-lsndio',
|
|
+ ],
|
|
+ },
|
|
+ 'defines': [
|
|
+ 'USE_SNDIO',
|
|
+ ],
|
|
+ }, { # else: use_sndio == 0
|
|
+ 'sources!': [
|
|
+ 'audio/sndio/sndio_output.cc',
|
|
+ 'audio/sndio/sndio_output.h',
|
|
],
|
|
}],
|
|
],
|