22 lines
1,000 B
Makefile
22 lines
1,000 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
PKG_NAME="libsndfile"
|
|
PKG_VERSION="72f6af1"
|
|
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"
|
|
|
|
PKG_CMAKE_OPTS_TARGET="-DBUILD_PROGRAMS=ON \
|
|
-DBUILD_EXAMPLES=OFF \
|
|
-DBUILD_REGTEST=OFF \
|
|
-DBUILD_TESTING=OFF \
|
|
-DENABLE_EXTERNAL_LIBS=OFF \
|
|
-DBUILD_SHARED_LIBS=ON
|
|
-DINSTALL_MANPAGES=OFF \
|
|
-DINSTALL_PKGCONFIG_MODULE=ON"
|