1 |
commit: 34fa5b0661fa3ea99b3aa6287b2179eede8f024e |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 21 07:55:08 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 21 07:55:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34fa5b06 |
7 |
|
8 |
dev-libs/ilbc-rfc3951: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
dev-libs/ilbc-rfc3951/Manifest | 2 +- |
14 |
.../ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch | 4 ++-- |
15 |
dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild | 23 +++++++++++++--------- |
16 |
3 files changed, 17 insertions(+), 12 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/ilbc-rfc3951/Manifest b/dev-libs/ilbc-rfc3951/Manifest |
19 |
index 3dc92b229c1..ef6c16aeaf3 100644 |
20 |
--- a/dev-libs/ilbc-rfc3951/Manifest |
21 |
+++ b/dev-libs/ilbc-rfc3951/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST ilbc-rfc3951.tar.gz 330306 BLAKE2B cf8c56d9fc3dd2dc6a2dd241f3b0cddb7e7f6cea126056d2ab94aaf8add382f1bc1d9b03c9a91110197e0d82253ca8e824cf37bc1622af26fdf0939204736c35 SHA512 7828a9c5a193ebdfcb383d1edad0868afdee0f71d1a8a878c7d9ea2078fd63f57d31b34ae2cf4890d5abc28c8f5f4ee940c665a126f0512d1e79c4f76a72fbcf |
24 |
+DIST ilbc-rfc3951-0.tar.gz 330306 BLAKE2B cf8c56d9fc3dd2dc6a2dd241f3b0cddb7e7f6cea126056d2ab94aaf8add382f1bc1d9b03c9a91110197e0d82253ca8e824cf37bc1622af26fdf0939204736c35 SHA512 7828a9c5a193ebdfcb383d1edad0868afdee0f71d1a8a878c7d9ea2078fd63f57d31b34ae2cf4890d5abc28c8f5f4ee940c665a126f0512d1e79c4f76a72fbcf |
25 |
|
26 |
diff --git a/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch b/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch |
27 |
index 8cc197d2062..115d339dd86 100644 |
28 |
--- a/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch |
29 |
+++ b/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch |
30 |
@@ -1,5 +1,5 @@ |
31 |
---- src/Makefile.am.orig 2006-07-11 01:18:20.000000000 +1000 |
32 |
-+++ src/Makefile.am 2006-07-11 01:21:20.000000000 +1000 |
33 |
+--- a/src/Makefile.am |
34 |
++++ b/src/Makefile.am |
35 |
@@ -10,6 +10,8 @@ |
36 |
doCPLC.c gainquant.c hpOutput.c iLBC_define.h lsf.c syntFilter.c \ |
37 |
doCPLC.h gainquant.h hpOutput.h iLBC_encode.c lsf.h syntFilter.h |
38 |
|
39 |
diff --git a/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild |
40 |
index 075b530085f..c93ceda1bb0 100644 |
41 |
--- a/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild |
42 |
+++ b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild |
43 |
@@ -1,29 +1,34 @@ |
44 |
# Copyright 1999-2019 Gentoo Authors |
45 |
# Distributed under the terms of the GNU General Public License v2 |
46 |
|
47 |
-EAPI=0 |
48 |
+EAPI=7 |
49 |
|
50 |
-inherit eutils autotools |
51 |
+inherit autotools |
52 |
|
53 |
DESCRIPTION="iLBC is a speech codec suitable for robust voice communication over IP" |
54 |
HOMEPAGE="https://webrtc.org/license/ilbc-freeware/" |
55 |
-SRC_URI="http://simon.morlat.free.fr/download/1.1.x/source/ilbc-rfc3951.tar.gz" |
56 |
+SRC_URI="http://simon.morlat.free.fr/download/1.1.x/source/ilbc-rfc3951.tar.gz -> ${P}.tar.gz" |
57 |
|
58 |
# relicensed under 3-clause BSD license, bug 390797 |
59 |
LICENSE="BSD" |
60 |
SLOT="0" |
61 |
KEYWORDS="alpha amd64 ~arm arm64 ~hppa ia64 ppc ppc64 sparc x86" |
62 |
-IUSE="" |
63 |
|
64 |
S="${WORKDIR}/${PN}" |
65 |
+PATCHES=( "${FILESDIR}"/${PN}-asneeded.patch ) |
66 |
|
67 |
-src_unpack() { |
68 |
- unpack ${A} |
69 |
- cd "${S}" |
70 |
- epatch "${FILESDIR}"/${PN}-asneeded.patch |
71 |
+src_prepare() { |
72 |
+ default |
73 |
eautoreconf |
74 |
} |
75 |
|
76 |
+src_configure() { |
77 |
+ econf \ |
78 |
+ --enable-shared \ |
79 |
+ --disable-static |
80 |
+} |
81 |
+ |
82 |
src_install() { |
83 |
- emake DESTDIR="${D}" install || die |
84 |
+ default |
85 |
+ find "${D}" -name '*.la' -delete || die |
86 |
} |