diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2018-05-22 22:50:25 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2018-05-22 22:50:25 +0000 |
commit | 7ff8b0c5ecc393eba73e675601f740b2b8add871 (patch) | |
tree | 36e480d358aacfaf21afee0f90c9e6a630a45d51 /audio | |
parent | 7af69e62bf7df90544950f28162de6b3dff878ed (diff) | |
download | pkgsrc-7ff8b0c5ecc393eba73e675601f740b2b8add871.tar.gz |
Enable NEON optimizations on ARM64. Bump pkg revision.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mpg123/Makefile | 3 | ||||
-rw-r--r-- | audio/mpg123/options.mk | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index 849811fc9f2..157e790610d 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -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 --git a/audio/mpg123/options.mk b/audio/mpg123/options.mk index 2007caadf44..14594d297fc 100644 --- a/audio/mpg123/options.mk +++ b/audio/mpg123/options.mk @@ -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_OPTIONS_GROUP.fpu= mpg123-with-fpu 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=altivec 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 |