From 5ee444b82e9fac5155c45f771e4a0a0b25b280f8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 17 Feb 2011 16:16:35 +0100 Subject: [PATCH] Added celt051-0.5.1.3 build template. --- srcpkgs/celt051-devel | 1 + srcpkgs/celt051/celt051-devel.template | 17 ++++++++++++++++ srcpkgs/celt051/depends | 2 ++ srcpkgs/celt051/template | 25 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 46 insertions(+) create mode 120000 srcpkgs/celt051-devel create mode 100644 srcpkgs/celt051/celt051-devel.template create mode 100644 srcpkgs/celt051/depends create mode 100644 srcpkgs/celt051/template diff --git a/srcpkgs/celt051-devel b/srcpkgs/celt051-devel new file mode 120000 index 0000000000..03abbd9b22 --- /dev/null +++ b/srcpkgs/celt051-devel @@ -0,0 +1 @@ +celt051 \ No newline at end of file diff --git a/srcpkgs/celt051/celt051-devel.template b/srcpkgs/celt051/celt051-devel.template new file mode 100644 index 0000000000..08520ea9c8 --- /dev/null +++ b/srcpkgs/celt051/celt051-devel.template @@ -0,0 +1,17 @@ +# Template file for 'celt501-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libogg-devel +Add_dependency run celt051 + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/celt051/depends b/srcpkgs/celt051/depends new file mode 100644 index 0000000000..668e19ae43 --- /dev/null +++ b/srcpkgs/celt051/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.5.1.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/celt051/template b/srcpkgs/celt051/template new file mode 100644 index 0000000000..43f229ddae --- /dev/null +++ b/srcpkgs/celt051/template @@ -0,0 +1,25 @@ +# Template file for 'celt051' +pkgname=celt051 +version=0.5.1.3 +wrksrc=celt-${version} +distfiles="http://downloads.us.xiph.org/releases/celt/celt-${version}.tar.gz" +build_style=gnu_configure +short_desc="An audio codec for use in low-delay speech and audio communication" +maintainer="Juan RP " +checksum=fc2e5b68382eb436a38c3104684a6c494df9bde133c139fbba3ddb5d7eaa6a2e +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). + + The CELT bitstream format is not yet stable, this package is a special + version of 0.5.1 that has the same bitstream format, but symbols and files + renamed from 'celt*' to 'celt051*' so that it is parallel installable with + the normal celt for packages requiring this particular bitstream format." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run libogg +Add_dependency build pkg-config +Add_dependency build libogg-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index ac70655f98..b88dde6c6f 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -765,3 +765,4 @@ libgtk-3.so gtk+3 gtk+3-devel libgailutil-3.so gtk+3 gtk+3-devel liblightdm-gobject-0.so liblightdm-gobject lightdm-devel liblightdm-qt.so liblightdm-qt lightdm-devel +libcelt051.so celt051 celt051-devel