pkgsrc/mail/thunderbird38/patches/patch-mozilla_dom_media_moz.build
ryoon 3ffd6fec3b Import thunderbird38-38.7.2 as mail/thunderbird38.
Mozilla Thunderbird is a redesign of the Mozilla mail component. The
goal is to produce a cross platform stand alone mail application using
the XUL user interface language. This version uses the gtk2 toolkit.

This package tracks 38 ESR branch.
2016-04-17 18:22:21 +00:00

32 lines
989 B
Text

$NetBSD: patch-mozilla_dom_media_moz.build,v 1.1 2016/04/17 18:22:21 ryoon Exp $
--- mozilla/dom/media/moz.build.orig 2015-06-08 17:49:28.000000000 +0000
+++ mozilla/dom/media/moz.build
@@ -280,6 +280,27 @@ if CONFIG['ANDROID_VERSION'] > '15':
CFLAGS += CONFIG['GSTREAMER_CFLAGS']
CXXFLAGS += CONFIG['GSTREAMER_CFLAGS']
+if CONFIG['MOZ_NATIVE_OGG']:
+ CXXFLAGS += CONFIG['MOZ_OGG_CFLAGS']
+
+if CONFIG['MOZ_NATIVE_THEORA']:
+ CXXFLAGS += CONFIG['MOZ_THEORA_CFLAGS']
+
+if CONFIG['MOZ_NATIVE_VORBIS']:
+ CXXFLAGS += CONFIG['MOZ_VORBIS_CFLAGS']
+
+if CONFIG['MOZ_NATIVE_TREMOR']:
+ CXXFLAGS += CONFIG['MOZ_TREMOR_CFLAGS']
+
+if CONFIG['MOZ_NATIVE_OPUS']:
+ CXXFLAGS += CONFIG['MOZ_OPUS_CFLAGS']
+
+if CONFIG['MOZ_NATIVE_SPEEX']:
+ CXXFLAGS += CONFIG['MOZ_SPEEX_CFLAGS']
+
+if CONFIG['MOZ_NATIVE_SOUNDTOUCH']:
+ CXXFLAGS += CONFIG['MOZ_SOUNDTOUCH_CFLAGS']
+
include('/ipc/chromium/chromium-config.mozbuild')
# Suppress some GCC warnings being treated as errors: