Added speex-1.2rc1 build template.

This commit is contained in:
Juan RP 2010-11-19 23:09:26 +01:00
parent 669baed1bd
commit 2a3b53358d
7 changed files with 69 additions and 0 deletions

1
srcpkgs/libspeex Symbolic link
View file

@ -0,0 +1 @@
speex

1
srcpkgs/speex-devel Symbolic link
View file

@ -0,0 +1 @@
speex

2
srcpkgs/speex/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,18 @@
# Template file for 'libspeex'.
#
short_desc="${short_desc} - shared libraries"
long_desc="
Speex is an audio codec especially designed for compressing voice at low
bit-rates for applications such as voice over IP (VoIP). In some senses, it
is meant to be complementary to the Vorbis codec which places a greater
emphasis on high-quality music reproduction.
This package contains the Speex runtime shared libraries."
Add_dependency run glibc
do_install()
{
install -d ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so* ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,23 @@
# Template file for 'speex-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="
Speex is an audio codec especially designed for compressing voice at low
bit-rates for applications such as voice over IP (VoIP). In some senses, it
is meant to be complementary to the Vorbis codec which places a greater
emphasis on high-quality music reproduction.
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libspeex
do_install()
{
install -d ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/{doc,aclocal} ${DESTDIR}/usr/share
}

22
srcpkgs/speex/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'speex'.
pkgname=speex
version=1.2rc1
distfiles="http://downloads.xiph.org/releases/speex/speex-$version.tar.gz"
build_style=gnu_configure
short_desc="A free codec for free speech"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6
long_desc="
Speex is an audio codec especially designed for compressing voice at low
bit-rates for applications such as voice over IP (VoIP). In some senses, it
is meant to be complementary to the Vorbis codec which places a greater
emphasis on high-quality music reproduction.
This package contains the encoder and decoder command-line applications."
subpackages="libspeex $pkgname-devel"
Add_dependency run glibc
Add_dependency run libspeex
Add_dependency run libogg
Add_dependency build pkg-config
Add_dependency build libogg-devel

View file

@ -677,3 +677,5 @@ liblightspark.so.0 lightspark
libman-2.5.9.so man-db
libmandb-2.5.9.so man-db
libsndfile.so libsndfile libsndfile-devel
libspeex.so libspeex speex-devel
libspeexdsp.so libspeex speex-devel