void-packages/srcpkgs/celt/template
2013-05-15 09:33:16 +02:00

39 lines
1.2 KiB
Text

# Template file for 'celt'
pkgname=celt
version=0.11.1
revision=3
build_style=gnu-configure
configure_args="--enable-float-approx --enable-custom-modes --disable-oggtest"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="An audio codec for use in low-delay speech and audio communication"
homepage="http://www.celt-codec.org/"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=01c2579fba8b283c9068cb704a70a6e654aa74ced064c091cafffbe6fb1d4cbf
long_desc="
CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio
codec designed for realtime transmission of high quality speech and audio.
This is meant to close the gap between traditional speech codecs
(such as Speex) and traditional audio codecs (such as Vorbis)."
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-ogg=$XBPS_CROSS_BASE"
fi
celt-devel_package() {
depends="libogg-devel celt>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
celt_package() {
pkg_install() {
vmove usr
}
}