Merge pull request #116218 from primeos/chromium-drop-enableVaapi
chromium: Remove the enableVaapi flag/option
This commit is contained in:
commit
fe3c3a2641
|
@ -13,7 +13,6 @@
|
||||||
, gnomeKeyringSupport ? false
|
, gnomeKeyringSupport ? false
|
||||||
, proprietaryCodecs ? true
|
, proprietaryCodecs ? true
|
||||||
, enableWideVine ? false
|
, enableWideVine ? false
|
||||||
, enableVaapi ? false # Disabled by default due to unofficial support
|
|
||||||
, ungoogled ? false # Whether to build chromium or ungoogled-chromium
|
, ungoogled ? false # Whether to build chromium or ungoogled-chromium
|
||||||
, cupsSupport ? true
|
, cupsSupport ? true
|
||||||
, pulseSupport ? config.pulseaudio or stdenv.isLinux
|
, pulseSupport ? config.pulseaudio or stdenv.isLinux
|
||||||
|
@ -167,8 +166,7 @@ in stdenv.mkDerivation {
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
|
||||||
eval makeWrapper "${browserBinary}" "$out/bin/chromium" \
|
eval makeWrapper "${browserBinary}" "$out/bin/chromium" \
|
||||||
--add-flags ${escapeShellArg (escapeShellArg commandLineArgs)} \
|
--add-flags ${escapeShellArg (escapeShellArg commandLineArgs)}
|
||||||
${lib.optionalString enableVaapi "--add-flags --enable-accelerated-video-decode"}
|
|
||||||
|
|
||||||
ed -v -s "$out/bin/chromium" << EOF
|
ed -v -s "$out/bin/chromium" << EOF
|
||||||
2i
|
2i
|
||||||
|
|
Loading…
Reference in New Issue