2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2022-04-14 11:56:57 +00:00
|
|
|
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
2023-10-24 16:00:57 +00:00
|
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="libsndfile"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="e486f20"
|
2022-04-14 11:56:57 +00:00
|
|
|
PKG_LICENSE="LGPL-2.1-or-later"
|
|
|
|
PKG_SITE="https://libsndfile.github.io/libsndfile/"
|
|
|
|
PKG_URL="https://github.com/libsndfile/libsndfile/archive/${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain alsa-lib flac libogg libvorbis opus"
|
|
|
|
PKG_LONGDESC="A C library for reading and writing sound files containing sampled audio data."
|
|
|
|
PKG_BUILD_FLAGS="+pic"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-05-05 14:36:37 +00:00
|
|
|
PKG_CMAKE_OPTS_TARGET="-DBUILD_PROGRAMS=ON \
|
2022-04-14 11:56:57 +00:00
|
|
|
-DBUILD_EXAMPLES=OFF \
|
|
|
|
-DBUILD_REGTEST=OFF \
|
|
|
|
-DBUILD_TESTING=OFF \
|
2022-05-05 14:36:37 +00:00
|
|
|
-DENABLE_EXTERNAL_LIBS=OFF \
|
|
|
|
-DBUILD_SHARED_LIBS=ON
|
2022-04-14 11:56:57 +00:00
|
|
|
-DINSTALL_MANPAGES=OFF \
|
|
|
|
-DINSTALL_PKGCONFIG_MODULE=ON"
|