mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
new package: add package 'alsa-plugins'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
cce1b5e0a1
commit
a68da9c306
27
packages/audio/alsa-plugins/build
Executable file
27
packages/audio/alsa-plugins/build
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
|
ALSAPLUGINS_PULSEAUDIO="--enable-pulseaudio"
|
||||||
|
else
|
||||||
|
ALSAPLUGINS_PULSEAUDIO="--disable-pulseaudio"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $PKG_BUILD
|
||||||
|
|
||||||
|
./configure --host=$TARGET_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--with-plugindir=/usr/lib/alsa \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-jack \
|
||||||
|
--disable-samplerate \
|
||||||
|
--disable-avcodec \
|
||||||
|
$ALSAPLUGINS_PULSEAUDIO \
|
||||||
|
--with-speex=lib \
|
||||||
|
|
||||||
|
$MAKE
|
6
packages/audio/alsa-plugins/install
Executable file
6
packages/audio/alsa-plugins/install
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/usr/lib/alsa
|
||||||
|
cp -P $PKG_BUILD/*/.libs/*.so $INSTALL/usr/lib/alsa
|
20
packages/audio/alsa-plugins/meta
Normal file
20
packages/audio/alsa-plugins/meta
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
PKG_NAME="alsa-plugins"
|
||||||
|
PKG_VERSION="1.0.23"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="any"
|
||||||
|
PKG_LICENSE="GPL"
|
||||||
|
PKG_SITE="http://www.alsa-project.org/"
|
||||||
|
PKG_URL="ftp://ftp.alsa-project.org/pub/plugins/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
|
PKG_DEPENDS="alsa-lib speex"
|
||||||
|
PKG_BUILD_DEPENDS="toolchain alsa-lib speex"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="audio"
|
||||||
|
PKG_SHORTDESC="alsa-plugins: Advanced Linux Sound Architecture Plugins"
|
||||||
|
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API. It provides much finer (->better) access to the sound hardware, has a unbeatable mixer API and supports stuff like multi channel hardware, digital outs and ins, uninterleaved sound data access, and an oss emulation layer (for the old applications). It is the prefered API for professional sound apps under Linux."
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
|
|
||||||
|
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||||
|
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||||
|
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user