alsa-lib: add metafile support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-25 11:22:26 +02:00
parent 8823c14b43
commit bc28c9a5ea
4 changed files with 18 additions and 5 deletions

View File

@ -2,8 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=32 -fPIC -DPIC"
cd $PKG_BUILD
@ -12,7 +10,7 @@ cd $PKG_BUILD
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--with-plugindir=/usr/lib \
--with-plugindir=/usr/lib/alsa \
--localstatedir=/var \
--disable-static \
--enable-shared \

View File

@ -6,7 +6,9 @@ add_group audio 63
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/src/.libs/libasound.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib
mkdir -p $INSTALL/usr/lib/alsa
cp -PR $PKG_BUILD/modules/mixer/simple/.libs/*.so $INSTALL/usr/lib/alsa
mkdir -p $INSTALL/usr/share/alsa
sed 's%~/\.asoundrc%/storage/\.config/asound.conf%' \

View File

@ -0,0 +1,14 @@
PKG_NAME="alsa-lib"
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/lib/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="audio"
PKG_SHORTDESC="alsa-lib: Advanced Linux Sound Architecture library"
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"

View File

@ -1 +0,0 @@
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2