media-libs/libbs2b: EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 30 Sep 2018 16:26:31 +0000 (18:26 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 30 Sep 2018 16:26:31 +0000 (18:26 +0200)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

media-libs/libbs2b/files/3.1.0-format-security.patch
media-libs/libbs2b/libbs2b-3.1.0-r2.ebuild

index 1b9f9f97479b909b3d107a6dd72eaa5bdce7500f..d5600a5b584ef56f68b3948e72e16e9ee891573a 100644 (file)
@@ -1,5 +1,5 @@
---- src/bs2bconvert.c.orig     2015-03-06 12:24:00.168451618 +0000
-+++ src/bs2bconvert.c  2015-03-06 12:22:20.504446655 +0000
+--- a/src/bs2bconvert.c        2015-03-06 12:24:00.168451618 +0000
++++ b/src/bs2bconvert.c        2015-03-06 12:22:20.504446655 +0000
 @@ -153,7 +153,7 @@
        if( ( infile = sf_open( infilename, SFM_READ, &sfinfo ) ) == NULL )
        {
index a20a4be4c6c6a2b1794bb47bc7591ba3500f7c3a..0f105059128b52eab3b8470b265f7dd6f79d8f6f 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils multilib-minimal
+inherit multilib-minimal
 
 DESCRIPTION="Bauer stereophonic-to-binaural DSP library"
 HOMEPAGE="http://bs2b.sourceforge.net/"
@@ -15,12 +15,10 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-f
 IUSE=""
 
 RDEPEND=">=media-libs/libsndfile-1.0.25-r1[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 # for default_src_configure to work
 ECONF_SOURCE="${S}"
 
-src_prepare() {
-       epatch "${FILESDIR}/${PV}-format-security.patch"
-}
+PATCHES=( "${FILESDIR}/${PV}-format-security.patch" )