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/bcg729/
Date: Fri, 01 Jan 2021 22:22:07
Message-Id: 1609539713.85d706b3d2841c4bc90293f8e527ab087c4832ce.sam@gentoo
1 commit: 85d706b3d2841c4bc90293f8e527ab087c4832ce
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 06:20:38 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 1 22:21:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d706b3
7
8 media-libs/bcg729: don't use -Werror
9
10 Closes: https://bugs.gentoo.org/751301
11 Package-Manager: Portage-3.0.9, Repoman-3.0.2
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 media-libs/bcg729/bcg729-1.0.4-r1.ebuild | 7 ++++++-
15 media-libs/bcg729/bcg729-1.1.1.ebuild | 7 ++++++-
16 2 files changed, 12 insertions(+), 2 deletions(-)
17
18 diff --git a/media-libs/bcg729/bcg729-1.0.4-r1.ebuild b/media-libs/bcg729/bcg729-1.0.4-r1.ebuild
19 index ce3201c782e..04926f70bcf 100644
20 --- a/media-libs/bcg729/bcg729-1.0.4-r1.ebuild
21 +++ b/media-libs/bcg729/bcg729-1.0.4-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 @@ -20,6 +20,11 @@ RDEPEND="
29 S=${WORKDIR}/${P/_/-}
30 DOCS=( AUTHORS NEWS README.md )
31
32 +src_prepare() {
33 + sed -i -e '/-Werror/d' CMakeLists.txt || die
34 + cmake-utils_src_prepare
35 +}
36 +
37 src_configure() {
38 mycmakeargs=(
39 -DENABLE_STATIC=$(usex static-libs)
40
41 diff --git a/media-libs/bcg729/bcg729-1.1.1.ebuild b/media-libs/bcg729/bcg729-1.1.1.ebuild
42 index e724197e7cf..3a492a09a32 100644
43 --- a/media-libs/bcg729/bcg729-1.1.1.ebuild
44 +++ b/media-libs/bcg729/bcg729-1.1.1.ebuild
45 @@ -1,4 +1,4 @@
46 -# Copyright 1999-2020 Gentoo Authors
47 +# Copyright 1999-2021 Gentoo Authors
48 # Distributed under the terms of the GNU General Public License v2
49
50 EAPI=7
51 @@ -17,6 +17,11 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~x86"
52
53 RDEPEND="!media-plugins/mediastreamer-bcg729"
54
55 +src_prepare() {
56 + sed -i -e 's/-Werror //' CMakeLists.txt || die
57 + cmake_src_prepare
58 +}
59 +
60 src_configure() {
61 local mycmakeargs=(
62 -DENABLE_STATIC=no