Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ilbc-rfc3951/
Date: Tue, 12 May 2020 13:58:03
Message-Id: 1589291827.9b5e22f9d13c4ec9ed36749b81f9da2c817b7009.juippis@gentoo
1 commit: 9b5e22f9d13c4ec9ed36749b81f9da2c817b7009
2 Author: Jaco Kroon <jaco <AT> uls <DOT> co <DOT> za>
3 AuthorDate: Sun May 3 13:33:31 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue May 12 13:57:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5e22f9
7
8 dev-libs/ilbc-rfc3951: add blocker against media-libs/libilbc.
9
10 media-libs/libilbc seems to be a drop-in replacement for
11 dev-libs/ilbc-rfc3951.
12
13 I intend to retire ilbc-rfc3951 as I've already switched asterisk to
14 media-libs/libilbc.
15
16 Package-Manager: Portage-2.3.89, Repoman-2.3.20
17 Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
18 Closes: https://github.com/gentoo/gentoo/pull/15624
19 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
20
21 dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r2.ebuild | 36 ++++++++++++++++++++++++++
22 1 file changed, 36 insertions(+)
23
24 diff --git a/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r2.ebuild b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r2.ebuild
25 new file mode 100644
26 index 00000000000..e0e5d1ce154
27 --- /dev/null
28 +++ b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r2.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit autotools
36 +
37 +DESCRIPTION="iLBC is a speech codec suitable for robust voice communication over IP"
38 +HOMEPAGE="https://webrtc.org/license/ilbc-freeware/"
39 +SRC_URI="http://simon.morlat.free.fr/download/1.1.x/source/ilbc-rfc3951.tar.gz -> ${P}.tar.gz"
40 +
41 +# relicensed under 3-clause BSD license, bug 390797
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
45 +
46 +S="${WORKDIR}/${PN}"
47 +PATCHES=( "${FILESDIR}"/${PN}-asneeded.patch )
48 +
49 +RDEPEND="!media-libs/libilbc"
50 +
51 +src_prepare() {
52 + default
53 + eautoreconf
54 +}
55 +
56 +src_configure() {
57 + econf \
58 + --enable-shared \
59 + --disable-static
60 +}
61 +
62 +src_install() {
63 + default
64 + find "${D}" -name '*.la' -delete || die
65 +}