2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="zstd"
|
2023-01-07 23:34:43 +00:00
|
|
|
PKG_VERSION="1.5.2"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="BSD/GPLv2"
|
|
|
|
PKG_SITE="http://www.zstd.net"
|
|
|
|
PKG_URL="https://github.com/facebook/zstd/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_HOST="ccache:host ninja:host"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="A fast real-time compression algorithm."
|
|
|
|
PKG_TOOLCHAIN="meson"
|
|
|
|
|
|
|
|
configure_package() {
|
|
|
|
PKG_MESON_SCRIPT="${PKG_BUILD}/build/meson/meson.build"
|
|
|
|
}
|
|
|
|
|
|
|
|
PKG_MESON_OPTS_HOST="-Dlegacy_level=0 \
|
|
|
|
-Dbin_programs=false \
|
|
|
|
-Dzlib=disabled \
|
|
|
|
-Dlzma=disabled \
|
2023-01-07 23:34:43 +00:00
|
|
|
-Dlz4=disabled"
|