Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mediastreamer/
Date: Sun, 19 Nov 2017 17:46:03
Message-Id: 1511111634.229961c5f3acf60505c611b9f55b3d8a578f2b53.asturm@gentoo
1 commit: 229961c5f3acf60505c611b9f55b3d8a578f2b53
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 19 17:12:17 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 19 17:13:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229961c5
7
8 media-libs/mediastreamer: Switch to EAPI 6 and ltprune.eclass
9
10 Package-Manager: Portage-2.3.14, Repoman-2.3.6
11
12 .../mediastreamer/mediastreamer-2.9.0-r2.ebuild | 22 +++++++++++++---------
13 1 file changed, 13 insertions(+), 9 deletions(-)
14
15 diff --git a/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild b/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild
16 index 467f88e4563..22229604baa 100644
17 --- a/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild
18 +++ b/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild
19 @@ -1,9 +1,9 @@
20 # Copyright 1999-2017 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 +EAPI=6
25
26 -inherit autotools eutils
27 +inherit autotools ltprune
28
29 DESCRIPTION="Mediastreaming library for telephony application"
30 HOMEPAGE="https://www.linphone.org/"
31 @@ -76,7 +76,18 @@ PDEPEND="
32 video? ( x264? ( media-plugins/mediastreamer-x264 ) )
33 "
34
35 +PATCHES=(
36 + "${FILESDIR}/${P}-v4l-automagic.patch"
37 + "${FILESDIR}/${P}-libav9.patch"
38 + "${FILESDIR}/${P}-underlinking.patch"
39 + "${FILESDIR}/${P}-tests.patch"
40 + "${FILESDIR}/${P}-xxd.patch"
41 + "${FILESDIR}/${P}-ffmpeg3.patch"
42 +)
43 +
44 src_prepare() {
45 + default
46 +
47 # variable causes "command not found" warning and is not
48 # needed anyway
49 sed -i \
50 @@ -108,13 +119,6 @@ src_prepare() {
51 -e 's:linux/videodev.h ::' \
52 configure.ac || die
53
54 - epatch "${FILESDIR}/${P}-v4l-automagic.patch" \
55 - "${FILESDIR}/${P}-libav9.patch" \
56 - "${FILESDIR}/${P}-underlinking.patch" \
57 - "${FILESDIR}/${P}-tests.patch" \
58 - "${FILESDIR}/${P}-xxd.patch" \
59 - "${FILESDIR}/${P}-ffmpeg3.patch"
60 -
61 eautoreconf
62 }