Skip to content

Commit

Permalink
Merge pull request #9621 from heitbaum/vfs
Browse files Browse the repository at this point in the history
vfs.libarchive: libarchive to 3.7.7 and update addon (9)
  • Loading branch information
chewitt authored Dec 28, 2024
2 parents 8d27a69 + 18125dc commit 0d78a96
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
11 changes: 6 additions & 5 deletions packages/compress/libarchive/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="libarchive"
PKG_VERSION="3.7.5"
PKG_SHA256="ca74ff8f99dd40ab8a8274424d10a12a7ec3f4428dd35aee9fdda8bdb861b570"
PKG_VERSION="3.7.7"
PKG_SHA256="879acd83c3399c7caaee73fe5f7418e06087ab2aaf40af3e99b9e29beb29faee"
PKG_LICENSE="GPL"
PKG_SITE="https://www.libarchive.org"
PKG_URL="https://www.libarchive.org/downloads/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="cmake:host ninja:host"
PKG_DEPENDS_TARGET="cmake:host gcc:host"
PKG_DEPENDS_TARGET="cmake:host gcc:host bzip2 lz4 lzo openssl pcre2 xz zlib zstd"
PKG_SHORTDESC="A multi-format archive and compression library."

PKG_CMAKE_OPTS_TARGET="-DCMAKE_POSITION_INDEPENDENT_CODE=1 \
Expand All @@ -28,7 +28,7 @@ PKG_CMAKE_OPTS_TARGET="-DCMAKE_POSITION_INDEPENDENT_CODE=1 \
-DENABLE_LIBGCC=ON \
-DENABLE_LIBXML2=OFF \
-DENABLE_LZ4=ON \
-DENABLE_LZMA=OFF \
-DENABLE_LZMA=ON \
-DENABLE_LZO=ON \
-DENABLE_MBEDTLS=OFF \
-DENABLE_NETTLE=OFF \
Expand All @@ -43,4 +43,5 @@ PKG_CMAKE_OPTS_TARGET="-DCMAKE_POSITION_INDEPENDENT_CODE=1 \
-DENABLE_WERROR=0 \
-DENABLE_XATTR=ON \
-DENABLE_ZLIB=ON \
-DENABLE_ZSTD=ON"
-DENABLE_ZSTD=ON \
-DPOSIX_REGEX_LIB=LIBPCRE2POSIX"
6 changes: 5 additions & 1 deletion packages/devel/elfutils/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PKG_LICENSE="GPL"
PKG_SITE="https://sourceware.org/elfutils/"
PKG_URL="https://sourceware.org/elfutils/ftp/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_HOST="autoconf:host automake:host m4:host make:host zlib:host"
PKG_DEPENDS_TARGET="toolchain zlib elfutils:host"
PKG_DEPENDS_TARGET="toolchain zlib elfutils:host libarchive"
PKG_LONGDESC="A collection of utilities to handle ELF objects."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic -cfg-libs -cfg-libs:host"
Expand Down Expand Up @@ -40,6 +40,10 @@ PKG_CONFIGURE_OPTS_TARGET="utrace_cv_cc_biarch=false \
--without-bzlib \
--without-lzma"

pre_configure_target() {
export PKG_CONFIG="${PKG_CONFIG} --static"
}

post_makeinstall_target() {
# don't install progs into sysroot
rm -fr ${SYSROOT_PREFIX}/usr/bin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PKG_NAME="vfs.libarchive"
PKG_VERSION="20.3.0-Nexus"
PKG_SHA256="06be9bfcda3e676e0757ea9602351d67f2bf0aa9aa9e408b14d947772a615e4f"
PKG_REV="8"
PKG_REV="9"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/xbmc/vfs.libarchive"
Expand Down

0 comments on commit 0d78a96

Please sign in to comment.