rebuild toolame for multimedia group.

This commit is contained in:
Weng Xuetian 2016-01-20 17:16:45 +00:00
parent 4842029f6d
commit cb69ee965d

View File

@ -8,7 +8,7 @@
pkgname=toolame
pkgver=02l
pkgrel=8
pkgrel=9
pkgdesc="An optimized mpeg 1/2 layer 2 audio encoder"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/toolame"
@ -16,15 +16,18 @@ license=('LGPL')
depends=('glibc')
categories=('multimedia')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz
$pkgname-$pkgver.patch)
$pkgname-$pkgver.patch
fix.patch)
md5sums=('5946e2dd78fbb57e54386b3b5d873fee'
'7fe02630ce8f08bd279a4bce93e64128')
'7fe02630ce8f08bd279a4bce93e64128'
'22c293426a5cab1c6d8f8c778e25cb98')
build() {
cd $srcdir/$pkgname-$pkgver
# Patch.
patch -p0 < ../toolame-02l.patch
patch -Np0 < ../fix.patch
# Fix arch.
[ "$CARCH" = "x86_64" ] && sed -i "s|-march=i686|-march=x86-64|g" Makefile