f9e1049018
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.
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
$NetBSD: patch-config_external_moz.build,v 1.1 2014/11/03 12:18:32 ryoon Exp $
|
|
|
|
--- config/external/moz.build.orig 2014-05-29 23:30:30.000000000 +0000
|
|
+++ config/external/moz.build
|
|
@@ -15,13 +15,19 @@ if CONFIG['MOZ_UPDATER']:
|
|
if not CONFIG['MOZ_NATIVE_BZ2']:
|
|
external_dirs += ['modules/libbz2']
|
|
|
|
-if CONFIG['MOZ_VORBIS']:
|
|
+if not CONFIG['MOZ_NATIVE_OGG']:
|
|
+ external_dirs += ['media/libogg']
|
|
+
|
|
+if not CONFIG['MOZ_NATIVE_THEORA']:
|
|
+ external_dirs += ['media/libtheora']
|
|
+
|
|
+if CONFIG['MOZ_VORBIS'] and not CONFIG['MOZ_NATIVE_VORBIS']:
|
|
external_dirs += ['media/libvorbis']
|
|
|
|
-if CONFIG['MOZ_TREMOR']:
|
|
+if CONFIG['MOZ_TREMOR'] and not CONFIG['MOZ_NATIVE_TREMOR']:
|
|
external_dirs += ['media/libtremor']
|
|
|
|
-if CONFIG['MOZ_OPUS']:
|
|
+if CONFIG['MOZ_OPUS'] and not CONFIG['MOZ_NATIVE_OPUS']:
|
|
external_dirs += ['media/libopus']
|
|
|
|
if CONFIG['MOZ_WEBM']:
|
|
@@ -36,13 +42,15 @@ if CONFIG['MOZ_VPX'] and not CONFIG['MOZ
|
|
if not CONFIG['MOZ_NATIVE_PNG']:
|
|
external_dirs += ['media/libpng']
|
|
|
|
+if not CONFIG['MOZ_NATIVE_SPEEX']:
|
|
+ external_dirs += ['media/libspeex_resampler']
|
|
+
|
|
+if not CONFIG['MOZ_NATIVE_SOUNDTOUCH']:
|
|
+ external_dirs += ['media/libsoundtouch']
|
|
+
|
|
external_dirs += [
|
|
'media/kiss_fft',
|
|
'media/libcubeb',
|
|
- 'media/libogg',
|
|
- 'media/libtheora',
|
|
- 'media/libspeex_resampler',
|
|
- 'media/libsoundtouch',
|
|
]
|
|
|
|
PARALLEL_DIRS += ['../../' + i for i in external_dirs]
|