vivaldi-ffmpeg-codecs: 115541 -> 119239; add aarch64-linux

This commit is contained in:
Sarah Clark
2025-04-11 14:06:21 -07:00
parent 4f5034f312
commit 051e4e6df5
@@ -1,20 +1,32 @@
{
squashfsTools,
fetchurl,
lib,
squashfsTools,
stdenv,
}:
# This derivation roughly follows the update-ffmpeg script that ships with the official Vivaldi
# downloads at https://vivaldi.com/download/
stdenv.mkDerivation rec {
pname = "chromium-codecs-ffmpeg-extra";
version = "115541";
src = fetchurl {
url = "https://api.snapcraft.io/api/v1/snaps/download/XXzVIXswXKHqlUATPqGCj2w2l7BxosS8_41.snap";
hash = "sha256-a1peHhku+OaGvPyChvLdh6/7zT+v8OHNwt60QUq7VvU=";
let
sources = {
x86_64-linux = fetchurl {
url = "https://api.snapcraft.io/api/v1/snaps/download/XXzVIXswXKHqlUATPqGCj2w2l7BxosS8_73.snap";
hash = "sha256-YsAYQ/fKlrvu7IbIxLO0oVhWOtZZzUmA00lrU+z/0+s=";
};
aarch64-linux = fetchurl {
url = "https://api.snapcraft.io/api/v1/snaps/download/XXzVIXswXKHqlUATPqGCj2w2l7BxosS8_74.snap";
hash = "sha256-zwCbaFeVmeHQLEp7nmD8VlEjSY9PqSVt6CdW4wPtw9o=";
};
};
in
stdenv.mkDerivation rec {
pname = "chromium-codecs-ffmpeg-extra";
version = "119293";
src = sources."${stdenv.hostPlatform.system}";
buildInputs = [ squashfsTools ];
@@ -27,7 +39,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
description = "Additional support for proprietary codecs for Vivaldi";
description = "Additional support for proprietary codecs for Vivaldi and other chromium based tools";
homepage = "https://ffmpeg.org/";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.lgpl21;
@@ -37,6 +49,9 @@ stdenv.mkDerivation rec {
fptje
sarahec
];
platforms = [ "x86_64-linux" ];
platforms = [
"x86_64-linux"
"aarch64-linux"
];
};
}