pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mpg123 Enable NEON optimizations on ARM64. Bump ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ea84b767315
branches:  trunk
changeset: 380836:4ea84b767315
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Tue May 22 22:50:25 2018 +0000

description:
Enable NEON optimizations on ARM64. Bump pkg revision.

diffstat:

 audio/mpg123/Makefile   |   3 ++-
 audio/mpg123/options.mk |  11 +++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r a18cc077ffff -r 4ea84b767315 audio/mpg123/Makefile
--- a/audio/mpg123/Makefile     Tue May 22 21:39:07 2018 +0000
+++ b/audio/mpg123/Makefile     Tue May 22 22:50:25 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2016/12/18 22:58:34 adam Exp $
+# $NetBSD: Makefile,v 1.56 2018/05/22 22:50:25 jmcneill Exp $
 
 PKGNAME=       ${DISTNAME:C/[^[:alnum:]]*//}
+PKGREVISION=   1
 COMMENT=       MPEG layer 1, 2, and 3 audio player
 
 PKGCONFIG_OVERRIDE+=   libmpg123.pc.in
diff -r a18cc077ffff -r 4ea84b767315 audio/mpg123/options.mk
--- a/audio/mpg123/options.mk   Tue May 22 21:39:07 2018 +0000
+++ b/audio/mpg123/options.mk   Tue May 22 22:50:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2012/09/26 13:06:18 jperkin Exp $
+# $NetBSD: options.mk,v 1.4 2018/05/22 22:50:25 jmcneill Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.mpg123
 PKG_OPTIONS_OPTIONAL_GROUPS=   fpu
@@ -17,7 +17,10 @@
 PKG_SUGGESTED_OPTIONS+=                mpg123-with-fpu
 .  endif
 .elif (${MACHINE_ARCH} == "arm") || (${MACHINE_ARCH} == "arm32")
-PKG_OPTIONS_GROUP.fpu=         mpg123-with-fpu
+PKG_OPTIONS_GROUP.fpu=         mpg123-with-fpu 
+.elif (${MACHINE_ARCH} == "aarch64")
+PKG_OPTIONS_GROUP.fpu=         mpg123-neon64 mpg123-aarch64
+PKG_SUGGESTED_OPTIONS+=                mpg123-aarch64
 .elif (${MACHINE_ARCH} == "powerpc")
 PKG_OPTIONS_GROUP.fpu=         mpg123-altivec mpg123-with-fpu
 PKG_SUGGESTED_OPTIONS+=                mpg123-altivec
@@ -36,6 +39,10 @@
 CONFIGURE_ARGS+=       --with-cpu=x86_dither
 .elif !empty(PKG_OPTIONS:Mmpg123-altivec)
 CONFIGURE_ARGS+=       --with-cpu=altivec
+.elif !empty(PKG_OPTIONS:Mmpg123-neon64)
+CONFIGURE_ARGS+=       --with-cpu=neon64
+.elif !empty(PKG_OPTIONS:Mmpg123-aarch64)
+CONFIGURE_ARGS+=       --with-cup=aarch64
 .else
 CONFIGURE_ARGS+=       --with-cpu=generic_nofpu
 .endif



Home | Main Index | Thread Index | Old Index