forked from mirrors/nixpkgs
Merge pull request #140330 from rnhmjoj/qtwebengine
qtwebengine: 5.15.5 -> 5.15.6
This commit is contained in:
commit
381107eb6c
|
@ -45,10 +45,9 @@ let
|
|||
};
|
||||
version = "5.212.0-alpha4";
|
||||
};
|
||||
|
||||
qtwebengine =
|
||||
let
|
||||
branchName = "5.15.5";
|
||||
branchName = "5.15.6";
|
||||
rev = "v${branchName}-lts";
|
||||
in
|
||||
{
|
||||
|
@ -56,24 +55,26 @@ let
|
|||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/qt/qtwebengine.git";
|
||||
sha256 = "12wf30d34sgn82mbz91xybxyn3j1mhvxda452cfkxm232n1f2kjb";
|
||||
sha256 = "17bw9yf04zmr9ck5jkrd435c8b03zpf937vn2nwgsr8p78wkg3kr";
|
||||
inherit rev branchName;
|
||||
fetchSubmodules = true;
|
||||
leaveDotGit = true;
|
||||
name = "qtwebengine-${lib.substring 0 7 rev}.tar.gz";
|
||||
postFetch = ''
|
||||
# remove submodule .git directory
|
||||
rm -rf $out/src/3rdparty/.git
|
||||
rm -rf "$out/src/3rdparty/.git"
|
||||
|
||||
# compress to not exceed the 2GB output limit
|
||||
mv $out source
|
||||
# try to make a deterministic tarball
|
||||
tar -I 'gzip -n' \
|
||||
--sort name \
|
||||
--mtime 1970-01-01 \
|
||||
--sort=name \
|
||||
--mtime=1970-01-01 \
|
||||
--owner=root --group=root \
|
||||
--numeric-owner --mode=go=rX,u+rw,a-s \
|
||||
-cf $out source
|
||||
--transform='s@^@source/@' \
|
||||
-cf temp -C "$out" .
|
||||
rm -r "$out"
|
||||
mv temp "$out"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue