void-packages/srcpkgs/celt/template

34 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'celt'
pkgname=celt
version=0.11.1
2013-05-15 07:33:16 +00:00
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/"
2011-11-01 04:50:08 +00:00
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)."
2013-05-15 07:33:16 +00:00
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-ogg=$XBPS_CROSS_BASE"
fi
celt-devel_package() {
depends="libogg-devel celt>=${version}"
2013-05-15 07:33:16 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}