Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/
Date: Wed, 24 Feb 2016 15:23:30
Message-Id: 1456327387.3d846545957fb287beb9bec7c69361878eb3a234.aballier@gentoo
1 commit: 3d846545957fb287beb9bec7c69361878eb3a234
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 24 15:23:00 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 24 15:23:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d846545
7
8 media-libs/libilbc: update to new upstream and add multilib support
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 media-libs/libilbc/Manifest | 1 +
14 .../{libilbc-9999.ebuild => libilbc-2.0.2.ebuild} | 20 ++++++++------------
15 media-libs/libilbc/libilbc-9999.ebuild | 20 ++++++++------------
16 3 files changed, 17 insertions(+), 24 deletions(-)
17
18 diff --git a/media-libs/libilbc/Manifest b/media-libs/libilbc/Manifest
19 index 6038f79..9fd94aa 100644
20 --- a/media-libs/libilbc/Manifest
21 +++ b/media-libs/libilbc/Manifest
22 @@ -1 +1,2 @@
23 DIST libilbc-1.1.1.tar.xz 302324 SHA256 c52a3f46cf5671ac67494371e78281fa72c87a1af1fd8b8e1731693b6541be87 SHA512 7c9fa6da4d8b32fd49ea62f9e876e385930501c9caedcafac94ea74b9372722b06dd28062dc4fcca765ad6c519cfb52bb595d396ca50d361f563c715f6679845 WHIRLPOOL 120a041823e58d0db3d05549491c00e1b74340f2eefd51f2903f29aacefbbbc94f12cc821451e772c7434ea21fc86ff0c5f8ff15a26e732d1e698d2e7ef44c0a
24 +DIST libilbc-2.0.2.tar.bz2 392643 SHA256 88e2dc14e1fccd7b7a0d7f84e96ac22a33c3c86820cee4b0a05e3dcc08c2b096 SHA512 ad0ef3326144fa1e9b6983be9aeefcec0064930a0124980f0fa2b38967f145e4cef7be75d8eae72f4a9650f297f15968944e73ef256e642116125dea326d8ba8 WHIRLPOOL 091280c168f0877e4d05386161db119e3c0ee029488e28c87de15137cbb79d3bc5536dfb9c9b1fe1ca65cb65d7688e4b8784f65107427d62905989f8c4eb992f
25
26 diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-2.0.2.ebuild
27 similarity index 51%
28 copy from media-libs/libilbc/libilbc-9999.ebuild
29 copy to media-libs/libilbc/libilbc-2.0.2.ebuild
30 index 2326360..b056c4a 100644
31 --- a/media-libs/libilbc/libilbc-9999.ebuild
32 +++ b/media-libs/libilbc/libilbc-2.0.2.ebuild
33 @@ -2,32 +2,28 @@
34 # Distributed under the terms of the GNU General Public License v2
35 # $Id$
36
37 -EAPI=4
38 +EAPI=5
39
40 if [[ ${PV} == 9999 ]] ; then
41 SCM="autotools git-2"
42 - EGIT_REPO_URI="git://github.com/lu-zero/libilbc.git"
43 + EGIT_REPO_URI="https://github.com/TimothyGu/libilbc"
44 SRC_URI=""
45 KEYWORDS=""
46 else
47 - SRC_URI="https://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz"
48 - KEYWORDS="~amd64"
49 + SRC_URI="https://github.com/TimothyGu/libilbc/releases/download/v${PV}/${P}.tar.bz2"
50 + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
51 fi
52
53 -inherit eutils multilib ${SCM}
54 +inherit eutils multilib ${SCM} autotools-multilib
55
56 DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
57 -HOMEPAGE="https://github.com/dekkers/libilbc"
58 +HOMEPAGE="https://github.com/TimothyGu/libilbc"
59
60 LICENSE="BSD"
61 SLOT="0"
62 -IUSE=""
63 +IUSE="static-libs"
64
65 src_prepare() {
66 [[ ${PV} == *9999 ]] && eautoreconf
67 -}
68 -
69 -src_install() {
70 - emake DESTDIR="${D}" install || die
71 - find "${D}"usr/$(get_libdir) -name '*.la' -delete
72 + autotools-multilib_src_prepare
73 }
74
75 diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild
76 index 2326360..b056c4a 100644
77 --- a/media-libs/libilbc/libilbc-9999.ebuild
78 +++ b/media-libs/libilbc/libilbc-9999.ebuild
79 @@ -2,32 +2,28 @@
80 # Distributed under the terms of the GNU General Public License v2
81 # $Id$
82
83 -EAPI=4
84 +EAPI=5
85
86 if [[ ${PV} == 9999 ]] ; then
87 SCM="autotools git-2"
88 - EGIT_REPO_URI="git://github.com/lu-zero/libilbc.git"
89 + EGIT_REPO_URI="https://github.com/TimothyGu/libilbc"
90 SRC_URI=""
91 KEYWORDS=""
92 else
93 - SRC_URI="https://dev.gentoo.org/~lu_zero/${PN}/${P}.tar.xz"
94 - KEYWORDS="~amd64"
95 + SRC_URI="https://github.com/TimothyGu/libilbc/releases/download/v${PV}/${P}.tar.bz2"
96 + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
97 fi
98
99 -inherit eutils multilib ${SCM}
100 +inherit eutils multilib ${SCM} autotools-multilib
101
102 DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
103 -HOMEPAGE="https://github.com/dekkers/libilbc"
104 +HOMEPAGE="https://github.com/TimothyGu/libilbc"
105
106 LICENSE="BSD"
107 SLOT="0"
108 -IUSE=""
109 +IUSE="static-libs"
110
111 src_prepare() {
112 [[ ${PV} == *9999 ]] && eautoreconf
113 -}
114 -
115 -src_install() {
116 - emake DESTDIR="${D}" install || die
117 - find "${D}"usr/$(get_libdir) -name '*.la' -delete
118 + autotools-multilib_src_prepare
119 }