Skip to content

Commit

Permalink
lz4: Enable 32-bit using clean meson, nuking old static cruft
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Nov 21, 2024
1 parent 7a140aa commit 8c47a7c
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 8 deletions.
Binary file modified l/lz4/manifest.x86_64.bin
Binary file not shown.
33 changes: 30 additions & 3 deletions l/lz4/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,42 @@
"soname(liblz4.so.1(x86_64))"
]
},
"lz4-32bit": {
"depends": [
"lz4",
"soname(libc.so.6(386))"
],
"files": [
"/usr/lib32/liblz4.so.1",
"/usr/lib32/liblz4.so.1.10.0"
],
"name": "lz4-32bit",
"provides": [
"soname(liblz4.so.1(386))",
"soname(liblz4.so.1(x86))"
]
},
"lz4-32bit-devel": {
"depends": [
"lz4-32bit",
"lz4-devel"
],
"files": [
"/usr/lib32/liblz4.so",
"/usr/lib32/pkgconfig/liblz4.pc"
],
"name": "lz4-32bit-devel",
"provides": [
"pkgconfig32(liblz4)"
]
},
"lz4-devel": {
"depends": [
"lz4"
],
"files": [
"/usr/include/lz4.h",
"/usr/include/lz4file.h",
"/usr/include/lz4frame.h",
"/usr/include/lz4frame_static.h",
"/usr/include/lz4hc.h",
"/usr/lib/liblz4.so",
"/usr/lib/pkgconfig/liblz4.pc"
Expand All @@ -48,6 +75,6 @@
}
},
"source-name": "lz4",
"source-release": "2",
"source-release": "3",
"source-version": "1.10.0"
}
16 changes: 11 additions & 5 deletions l/lz4/stone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
name : lz4
version : 1.10.0
release : 2
release : 3
homepage : https://lz4.github.io/lz4
upstreams :
- https://github.com/lz4/lz4/releases/download/v1.10.0/lz4-1.10.0.tar.gz : 537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b
Expand All @@ -15,10 +15,16 @@ description : |
license :
- BSD-2-Clause
- GPL-2.0-or-later
emul32 : true
setup : |
pushd build/meson
%meson -Dprograms=true
build : |
%make
pushd build/meson
%meson_build
install : |
%make_install PREFIX=%(prefix)
rm %(installroot)/%(libdir)/*.a
pushd build/meson
%meson_install
check : |
%make check
pushd build/meson
%meson_test

0 comments on commit 8c47a7c

Please sign in to comment.