Merge pull request #5208 from SupervisedThinking/libsndfile

libsndfile: update to 1.0.31
This commit is contained in:
CvH 2021-08-11 13:11:26 +02:00 committed by GitHub
commit 8c5d3a9831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,28 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libsndfile" PKG_NAME="libsndfile"
PKG_VERSION="1.0.28" PKG_VERSION="1.0.31"
PKG_SHA256="1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9" PKG_SHA256="8cdee0acb06bb0a3c1a6ca524575643df8b1f3a55a0893b4dd9f829d08263785"
PKG_LICENSE="LGPL" PKG_LICENSE="LGPL-2.1-or-later"
PKG_SITE="http://www.mega-nerd.com/libsndfile/" PKG_SITE="https://libsndfile.github.io/libsndfile/"
PKG_URL="http://www.mega-nerd.com/${PKG_NAME}/files/${PKG_NAME}-${PKG_VERSION}.tar.gz" PKG_URL="https://github.com/libsndfile/libsndfile/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain alsa-lib" PKG_DEPENDS_TARGET="toolchain alsa-lib"
PKG_LONGDESC="A library for accessing various audio file formats." PKG_LONGDESC="A C library for reading and writing sound files containing sampled audio data."
PKG_TOOLCHAIN="configure" PKG_BUILD_FLAGS="+pic"
# package specific configure options PKG_CMAKE_OPTS_TARGET="-DBUILD_PROGRAMS=OFF \
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \ -DBUILD_EXAMPLES=OFF \
--disable-silent-rules \ -DBUILD_TESTING=OFF \
--disable-sqlite \ -DBUILD_REGTEST=OFF \
--enable-alsa \ -DENABLE_EXTERNAL_LIBS=OFF \
--disable-external-libs \ -DINSTALL_MANPAGES=OFF"
--disable-experimental \
--disable-test-coverage \
--enable-largefile \
--with-gnu-ld \
--with-pic"
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}