testing/libfishsound: new aport

libfishsound provides a simple programming interface for decoding and
encoding audio data using the Xiph.org codecs (FLAC, Speex and Vorbis)
This commit is contained in:
Roberto Oliveira 2018-03-23 10:17:24 +00:00
parent f2b59ce9f4
commit 8b2522dd15

View File

@ -0,0 +1,36 @@
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=libfishsound
pkgver=1.0.0
pkgrel=0
pkgdesc="Simple programming interface for decoding and encoding audio data using the Xiph.org codecs"
url="https://xiph.org/fishsound/"
arch="all"
license="BSD"
makedepends="libvorbis-dev speex"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
update_config_guess
}
build() {
cd "$builddir"
./configure --prefix=/usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
sha512sums="97d850fb42b394fca098a96b1784da431a0af1d54d57127179b612e4b88a7a2e406eb1411f55536e5a11ec2e8956f2659182c60ac46d49f6d14250e39a740339 libfishsound-1.0.0.tar.gz"