Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/
Date: Fri, 01 Jan 2021 02:47:17
Message-Id: 1609469229.3d26906a797c71a236e82359d98275e0f4f690ab.sam@gentoo
1 commit: 3d26906a797c71a236e82359d98275e0f4f690ab
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 02:46:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 02:47:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d26906a
7
8 media-libs/libilbc: sync live
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 media-libs/libilbc/libilbc-9999.ebuild | 31 +++++++++----------------------
14 1 file changed, 9 insertions(+), 22 deletions(-)
15
16 diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild
17 index 1d00bd81c2f..9f2f31bf171 100644
18 --- a/media-libs/libilbc/libilbc-9999.ebuild
19 +++ b/media-libs/libilbc/libilbc-9999.ebuild
20 @@ -1,15 +1,16 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 -inherit multilib-minimal
28 +CMAKE_ECLASS=cmake
29 +inherit cmake-multilib
30
31 if [[ ${PV} == *9999 ]]; then
32 - inherit autotools git-r3
33 + inherit git-r3
34 EGIT_REPO_URI="https://github.com/TimothyGu/${PN}"
35 else
36 - SRC_URI="https://github.com/TimothyGu/${PN}/releases/download/v${PV}/${P}.tar.bz2"
37 + SRC_URI="https://github.com/TimothyGu/${PN}/releases/download/v${PV}/${P}.tar.gz"
38 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
39 fi
40
41 @@ -17,22 +18,8 @@ DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
42 HOMEPAGE="https://github.com/TimothyGu/libilbc"
43
44 LICENSE="BSD"
45 -SLOT="0"
46 -IUSE="static-libs"
47 +SLOT="0/3"
48
49 -src_prepare() {
50 - default
51 - [[ ${PV} == *9999 ]] && eautoreconf
52 -}
53 -
54 -multilib_src_configure() {
55 - ECONF_SOURCE="${S}" econf \
56 - $(use_enable static-libs static)
57 -}
58 -
59 -multilib_src_install_all() {
60 - einstalldocs
61 -
62 - # package provides .pc files
63 - find "${D}" -name '*.la' -delete || die
64 -}
65 +PATCHES=(
66 + "${FILESDIR}/${PN}-3.0.4-respect-CFLAGS.patch"
67 +)