From 36653e1b24d307c5280722b0fe530c341b098042 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 11 Feb 2017 12:03:24 +0100 Subject: [PATCH] media-libs/vo-aacenc: Append -mfpu=neon when USE=neon is set, it does not build otherwise. Bug #608878. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild | 5 +++-- media-libs/vo-aacenc/vo-aacenc-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild b/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild index a1443bc0fa92..783c9ac2153a 100644 --- a/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild +++ b/media-libs/vo-aacenc/vo-aacenc-0.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then AUTOTOOLS_AUTORECONF=yes fi -inherit autotools-multilib ${SCM} +inherit autotools-multilib flag-o-matic ${SCM} DESCRIPTION="VisualOn AAC encoder library" HOMEPAGE="https://sourceforge.net/projects/opencore-amr/" @@ -34,6 +34,7 @@ IUSE="examples static-libs neon" AUTOTOOLS_PRUNE_LIBTOOL_FILES=all src_configure() { + use neon && append-flags '-mfpu=neon' local myeconfargs=( "$(use_enable examples example)" "$(use_enable neon armv7neon)" diff --git a/media-libs/vo-aacenc/vo-aacenc-9999.ebuild b/media-libs/vo-aacenc/vo-aacenc-9999.ebuild index 7d154fcff6eb..2aed642b20db 100644 --- a/media-libs/vo-aacenc/vo-aacenc-9999.ebuild +++ b/media-libs/vo-aacenc/vo-aacenc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]] ; then AUTOTOOLS_AUTORECONF=yes fi -inherit autotools-multilib ${SCM} +inherit autotools-multilib flag-o-matic ${SCM} DESCRIPTION="VisualOn AAC encoder library" HOMEPAGE="https://sourceforge.net/projects/opencore-amr/" @@ -34,6 +34,7 @@ IUSE="examples static-libs neon" AUTOTOOLS_PRUNE_LIBTOOL_FILES=all src_configure() { + use neon && append-flags '-mfpu=neon' local myeconfargs=( "$(use_enable examples example)" "$(use_enable neon armv7neon)" -- 2.26.2