diff options
author | Pierre Rossi <pierre.rossi@digia.com> | 2014-01-20 16:27:03 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-31 18:36:46 +0200 |
commit | dde40e89c0da24c5e76c0f0f9f41bf78ba25efff (patch) | |
tree | 6124d7466ee4f19dafba061d1659aa640cffc361 /src/core/gyp_run.pro | |
parent | 3d6d6594b0dd2a8860b8fddd5a58f86c4ebd255c (diff) |
Easily enable proprietary codecs
While we can't ship this by default in our binary packages in the future,
it would be nice for users who can afford it to easily build with support
for h264 among others.
And for our private use, that means we can now watch videos from Vimeo.
This simply requires passing WEBENGINE_CONFIG+=proprietary_codecs to qmake
when building.
Change-Id: Ib2274a7cfd053aaa3d38ac18e360310691e11534
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/gyp_run.pro')
-rw-r--r-- | src/core/gyp_run.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro index fb1c006de..515febeb8 100644 --- a/src/core/gyp_run.pro +++ b/src/core/gyp_run.pro @@ -72,6 +72,8 @@ cross_compile { GYP_ARGS += "-D CXX=\"$$which($$QMAKE_CXX)\"" } +contains(WEBENGINE_CONFIG, proprietary_codecs): GYP_ARGS += "-Dproprietary_codecs=1 -Dffmpeg_branding=Chrome -Duse_system_ffmpeg=0" + !build_pass { message("Running gyp_qtwebengine \"$$OUT_PWD\" $${GYP_ARGS}...") !system("python $$QTWEBENGINE_ROOT/tools/buildscripts/gyp_qtwebengine \"$$OUT_PWD\" $${GYP_ARGS}"): error("-- running gyp_qtwebengine failed --") |