summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-08-13 11:36:04 +0000
committer Eric Hameleers <alien@slackware.com>2015-08-13 11:36:04 +0000
commit033431c708798e6b4d122105fabeed6f6b8f5ada (patch)
tree79d25437967f2895788b953fb79ee18c049aab24 /chromium
parente10843be6be342d17611d6d6e2559b0f70832687 (diff)
downloadasb-033431c708798e6b4d122105fabeed6f6b8f5ada.tar.gz
asb-033431c708798e6b4d122105fabeed6f6b8f5ada.tar.xz
chromium: switch back to a shared library for ffmpeg
Diffstat (limited to 'chromium')
-rwxr-xr-xchromium/build/chromium.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild
index 243780d4..5ccc6751 100755
--- a/chromium/build/chromium.SlackBuild
+++ b/chromium/build/chromium.SlackBuild
@@ -208,6 +208,10 @@ else
BINTREE=""
fi
+# By default the ffmpeg library is built statically into the chromium binary.
+# You can also build a shared library libffmpeg.so (formerly libffmpegsumo.so):
+USE_FFMPEG=${USE_FFMPEG:-shared} # other option is "static"
+
# You can build without NaCl (native client) if you set USE_NACL to "0",
# but you'll lose some Chrome functionality like using in-browser applications:
USE_NACL=${USE_NACL:-1}
@@ -482,6 +486,7 @@ _chromium_conf=(
-Denable_webrtc=1
-Denable_widevine=${USE_CDM}
-Dffmpeg_branding=Chrome
+ -Dffmpeg_component=${USE_FFMPEG}_library
-Dgoogle_api_key=$_google_api_key
-Dgoogle_default_client_id=$_google_default_client_id
-Dgoogle_default_client_secret=$_google_default_client_secret