2015-11-27 17:00:25 +00:00
|
|
|
# $Id$
|
2013-12-12 23:10:35 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
|
|
|
|
# Contributor: pumbur
|
|
|
|
|
2015-11-27 17:00:25 +00:00
|
|
|
# Remove when bumped upstream
|
2013-12-12 23:10:35 +00:00
|
|
|
|
|
|
|
pkgname=opus
|
2015-11-27 10:50:16 +00:00
|
|
|
pkgver=1.1.1
|
2013-12-13 09:13:49 +00:00
|
|
|
pkgrel=1.1
|
2013-12-12 23:10:35 +00:00
|
|
|
pkgdesc="Codec designed for interactive speech and audio transmission over the Internet"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="http://www.opus-codec.org/"
|
|
|
|
license=(BSD)
|
|
|
|
depends=(glibc)
|
|
|
|
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
|
2015-11-27 10:50:16 +00:00
|
|
|
md5sums=('cfb354d4c65217ca32a762f8ab15f2ac')
|
2013-12-12 23:10:35 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2015-11-27 17:00:25 +00:00
|
|
|
./configure --prefix=/usr --enable-custom-modes --disable-static
|
2013-12-12 23:10:35 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|