diff --git a/srcpkgs/celt/template b/srcpkgs/celt/template index 7dd796092f4..4f3ce5e6693 100644 --- a/srcpkgs/celt/template +++ b/srcpkgs/celt/template @@ -1,7 +1,7 @@ # Template file for 'celt' pkgname=celt version=0.11.1 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-float-approx --enable-custom-modes --disable-oggtest" hostmakedepends="pkg-config" @@ -18,9 +18,13 @@ long_desc=" 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="${short_desc} - development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig