commit:     460ca8f587c7f197273db7057f27ad2d16adb487
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 17 02:43:34 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 17 02:47:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460ca8f5

media-video/x264-encoder: EAPI-7 bump

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-video/x264-encoder/x264-encoder-9999.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/media-video/x264-encoder/x264-encoder-9999.ebuild 
b/media-video/x264-encoder/x264-encoder-9999.ebuild
index 3a0cdc8541f..ae007c71112 100644
--- a/media-video/x264-encoder/x264-encoder-9999.ebuild
+++ b/media-video/x264-encoder/x264-encoder-9999.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit flag-o-matic toolchain-funcs
 
@@ -12,8 +12,7 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://git.videolan.org/git/x264.git";
        SRC_URI=""
 else
-       inherit versionator
-       MY_P="x264-snapshot-$(get_version_component_range 3)-2245"
+       MY_P="x264-snapshot-$(ver_cut 3)-2245"
        
SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2";
        KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
        S="${WORKDIR}/${MY_P}"
@@ -38,8 +37,8 @@ ASM_DEP=">=dev-lang/nasm-2.13"
 DEPEND="${RDEPEND}
        amd64? ( ${ASM_DEP} )
        x86? ( ${ASM_DEP} )
-       x86-fbsd? ( ${ASM_DEP} )
-       virtual/pkgconfig"
+       x86-fbsd? ( ${ASM_DEP} )"
+BDEPEND="virtual/pkgconfig"
 
 PATCHES=( "${FILESDIR}/gpac.patch" )
 

Reply via email to