2011-10-31 19:52:32 +00:00
|
|
|
# Template file for 'celt'
|
|
|
|
pkgname=celt
|
|
|
|
version=0.11.1
|
2013-05-15 07:33:16 +00:00
|
|
|
revision=3
|
2011-10-31 19:52:32 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-float-approx --enable-custom-modes --disable-oggtest"
|
2013-04-12 06:55:23 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libogg-devel"
|
|
|
|
short_desc="An audio codec for use in low-delay speech and audio communication"
|
2011-10-31 21:25:29 +00:00
|
|
|
homepage="http://www.celt-codec.org/"
|
2011-11-01 04:50:08 +00:00
|
|
|
license="BSD"
|
2011-10-31 19:52:32 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 06:55:23 +00:00
|
|
|
distfiles="http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
|
2011-10-31 19:52:32 +00:00
|
|
|
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
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
celt-devel_package() {
|
|
|
|
depends="libogg-devel celt>=${version}"
|
2013-05-15 07:33:16 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
celt_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|