Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/asterisk-spandsp_codec_g726/files/, ...
Date: Sun, 05 Jun 2016 15:42:06
Message-Id: 1465141285.53ee70c2871bb7684020b14ca7b7e80f1d9933ee.kensington@gentoo
1 commit: 53ee70c2871bb7684020b14ca7b7e80f1d9933ee
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 15:40:30 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 15:41:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ee70c2
7
8 net-misc/asterisk-spandsp_codec_g726: remove last-rited package
9
10 Gentoo-bug: 575778
11
12 net-misc/asterisk-spandsp_codec_g726/Manifest | 1 -
13 .../asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild | 60 ----------------------
14 ...k-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch | 15 ------
15 net-misc/asterisk-spandsp_codec_g726/metadata.xml | 10 ----
16 4 files changed, 86 deletions(-)
17
18 diff --git a/net-misc/asterisk-spandsp_codec_g726/Manifest b/net-misc/asterisk-spandsp_codec_g726/Manifest
19 deleted file mode 100644
20 index db2c782..0000000
21 --- a/net-misc/asterisk-spandsp_codec_g726/Manifest
22 +++ /dev/null
23 @@ -1 +0,0 @@
24 -DIST spandsp-0.0.2pre26_codec_g726.c.bz2 2867 SHA256 a5bfc64e2e45b8dc8799cdade8a8cdc82b103dd55a233e5725df8eb42d42264d SHA512 c44539ae3490b92bb400bd3c4a3be6832683f9e854013570cc58c34d58a4dbc9b64dd3e9635554dbbaec4f69c961d041489bfb9b79489a74190b79933c0b1b62 WHIRLPOOL 629b6fab87bd2c9cd58245587e379e208059a343ddb13619ab8fec9b8fda74bb20b15404cb8acd4d48d5f2565478e8e2894319bc3cf11ce30b1b0e1ba83b4324
25
26 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
27 deleted file mode 100644
28 index a9a33ae..0000000
29 --- a/net-misc/asterisk-spandsp_codec_g726/asterisk-spandsp_codec_g726-0.0.2_pre26.ebuild
30 +++ /dev/null
31 @@ -1,60 +0,0 @@
32 -# Copyright 1999-2010 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -inherit eutils toolchain-funcs
37 -
38 -LIB_CODEC_G726="codec_g726-32"
39 -SRC_CODEC_G726="spandsp-${PV/_}_codec_g726.c"
40 -
41 -DESCRIPTION="SpanDSP ITU G.726-32kbps codec for Asterisk"
42 -HOMEPAGE="http://soft-switch.org/downloads/spandsp/spandsp-0.0.2pre26/"
43 -SRC_URI="mirror://gentoo/${SRC_CODEC_G726}.bz2"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE=""
49 -DEPEND=">=media-libs/spandsp-0.0.2_pre26
50 - >=net-misc/asterisk-1.2.0"
51 -
52 -S="${WORKDIR}"
53 -
54 -do_compile() {
55 - echo "${@}" && "${@}"
56 -}
57 -
58 -src_unpack() {
59 - unpack ${A}
60 -
61 - epatch "${FILESDIR}/${P}-spanddsp.patch"
62 - # patch include declarations
63 - sed -e 's:^\(#include.*\)"\(asterisk/.*\)":\1<\2>:g' \
64 - -e 's:^\(#include.*\)"\(asterisk\.h\)":\1<asterisk/\2>:g' \
65 - "${SRC_CODEC_G726}" > "${LIB_CODEC_G726}.c" \
66 - || die "unpack failed"
67 -}
68 -
69 -src_compile() {
70 - do_compile $(tc-getCC) -D_GNU_SOURCE -fPIC ${CFLAGS} ${LDFLAGS} -lspandsp -lm \
71 - -shared -o ${LIB_CODEC_G726}.so ${LIB_CODEC_G726}.c || die "compile failed"
72 -}
73 -
74 -src_install() {
75 - exeinto /usr/$(get_libdir)/asterisk/modules
76 - doexe ${LIB_CODEC_G726}.so || die
77 -}
78 -
79 -pkg_postinst() {
80 - echo
81 - elog "To enable the SpanDSP G.726-32 codec, you have to"
82 - elog "disable the G.726 codec shipped with Asterisk in"
83 - elog "your /etc/asterisk/modules.conf:"
84 - echo
85 - elog " noload => codec_g726.so"
86 - echo
87 - elog "Now you can use the SpanDSP codec instead:"
88 - echo
89 - elog " load => ${LIB_CODEC_G726}.so"
90 - echo
91 -}
92
93 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
94 deleted file mode 100644
95 index b0c8254..0000000
96 --- a/net-misc/asterisk-spandsp_codec_g726/files/asterisk-spandsp_codec_g726-0.0.2_pre26-spanddsp.patch
97 +++ /dev/null
98 @@ -1,15 +0,0 @@
99 -https://bugs.gentoo.org/show_bug.cgi?id=252378
100 -
101 ---- spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:46:26.000000000 +0100
102 -+++ spandsp-0.0.2pre26_codec_g726.c 2008-12-24 13:53:20.000000000 +0100
103 -@@ -25,8 +25,10 @@
104 - #include <string.h>
105 - #include <unistd.h>
106 -
107 -+#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES /* we need g726_state_s definition */
108 - #include <spandsp.h>
109 -
110 -+#define _PLC_H_ /* asterisk/plc.h conflicts with spandsp/plc.h */
111 - #include "asterisk.h"
112 -
113 - ASTERISK_FILE_VERSION(__FILE__, "$Revision: 1.1 $")
114
115 diff --git a/net-misc/asterisk-spandsp_codec_g726/metadata.xml b/net-misc/asterisk-spandsp_codec_g726/metadata.xml
116 deleted file mode 100644
117 index 0e21806..0000000
118 --- a/net-misc/asterisk-spandsp_codec_g726/metadata.xml
119 +++ /dev/null
120 @@ -1,10 +0,0 @@
121 -<?xml version="1.0" encoding="UTF-8"?>
122 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
123 -<pkgmetadata>
124 -<maintainer type="person"><email>chainsaw@g.o</email></maintainer>
125 - <longdescription lang="en">
126 - SpanDSP ITU G.726-32kbps codec for Asterisk. It's a replacement
127 - for Asterisk's own G.726 codec, which isn't fully compliant to
128 - ITU specs.
129 - </longdescription>
130 -</pkgmetadata>