Package Details: mingw-w64-zstd 1.5.6-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-zstd.git (read-only, click to copy)
Package Base: mingw-w64-zstd
Description: Zstandard - Fast real-time compression algorithm (mingw-w64)
Upstream URL: https://facebook.github.io/zstd/
Licenses: BSD-3-Clause OR GPL-2.0-or-later
Submitter: xantares
Maintainer: g3tchoo (HurricanePootis)
Last Packager: HurricanePootis
Votes: 4
Popularity: 0.56
First Submitted: 2018-12-26 15:15 (UTC)
Last Updated: 2024-06-23 05:45 (UTC)

Latest Comments

maksverver commented on 2024-09-03 01:00 (UTC)

For the love of god, please include the static version of the library! It's only 1 MiB on a 5 MiB package and so useful for static linking.

For reference, the patch is trvial:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,7 +30,7 @@ build() {
       -DCMAKE_INSTALL_PREFIX=/usr/${_arch} \
       -DCMAKE_INSTALL_LIBDIR=lib \
       -DZSTD_BUILD_CONTRIB=OFF \
-      -DZSTD_BUILD_STATIC=OFF \
+      -DZSTD_BUILD_STATIC=ON \
       -DZSTD_BUILD_TESTS=OFF \
       -DZSTD_PROGRAMS_LINK_SHARED=OFF \
       -DZSTD_BUILD_PROGRAMS=OFF

Martchus commented on 2024-06-23 19:33 (UTC)

Yes, the arch is wrong. I also agree that for a small library like this one it makes most sense to keep the static libraries within the same package.

If one wants to use my Qt packaging, please use my version of the zstd package instead.

patlefort commented on 2024-06-11 20:01 (UTC)

The architecture should be any, as per mingw packaging guidelines.

Vaporeon commented on 2023-04-05 14:19 (UTC)

Please re-add the static library, you broke my build environment. mingw-w64-zstd-static does not provide what this package use to provide, either. It has been somewhat standard that AUR mingw-w64 packages provide both a static and dynamic library.

Vaporeon commented on 2023-02-10 14:33 (UTC)

Seems changing -DZSTD_BUILD_STATIC=OFF to ON is enough, it does not need the workaround like other packages.

Vaporeon commented on 2023-02-10 14:14 (UTC)

Hi, your update has removed the static library. Please see other cmake mingw-w64 packages on how to include this.

Flesh commented on 2022-07-13 18:09 (UTC)

Using the information from patlefort we have:

source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/facebook/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")

patlefort commented on 2022-07-13 06:22 (UTC)

Source URL is invalid: 404 error. I think the correct URL is https://github.com/facebook/zstd/releases/download/v1.5.2/zstd-1.5.2.tar.gz