new package: add package 'alsa-plugins'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-25 11:29:41 +02:00
parent cce1b5e0a1
commit a68da9c306
3 changed files with 53 additions and 0 deletions

View 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

View 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

View 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