pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/mpg123



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Tue May 22 22:50:25 UTC 2018

Modified Files:
        pkgsrc/audio/mpg123: Makefile options.mk

Log Message:
Enable NEON optimizations on ARM64. Bump pkg revision.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/audio/mpg123/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/mpg123/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/mpg123/Makefile
diff -u pkgsrc/audio/mpg123/Makefile:1.55 pkgsrc/audio/mpg123/Makefile:1.56
--- pkgsrc/audio/mpg123/Makefile:1.55   Sun Dec 18 22:58:34 2016
+++ pkgsrc/audio/mpg123/Makefile        Tue May 22 22:50:25 2018
@@ -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

Index: pkgsrc/audio/mpg123/options.mk
diff -u pkgsrc/audio/mpg123/options.mk:1.3 pkgsrc/audio/mpg123/options.mk:1.4
--- pkgsrc/audio/mpg123/options.mk:1.3  Wed Sep 26 13:06:18 2012
+++ pkgsrc/audio/mpg123/options.mk      Tue May 22 22:50:25 2018
@@ -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



Home | Main Index | Thread Index | Old Index