widevine update?
This commit is contained in:
parent
a435fa66d8
commit
dfc6793a92
|
@ -5,14 +5,17 @@
|
|||
python3,
|
||||
# Depends on kernel used, in kb
|
||||
pageSize ? 4,
|
||||
}:
|
||||
}: let
|
||||
lacrosVersion = "128.0.6613.119";
|
||||
widevineVersion = "4.10.2662.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "widevine-aarch64-${toString pageSize}k";
|
||||
version = "4.10.2662.3";
|
||||
|
||||
srcs = fetchurl {
|
||||
url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/chromeos-lacros-arm64-squash-zstd-120.0.6098.0";
|
||||
hash = "sha256-OKV8w5da9oZ1oSGbADVPCIkP9Y0MVLaQ3PXS3ZBLFXY=";
|
||||
url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/chromeos-lacros-arm64-squash-zstd-${lacrosVersion}";
|
||||
hash = "sha256-Q3g2npzSh9imzn36AR8EDWB5LS9MlhRBEqalNCLDxHI=";
|
||||
};
|
||||
|
||||
unpackPhase = ":";
|
||||
|
@ -20,7 +23,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildPhase = ''
|
||||
unsquashfs -q $srcs 'WidevineCdm/*'
|
||||
env TARGET_PAGE_SIZE=${toString (pageSize * 1024)} python3 "${./widevine_fixup.py}" squashfs-root/WidevineCdm/_platform_specific/cros_arm64/libwidevinecdm.so libwidevinecdm.so
|
||||
env TARGET_PAGE_SIZE=${toString (pageSize * 1024)} python3 ${./widevine_fixup.py} squashfs-root/WidevineCdm/_platform_specific/cros_arm64/libwidevinecdm.so libwidevinecdm.so
|
||||
'';
|
||||
|
||||
# TODO: systemwide install
|
||||
|
|
Loading…
Reference in a new issue