summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-14 00:31:02 +0000
committerLars Wendler <polynomial-c@gentoo.org>2021-04-14 08:46:34 +0200
commitc0f0a5f1b35c2e09bd32eff150674305673e2d81 (patch)
treec62a97e4ae5dd211a19a392e807811b2798d966c
parentmedia-libs/libpng: style changes (diff)
downloadgentoo-c0f0a5f1b35c2e09bd32eff150674305673e2d81.tar.gz
gentoo-c0f0a5f1b35c2e09bd32eff150674305673e2d81.tar.bz2
gentoo-c0f0a5f1b35c2e09bd32eff150674305673e2d81.zip
media-libs/libpng-compat: use cpu_flags_arm_neon, not 'neon' in USE
USE="neon" is deprecated and shouldn't be used. Closes: https://bugs.gentoo.org/782733 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--media-libs/libpng-compat/libpng-compat-1.5.30.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/libpng-compat/libpng-compat-1.5.30.ebuild b/media-libs/libpng-compat/libpng-compat-1.5.30.ebuild
index 9d75a9357442..ff778abc777f 100644
--- a/media-libs/libpng-compat/libpng-compat-1.5.30.ebuild
+++ b/media-libs/libpng-compat/libpng-compat-1.5.30.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="libpng"
SLOT="1.5"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="apng neon"
+IUSE="apng cpu_flags_arm_neon"
RDEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
!=media-libs/libpng-1.5*"
@@ -47,7 +47,7 @@ src_prepare() {
multilib_src_configure() {
local myeconfargs=(
--disable-static
- --enable-arm-neon="$(usex neon)"
+ $(use_enable cpu_flags_arm_neon arm-neon check)
)
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}