mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
new package: add package 'libsndfile'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
944e96e3be
commit
587ceceaf7
18
packages/audio/libsndfile/build
Executable file
18
packages/audio/libsndfile/build
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-sqlite \
|
||||||
|
--enable-alsa \
|
||||||
|
--disable-external-libs \
|
||||||
|
|
||||||
|
make -C src
|
||||||
|
cp sndfile.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||||
|
|
||||||
|
$MAKEINSTALL -C src
|
6
packages/audio/libsndfile/install
Executable file
6
packages/audio/libsndfile/install
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib
|
||||||
|
cp -P $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
14
packages/audio/libsndfile/meta
Normal file
14
packages/audio/libsndfile/meta
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
PKG_NAME="libsndfile"
|
||||||
|
PKG_VERSION="1.0.21"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="LGPL"
|
||||||
|
PKG_SITE="http://www.mega-nerd.com/libsndfile/"
|
||||||
|
PKG_URL="http://www.mega-nerd.com/$PKG_NAME/files/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
|
PKG_DEPENDS="alsa-lib"
|
||||||
|
PKG_BUILD_DEPENDS="toolchain alsa-lib"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="audio"
|
||||||
|
PKG_SHORTDESC="libsndfile: A library for accessing various audio file formats"
|
||||||
|
PKG_LONGDESC="libsndfile is a C library for reading and writing sound files such as AIFF, AU, WAV, and others through one standard interface. It can currently read/write 8, 16, 24 and 32-bit PCM files as well as 32 and 64-bit floating point WAV files and a number of compressed formats. It compiles and runs on *nix, MacOS, and Win32."
|
||||||
|
PKG_IS_ADDON="no"
|
Loading…
x
Reference in New Issue
Block a user