summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/asterisk-spandsp_codec_g726/Manifest2
-rw-r--r--net-misc/asterisk-spandsp_codec_g726/asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild50
2 files changed, 0 insertions, 52 deletions
diff --git a/net-misc/asterisk-spandsp_codec_g726/Manifest b/net-misc/asterisk-spandsp_codec_g726/Manifest
deleted file mode 100644
index eac5502..0000000
--- a/net-misc/asterisk-spandsp_codec_g726/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST asterisk-spandsp_codec_g726-0.0.2_pre26.tar.bz2 2997 RMD160 f0a3fae757dc4ae93039742a1bd604a34bce740a SHA1 1eaaef064b9ca27a1659fbebb4a95912f4992166 SHA256 9e59b0ffcb83d275cb1c494d1dde43d70feda1dddd9e91b80f219848815de758
-EBUILD asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild 1193 RMD160 ae638063bb1eb11356e97974857ab8a870309348 SHA1 01051565c02731cab67d0530a586183e7871643b SHA256 b56c28f40187e8c238add39641558e8caec1f2bedc99b80ded5c292bca505fb3
diff --git a/net-misc/asterisk-spandsp_codec_g726/asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild b/net-misc/asterisk-spandsp_codec_g726/asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild
deleted file mode 100644
index b72fc54..0000000
--- a/net-misc/asterisk-spandsp_codec_g726/asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit asterisk-mod
-
-DESCRIPTION="SpanDSP ITU G.726-32kbps codec for Asterisk"
-HOMEPAGE="http://soft-switch.org/downloads/spandsp/spandsp-0.0.2pre26/"
-SRC_URI="http://r3mix.eu/pub/dist/asterisk/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-
-DEPEND=">=net-misc/asterisk-1.2.0
- >=media-libs/spandsp-0.0.2_pre26"
-
-S="${WORKDIR}/spandsp"
-
-AST_MODULES="codec_g726"
-AST_CODEC_G726_LIBS="-lspandsp"
-AST_CODEC_G726_TARGET="codec_g726-32.so"
-
-src_unpack() {
- unpack "${A}"
- cd "${S}"
-
- # apply spandsp-0.0.3 patch
- if has_version "=media-libs/spandsp-0.0.3*"; then
- ast_fix_source \
- -e "s:\(ENCODING_LINEAR.*\)TRUE:\1G726_PACKING_LEFT:g" \
- codec_g726.c
- else # apply include fixes only
- ast_fix_source codec_g726.c
- fi
-
-}
-
-pkg_postinst() {
- einfo
- einfo "To enable the SpanDSP G.726-32 codec, you have to"
- einfo "disable the G.726 codec shipped with Asterisk in"
- einfo "your ${AST_CONFIG_DIR}/modules.conf:"
- einfo
- einfo " noload => codec_g726.so"
- einfo
- einfo "Now you can use the SpanDSP codec instead:"
- einfo
- einfo " load => ${AST_CODEC_G726_TARGET}"
- einfo
-}