commit: 53ee70c2871bb7684020b14ca7b7e80f1d9933ee
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 15:40:30 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 15:41:25 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ee70c2
net-misc/asterisk-spandsp_codec_g726: remove last-rited package
Gentoo-bug: 575778
net-misc/asterisk-spandsp_codec_g726/Manifest | 1 -
.../asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild | 60 ----------------------
...k-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch | 15 ------
net-misc/asterisk-spandsp_codec_g726/metadata.xml | 10 ----
4 files changed, 86 deletions(-)
diff --git a/net-misc/asterisk-spandsp_codec_g726/Manifest
b/net-misc/asterisk-spandsp_codec_g726/Manifest
deleted file mode 100644
index db2c782..0000000
--- a/net-misc/asterisk-spandsp_codec_g726/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST spandsp-0.0.2pre26_codec_g726.c.bz2 2867 SHA256
a5bfc64e2e45b8dc8799cdade8a8cdc82b103dd55a233e5725df8eb42d42264d SHA512
c44539ae3490b92bb400bd3c4a3be6832683f9e854013570cc58c34d58a4dbc9b64dd3e9635554dbbaec4f69c961d041489bfb9b79489a74190b79933c0b1b62
WHIRLPOOL
629b6fab87bd2c9cd58245587e379e208059a343ddb13619ab8fec9b8fda74bb20b15404cb8acd4d48d5f2565478e8e2894319bc3cf11ce30b1b0e1ba83b4324
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 a9a33ae..0000000
---
a/net-misc/asterisk-spandsp_codec_g726/asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils toolchain-funcs
-
-LIB_CODEC_G726="codec_g726-32"
-SRC_CODEC_G726="spandsp-${PV/_}_codec_g726.c"
-
-DESCRIPTION="SpanDSP ITU G.726-32kbps codec for Asterisk"
-HOMEPAGE="http://soft-switch.org/downloads/spandsp/spandsp-0.0.2pre26/"
-SRC_URI="mirror://gentoo/${SRC_CODEC_G726}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND=">=media-libs/spandsp-0.0.2_pre26
- >=net-misc/asterisk-1.2.0"
-
-S="${WORKDIR}"
-
-do_compile() {
- echo "${@}" && "${@}"
-}
-
-src_unpack() {
- unpack ${A}
-
- epatch "${FILESDIR}/${P}-spanddsp.patch"
- # patch include declarations
- sed -e 's:^\(#include.*\)"\(asterisk/.*\)":\1<\2>:g' \
- -e 's:^\(#include.*\)"\(asterisk\.h\)":\1<asterisk/\2>:g' \
- "${SRC_CODEC_G726}" > "${LIB_CODEC_G726}.c" \
- || die "unpack failed"
-}
-
-src_compile() {
- do_compile $(tc-getCC) -D_GNU_SOURCE -fPIC ${CFLAGS} ${LDFLAGS}
-lspandsp -lm \
- -shared -o ${LIB_CODEC_G726}.so ${LIB_CODEC_G726}.c || die
"compile failed"
-}
-
-src_install() {
- exeinto /usr/$(get_libdir)/asterisk/modules
- doexe ${LIB_CODEC_G726}.so || die
-}
-
-pkg_postinst() {
- echo
- elog "To enable the SpanDSP G.726-32 codec, you have to"
- elog "disable the G.726 codec shipped with Asterisk in"
- elog "your /etc/asterisk/modules.conf:"
- echo
- elog " noload => codec_g726.so"
- echo
- elog "Now you can use the SpanDSP codec instead:"
- echo
- elog " load => ${LIB_CODEC_G726}.so"
- echo
-}
diff --git
a/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch
b/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch
deleted file mode 100644
index b0c8254..0000000
---
a/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=252378
-
---- spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:46:26.000000000 +0100
-+++ spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:53:20.000000000 +0100
-@@ -25,8 +25,10 @@
- #include <string.h>
- #include <unistd.h>
-
-+#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES /* we need g726_state_s definition
*/
- #include <spandsp.h>
-
-+#define _PLC_H_ /* asterisk/plc.h conflicts with spandsp/plc.h */
- #include "asterisk.h"
-
- ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.1 $")
diff --git a/net-misc/asterisk-spandsp_codec_g726/metadata.xml
b/net-misc/asterisk-spandsp_codec_g726/metadata.xml
deleted file mode 100644
index 0e21806..0000000
--- a/net-misc/asterisk-spandsp_codec_g726/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person"><email>[email protected]</email></maintainer>
- <longdescription lang="en">
- SpanDSP ITU G.726-32kbps codec for Asterisk. It's a replacement
- for Asterisk's own G.726 codec, which isn't fully compliant to
- ITU specs.
- </longdescription>
-</pkgmetadata>