George Hu pushed to branch main at Arch Linux / Packaging / Packages / wild
Commits:
c3a0a341 by George Hu at 2026-03-03T17:46:41+08:00
Remove vendored zstd
Link against to the system-provided zstd instead of the bundled
copy.
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -12,6 +12,7 @@ pkgbase = wild
makedepends = cargo
depends = gcc-libs
depends = glibc
+ depends = zstd
options = !lto
source =
https://github.com/davidlattimore/wild/archive/0.8.0/wild-0.8.0.tar.gz
source = test-config.toml
=====================================
PKGBUILD
=====================================
@@ -11,6 +11,7 @@ license=('Apache-2.0' 'MIT')
depends=(
'gcc-libs'
'glibc'
+ 'zstd'
)
makedepends=(
'cargo'
@@ -38,12 +39,12 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
- cargo build --frozen --release
+ ZSTD_SYS_USE_PKG_CONFIG=1 cargo build --frozen --release
}
check() {
cd ${pkgname}-${pkgver}
- cargo test --frozen -- --test-threads 1
+ ZSTD_SYS_USE_PKG_CONFIG=1 cargo test --frozen -- --test-threads 1
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/wild/-/commit/c3a0a341d811ed88d3f0ae34488b9752b9d6a159
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/wild/-/commit/c3a0a341d811ed88d3f0ae34488b9752b9d6a159
You're receiving this email because of your account on gitlab.archlinux.org.