commit:     229961c5f3acf60505c611b9f55b3d8a578f2b53
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 17:12:17 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 17:13:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229961c5

media-libs/mediastreamer: Switch to EAPI 6 and ltprune.eclass

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 .../mediastreamer/mediastreamer-2.9.0-r2.ebuild    | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild 
b/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild
index 467f88e4563..22229604baa 100644
--- a/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild
+++ b/media-libs/mediastreamer/mediastreamer-2.9.0-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit autotools eutils
+inherit autotools ltprune
 
 DESCRIPTION="Mediastreaming library for telephony application"
 HOMEPAGE="https://www.linphone.org/";
@@ -76,7 +76,18 @@ PDEPEND="
        video? ( x264? ( media-plugins/mediastreamer-x264 ) )
 "
 
+PATCHES=(
+       "${FILESDIR}/${P}-v4l-automagic.patch"
+       "${FILESDIR}/${P}-libav9.patch"
+       "${FILESDIR}/${P}-underlinking.patch"
+       "${FILESDIR}/${P}-tests.patch"
+       "${FILESDIR}/${P}-xxd.patch"
+       "${FILESDIR}/${P}-ffmpeg3.patch"
+)
+
 src_prepare() {
+       default
+
        # variable causes "command not found" warning and is not
        # needed anyway
        sed -i \
@@ -108,13 +119,6 @@ src_prepare() {
                -e 's:linux/videodev.h ::' \
                configure.ac || die
 
-       epatch "${FILESDIR}/${P}-v4l-automagic.patch" \
-               "${FILESDIR}/${P}-libav9.patch" \
-               "${FILESDIR}/${P}-underlinking.patch" \
-               "${FILESDIR}/${P}-tests.patch" \
-               "${FILESDIR}/${P}-xxd.patch" \
-               "${FILESDIR}/${P}-ffmpeg3.patch"
-
        eautoreconf
 }
 

Reply via email to