Skip to content
Snippets Groups Projects
Commit 15d64896 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

1.2rc2

parent a6ec4ab5
No related branches found
No related tags found
No related merge requests found
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
_pkgbasename=speex
pkgname=lib32-$_pkgbasename
pkgver=1.2rc1
pkgrel=5
pkgver=1.2rc2
pkgrel=1
pkgdesc="A free codec for free speech (32-bit)"
arch=(x86_64)
url="http://www.speex.org/"
license=('BSD')
depends=('lib32-libogg' $_pkgbasename)
depends=('lib32-libogg' 'lib32-speexdsp' $_pkgbasename)
makedepends=(gcc-multilib)
options=('!libtool')
source=(http://downloads.us.xiph.org/releases/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz)
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')
url="http://www.speex.org/"
md5sums=('6ae7db3bab01e1d4b86bacfa8ca33e81')
build() {
cd $srcdir/speex-$pkgver
cd $_pkgbasename-$pkgver
export CC="gcc -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libdir=/usr/lib32
--libdir=/usr/lib32 \
--enable-binaries # Must be given or configure won't use pkg-config correctly
make
}
check() {
cd $_pkgbasename-$pkgver
make -k check
}
package() {
cd $srcdir/speex-$pkgver
make DESTDIR=$pkgdir install
cd $_pkgbasename-$pkgver
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
mkdir -p "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment