ebc9069030
Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. This package provides Firefox 68 ESR.
34 lines
919 B
Text
34 lines
919 B
Text
$NetBSD: patch-media_libcubeb_src_moz.build,v 1.1 2019/09/21 07:31:44 ryoon Exp $
|
|
|
|
* Add OSS audio support
|
|
* Add Sun audio support
|
|
|
|
--- media/libcubeb/src/moz.build.orig 2019-05-29 15:39:06.000000000 +0000
|
|
+++ media/libcubeb/src/moz.build
|
|
@@ -23,6 +23,18 @@ if CONFIG['MOZ_ALSA']:
|
|
]
|
|
DEFINES['USE_ALSA'] = True
|
|
|
|
+if CONFIG['MOZ_OSS']:
|
|
+ SOURCES += [
|
|
+ 'cubeb_oss.c',
|
|
+ ]
|
|
+ DEFINES['USE_OSS'] = True
|
|
+
|
|
+if CONFIG['MOZ_SUNAUDIO']:
|
|
+ SOURCES += [
|
|
+ 'cubeb_sun.c',
|
|
+ ]
|
|
+ DEFINES['USE_SUN'] = True
|
|
+
|
|
if CONFIG['MOZ_PULSEAUDIO'] or CONFIG['MOZ_JACK']:
|
|
SOURCES += [
|
|
'cubeb_resampler.cpp',
|
|
@@ -89,6 +101,7 @@ FINAL_LIBRARY = 'gkmedias'
|
|
|
|
CFLAGS += CONFIG['MOZ_ALSA_CFLAGS']
|
|
CFLAGS += CONFIG['MOZ_JACK_CFLAGS']
|
|
+CFLAGS += CONFIG['MOZ_OSS_CFLAGS']
|
|
CFLAGS += CONFIG['MOZ_PULSEAUDIO_CFLAGS']
|
|
|
|
# We allow warnings for third-party code that can be updated from upstream.
|