Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/bcg729/
Date: Sat, 30 Nov 2019 14:59:38
Message-Id: 1575125971.625a5bcc3e463c5f266e17ab5aab98b94e79ee6b.jer@gentoo
1 commit: 625a5bcc3e463c5f266e17ab5aab98b94e79ee6b
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 30 14:56:32 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 30 14:59:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625a5bcc
7
8 media-libs/bcg729: Update live ebuild
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 media-libs/bcg729/bcg729-999999.ebuild | 19 ++++++++++++++-----
14 1 file changed, 14 insertions(+), 5 deletions(-)
15
16 diff --git a/media-libs/bcg729/bcg729-999999.ebuild b/media-libs/bcg729/bcg729-999999.ebuild
17 index 961164ae6e9..aabbb6a8fda 100644
18 --- a/media-libs/bcg729/bcg729-999999.ebuild
19 +++ b/media-libs/bcg729/bcg729-999999.ebuild
20 @@ -2,23 +2,32 @@
21 # Distributed under the terms of the GNU General Public License v2
22
23 EAPI=7
24 -inherit git-r3 cmake-multilib
25 +inherit cmake-utils git-r3
26
27 DESCRIPTION="encoder and decoder of the ITU G729 Annex A/B speech codec"
28 HOMEPAGE="https://github.com/BelledonneCommunications/bcg729"
29 -EGIT_REPO_URI="${HOMEPAGE}"
30 +EGIT_REPO_URI="https://github.com/BelledonneCommunications/bcg729"
31
32 -LICENSE="GPL-3"
33 +LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS=""
36 IUSE="static-libs"
37 RDEPEND="
38 !media-plugins/mediastreamer-bcg729
39 "
40 +S=${WORKDIR}/${P/_/-}
41 +PATCHES=(
42 + "${FILESDIR}"/${PN}-4.3.0_beta-cmake-build.patch
43 +)
44
45 -multilib_src_configure() {
46 - local mycmakeargs+=(
47 +src_configure() {
48 + mycmakeargs=(
49 -DENABLE_STATIC=$(usex static-libs)
50 )
51 cmake-utils_src_configure
52 }
53 +
54 +src_install() {
55 + cmake-utils_src_install
56 + find "${ED}" -name '*.la' -delete || die
57 +}