Merge pull request #45122 from Thra11/qtwebengine-aarch64

qtwebengine: Use system ffmpeg on aarch64
This commit is contained in:
Thomas Tuegel 2018-08-25 07:20:05 -05:00 committed by GitHub
commit b74dc6f0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@
, systemd
, enableProprietaryCodecs ? true
, gn, darwin, openbsm
, ffmpeg ? null
, lib, stdenv # lib.optional, needsPax
}:
@ -115,7 +116,9 @@ EOF
fi
'';
qmakeFlags = optional enableProprietaryCodecs "-- -proprietary-codecs";
qmakeFlags = if stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64
then [ "--" "-system-ffmpeg" ] ++ optional enableProprietaryCodecs "-proprietary-codecs"
else optional enableProprietaryCodecs "-- -proprietary-codecs";
propagatedBuildInputs = [
# Image formats
@ -131,6 +134,8 @@ EOF
harfbuzz icu
libevent
] ++ optionals stdenv.hostPlatform.isArm [
ffmpeg
] ++ optionals (!stdenv.isDarwin) [
dbus zlib minizip snappy nss protobuf jsoncpp