diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2020-06-10 16:48:45 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2020-06-10 16:48:45 +0000 |
commit | fb635a3126bae64419e2e96e8b781293ff0b5e6e (patch) | |
tree | fda7e6aabbe31659ad7ce018d5c87fcb8a51bb73 | |
parent | devel/eric6: update to 20.6 release (diff) |
audio/mpg123: update to 1.26.1
- Update mpg123 to 1.26.1
- Use https for www.mpg123.de in MASTER_SITES
- Remove INSTALL_TARGET, not needed
- Rework Arch/CPU optimization
Enable all optimizations by default for x86,
mpg123 uses run-time detection and allow to disable all optimizations if needed
- Enable ability to enable FPU and/or NEON optimization for armv6 and armv7 platforms
- Add support for "make test"
PR: 246905
Submitted by: daniel.engberg.lists@pyret.net
Notes
Notes:
svn path=/head/; revision=538411
-rw-r--r-- | audio/mpg123/Makefile | 43 | ||||
-rw-r--r-- | audio/mpg123/distinfo | 6 | ||||
-rw-r--r-- | audio/mpg123/pkg-plist | 9 |
3 files changed, 30 insertions, 28 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index 369abef5fc9e..b9966ef9bc4e 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= mpg123 -PORTVERSION= 1.25.13 +PORTVERSION= 1.26.1 CATEGORIES= audio MASTER_SITES= SF \ - http://www.mpg123.de/download/ + https://www.mpg123.de/download/ MAINTAINER= novel@FreeBSD.org COMMENT= Command-line player for MPEG Layer 1, 2, and 3 audio files @@ -18,37 +18,34 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-optimization=0 -INSTALL_TARGET= install-strip - -OPTIONS_DEFINE= SNDIO +OPTIONS_DEFINE= SNDIO +OPTIONS_DEFINE_i386= OPTCPU +OPTIONS_DEFINE_armv6= FPU +OPTIONS_DEFINE_armv7= FPU +OPTIONS_DEFAULT_i386= OPTCPU OPTIONS_SUB= yes +FPU_DESC= Use fixed point arithmetic and/or NEON instructions +OPTCPU_DESC= Enable support for optimized CPU instructions + +TEST_TARGET= check + +FPU_CONFIGURE_ON= --with-cpu=arm_fpu +FPU_CONFIGURE_OFF= --with-cpu=arm_nofpu + SNDIO_CONFIGURE_ON= --with-audio=sndio,oss \ --with-default-audio=sndio SNDIO_CONFIGURE_OFF= --with-audio=oss \ --with-default-audio=oss SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio -.include <bsd.port.pre.mk> +OPTCPU_CONFIGURE_ON= --with-cpu=x86 +OPTCPU_CONFIGURE_OFF= --with-cpu=generic_fpu -.if ${ARCH} == "i386" -.if ${MACHINE_CPU:M3dnow} -WITH_CPU= 3dnow -.elif ${MACHINE_CPU:Msse} -WITH_CPU= sse -.elif ${MACHINE_CPU:Mi586} -WITH_CPU= i586 -.elif ${MACHINE_CPU:Mi486} -WITH_CPU= i486 -.endif -.elif ${ARCH} == "amd64" -WITH_CPU= x86-64 -.elif ${ARCH} == "arm" -WITH_CPU= arm_nofpu -.endif +.include <bsd.port.pre.mk> -.if defined(WITH_CPU) -CONFIGURE_ARGS+= --with-cpu=${WITH_CPU} +.if ${ARCH} == "amd64" +CONFIGURE_ARGS+= --with-cpu=x86-64 .endif .include <bsd.port.post.mk> diff --git a/audio/mpg123/distinfo b/audio/mpg123/distinfo index f7bfda6d1bc4..9064fcaea1ec 100644 --- a/audio/mpg123/distinfo +++ b/audio/mpg123/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1572173603 -SHA256 (mpg123-1.25.13.tar.bz2) = 90306848359c793fd43b9906e52201df18775742dc3c81c06ab67a806509890a -SIZE (mpg123-1.25.13.tar.bz2) = 910176 +TIMESTAMP = 1590949962 +SHA256 (mpg123-1.26.1.tar.bz2) = 74d6629ab7f3dd9a588b0931528ba7ecfa989a2cad6bf53ffeef9de31b0fe032 +SIZE (mpg123-1.26.1.tar.bz2) = 1045777 diff --git a/audio/mpg123/pkg-plist b/audio/mpg123/pkg-plist index bc8a03cbbb3b..b26ccef359e3 100644 --- a/audio/mpg123/pkg-plist +++ b/audio/mpg123/pkg-plist @@ -5,16 +5,21 @@ bin/out123 include/fmt123.h include/mpg123.h include/out123.h +include/syn123.h lib/libmpg123.so lib/libmpg123.so.0 -lib/libmpg123.so.0.44.10 +lib/libmpg123.so.0.45.1 lib/libout123.so lib/libout123.so.0 -lib/libout123.so.0.2.2 +lib/libout123.so.0.3.0 +lib/libsyn123.so +lib/libsyn123.so.0 +lib/libsyn123.so.0.1.0 lib/mpg123/output_dummy.so lib/mpg123/output_oss.so %%SNDIO%%lib/mpg123/output_sndio.so libdata/pkgconfig/libmpg123.pc libdata/pkgconfig/libout123.pc +libdata/pkgconfig/libsyn123.pc man/man1/out123.1.gz man/man1/mpg123.1.gz |