From dde40e89c0da24c5e76c0f0f9f41bf78ba25efff Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Mon, 20 Jan 2014 16:27:03 +0100 Subject: 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 Reviewed-by: Jocelyn Turcotte --- src/core/gyp_run.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 --") -- cgit v1.2.3