diff --git a/packages/audio/alsa-plugins/build b/packages/audio/alsa-plugins/build new file mode 100755 index 0000000000..84fe0f6708 --- /dev/null +++ b/packages/audio/alsa-plugins/build @@ -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 diff --git a/packages/audio/alsa-plugins/install b/packages/audio/alsa-plugins/install new file mode 100755 index 0000000000..f6e579c5fb --- /dev/null +++ b/packages/audio/alsa-plugins/install @@ -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 diff --git a/packages/audio/alsa-plugins/meta b/packages/audio/alsa-plugins/meta new file mode 100644 index 0000000000..d7ad61fb5a --- /dev/null +++ b/packages/audio/alsa-plugins/meta @@ -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