Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
chromebrew
Commits
369bd079
Unverified
Commit
369bd079
authored
3 years ago
by
satmandu
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
zstd => 1.5.0 (#5776)
parent
5cdd19bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
28 deletions
+10
-28
packages/zstd.rb
packages/zstd.rb
+10
-28
No files found.
packages/zstd.rb
View file @
369bd079
...
...
@@ -3,44 +3,26 @@ require 'package'
class
Zstd
<
Package
description
'Zstandard - Fast real-time compression algorithm'
homepage
'http://www.zstd.net'
@_ver
=
'1.
4.9
'
@_ver
=
'1.
5.0
'
version
@_ver
license
'BSD or GPL-2'
compatibility
'all'
source_url
"https://github.com/facebook/zstd/archive/v
#{
@_ver
}
.tar.gz"
source_sha256
'
acf714d98e3db7b876e5b540cbf6dee298f60eb3c0723104f6d3f065cd60d6a8
'
source_sha256
'
0d9ade222c64e912d6957b11c923e214e2e010a18f39bec102f572e693ba2867
'
binary_url
({
aarch64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
4.9
_armv7l/zstd-1.
4.9
-chromeos-armv7l.t
ar.
xz'
,
armv7l:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
4.9
_armv7l/zstd-1.
4.9
-chromeos-armv7l.t
ar.
xz'
,
i686:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
4.9
_i686/zstd-1.
4.9
-chromeos-i686.t
ar.
xz'
,
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
4.9
_x86_64/zstd-1.
4.9
-chromeos-x86_64.t
ar.
xz'
aarch64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
5.0
_armv7l/zstd-1.
5.0
-chromeos-armv7l.t
p
xz'
,
armv7l:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
5.0
_armv7l/zstd-1.
5.0
-chromeos-armv7l.t
p
xz'
,
i686:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
5.0
_i686/zstd-1.
5.0
-chromeos-i686.t
p
xz'
,
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/zstd/1.
5.0
_x86_64/zstd-1.
5.0
-chromeos-x86_64.t
p
xz'
})
binary_sha256
({
aarch64:
'
c94ef7aecad9675d4fdcfc444cfd74c1560f6f8090c851bffe2be2a5250fc4f9
'
,
armv7l:
'
c94ef7aecad9675d4fdcfc444cfd74c1560f6f8090c851bffe2be2a5250fc4f9
'
,
i686:
'
d59795e6cc367cfb9120e4a7b60df706cfd1746c5b41485767cf2ff75eddb2cb
'
,
x86_64:
'
055c10b86abdb5268f90c28f73ccb7cc1db155ef7d7e14fba97a977ed3886832
'
aarch64:
'
ee8ce213f9209da69ed272c684cf20d1dcf75e24c1d7bfb11e1091b9484793c2
'
,
armv7l:
'
ee8ce213f9209da69ed272c684cf20d1dcf75e24c1d7bfb11e1091b9484793c2
'
,
i686:
'
a8d8312f83a0cdf627ceb5f9a6099e5036f20fbedd9a6c53c678b50c3d1a34c9
'
,
x86_64:
'
4da82c8d02a0f8b2a2e2591110708df8e36b9451631420de28a8c2d14f579265
'
})
def
self
.
patch
# Patch from https://github.com/facebook/zstd/issues/2519#issuecomment-790092538
@meson_patch
=
<<~
'MESON_PATCH_EOF'
--- a/build/meson/lib/meson.build~ 2021-03-02 22:20:57.000000000 +0000
+++ b/build/meson/lib/meson.build 2021-03-03 21:56:00.058700361 +0000
@@ -22,6 +22,7 @@
join_paths(zstd_rootdir, 'lib/common/threading.c'),
join_paths(zstd_rootdir, 'lib/common/pool.c'),
join_paths(zstd_rootdir, 'lib/common/zstd_common.c'),
+ join_paths(zstd_rootdir, 'lib/common/zstd_trace.c'),
join_paths(zstd_rootdir, 'lib/common/error_private.c'),
join_paths(zstd_rootdir, 'lib/common/xxhash.c'),
join_paths(zstd_rootdir, 'lib/compress/hist.c'),
MESON_PATCH_EOF
IO
.
write
(
'meson.patch'
,
@meson_patch
)
system
'patch -p1 -i meson.patch'
end
def
self
.
build
Dir
.
chdir
'build/meson'
do
system
"meson \
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment