mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-26 14:52:14 +08:00
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
# contributor: (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
|
|
|
_pkgbasename=alsa-plugins
|
|
pkgname=lib32-$_pkgbasename
|
|
pkgver=1.0.27
|
|
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)
|
|
optdepends=('lib32-libpulse: PulseAudio plugin'
|
|
'lib32-jack: Jack plugin'
|
|
'lib32-libsamplerate: libsamplerate resampling plugin'
|
|
'lib32-speex: libspeexdsp resampling plugin')
|
|
options=('!libtool')
|
|
#source=("ftp://ftp.alsa-project.org/pub/plugins/$_pkgbasename-$pkgver.tar.bz2")
|
|
source=("http://alsa.cybermirror.org//plugins/$_pkgbasename-$pkgver.tar.bz2")
|
|
md5sums=('ada0163e0e84c787bfc929ad0f3f5cb8')
|
|
|
|
build() {
|
|
cd "$srcdir/$_pkgbasename-$pkgver"
|
|
|
|
export CC="gcc -m32"
|
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32 --disable-avcodec
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_pkgbasename-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
rm -r "$pkgdir/usr/share"
|
|
}
|