update lib32-alsa-lib,plugins,oss

This commit is contained in:
Weng Xuetian 2015-12-14 20:59:23 +00:00
parent 4eaf53b04f
commit a98ff701bc
3 changed files with 15 additions and 12 deletions

View File

@ -5,7 +5,7 @@
_pkgbasename=alsa-lib
pkgname=lib32-${_pkgbasename}
pkgver=1.0.28
pkgver=1.1.0
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support (32 bit)"
arch=('x86_64')
@ -14,18 +14,21 @@ depends=('lib32-glibc' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
license=('GPL')
source=(ftp://ftp.alsa-project.org/pub/lib/${_pkgbasename}-$pkgver.tar.bz2)
md5sums=('c9e21b88a2b3e6e12ea7ba0f3b271fc3')
md5sums=('69515ca73c3c4a212ef45160dea846c1')
build() {
cd $srcdir/${_pkgbasename}-$pkgver
export CC='gcc -m32'
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
./configure --prefix=/usr --libdir=/usr/lib32 --disable-python
make
}
package() {
cd $srcdir/${_pkgbasename}-$pkgver
make DESTDIR=$pkgdir install
# Clean up lib32 package

View File

@ -6,15 +6,14 @@
_pkgbasename=alsa-oss
pkgname=lib32-${_pkgbasename}
pkgver=1.0.28
pkgrel=1
pkgrel=2
pkgdesc="OSS compatibility library (32 bit)"
arch=(x86_64)
license=('GPL')
url="http://www.alsa-project.org"
options=(!libtool)
depends=('lib32-glibc' 'gcc-multilib' 'lib32-alsa-lib' $_pkgbasename=$pkgver)
#source=(ftp://ftp.alsa-project.org/pub/oss-lib/${_pkgbasename}-$pkgver.tar.bz2)
source=(http://alsa.cybermirror.org/oss-lib/${_pkgbasename}-$pkgver.tar.bz2)
depends=('lib32-glibc' 'lib32-alsa-lib' $_pkgbasename=$pkgver)
source=(ftp://ftp.alsa-project.org/pub/oss-lib/${_pkgbasename}-$pkgver.tar.bz2)
#source=(http://alsa.cybermirror.org/oss-lib/${_pkgbasename}-$pkgver.tar.bz2)
md5sums=('91f57e8cee1ad4cc956caa8b62ac5d43')
build() {

View File

@ -3,33 +3,34 @@
_pkgbasename=alsa-plugins
pkgname=lib32-$_pkgbasename
pkgver=1.0.28
pkgver=1.1.0
pkgrel=1
pkgdesc="Extra alsa plugins (32-bit)"
arch=('x86_64')
url="http://www.alsa-project.org"
license=(GPL)
depends=(lib32-alsa-lib $_pkgbasename=$pkgver)
makedepends=(lib32-{libpulse,jack,speex,libsamplerate} gcc-multilib)
makedepends=(lib32-libpulse lib32-jack lib32-speex lib32-libsamplerate gcc-multilib)
optdepends=('lib32-libpulse: PulseAudio plugin'
'lib32-jack: Jack plugin'
'lib32-libsamplerate: libsamplerate resampling plugin'
'lib32-speex: libspeexdsp resampling plugin')
source=("ftp://ftp.alsa-project.org/pub/plugins/$_pkgbasename-$pkgver.tar.bz2")
md5sums=('6fcbbb31e96f8ebc5fb926184a717aa4')
md5sums=('b123e42ed881b9adbc99e4040f257c39')
build() {
cd "$srcdir/$_pkgbasename-$pkgver"
cd $_pkgbasename-$pkgver
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
CFLAGS+=' -DHAVE_STDINT_H' # We have issue similar to this one https://code.google.com/p/cantata/issues/detail?id=627
./configure --prefix=/usr --libdir=/usr/lib32 --disable-avcodec
make
}
package() {
cd "$srcdir/$_pkgbasename-$pkgver"
cd $_pkgbasename-$pkgver
make DESTDIR="$pkgdir" install
rm -r "$pkgdir/usr/share"
}