update to 1.9.1: new optimized amd64 and arm decoders

ok kili@
This commit is contained in:
naddy 2009-10-12 23:45:21 +00:00
parent 0741e26293
commit b3cccf2e4d
3 changed files with 39 additions and 15 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.42 2009/04/28 19:07:26 naddy Exp $
# $OpenBSD: Makefile,v 1.43 2009/10/12 23:45:21 naddy Exp $
COMMENT= MPEG-1/2 audio layer 1, 2, and 3 player
COMMENT= fast console MPEG audio player and decoder library
DISTNAME= mpg123-1.7.3
SHARED_LIBS= mpg123 1.0 # .14.4
DISTNAME= mpg123-1.9.1
SHARED_LIBS= mpg123 2.0 # .20.2
CATEGORIES= audio
HOMEPAGE= http://www.mpg123.de/
@ -31,12 +31,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/src/libmpg123/.libs -L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build
.if ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+=--with-cpu=generic_nofpu
.elif ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+=--with-cpu=x86
.else
CONFIGURE_ARGS+=--with-cpu=generic_fpu
.if ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+=--with-cpu=arm_nofpu
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (mpg123-1.7.3.tar.bz2) = ISPbFsIqH+PFUXwVUaqdiw==
RMD160 (mpg123-1.7.3.tar.bz2) = WukfV6pmYzbtGywj07dp4Ceo6Rc=
SHA1 (mpg123-1.7.3.tar.bz2) = nw0oh4PaVTnmfKkawSCX7wiNWvM=
SHA256 (mpg123-1.7.3.tar.bz2) = uJNaj0gdSbB9Of4NOqLuy/f2MQArZNKeCZ3htb6G6do=
SIZE (mpg123-1.7.3.tar.bz2) = 1152707
MD5 (mpg123-1.9.1.tar.bz2) = OapEB7U/qMhvfZY7/gcCyQ==
RMD160 (mpg123-1.9.1.tar.bz2) = 5ZK1gvjmeEr0eUZDtWuEwDMQp74=
SHA1 (mpg123-1.9.1.tar.bz2) = IHG2x7Iahce0RW0b2a/4eaLbA30=
SHA256 (mpg123-1.9.1.tar.bz2) = WLCmCr+eQ3uVXqZX2UjggVtcaxutFcSfEGwzQIbYLjQ=
SIZE (mpg123-1.9.1.tar.bz2) = 736625

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-configure,v 1.1 2009/10/12 23:45:21 naddy Exp $
--- configure.orig Thu Oct 8 23:29:52 2009
+++ configure Mon Oct 12 19:05:00 2009
@@ -12651,10 +12651,10 @@ fi
# opt-in for IEEE754 floating point action
# We want to make sure not to apply hacks relying on IEEE754 storage format on platforms where we did not make sure that this actually is valid.
# It _should_ be fine for about all computers still out there, but we play safe.
-ieee=no
+ieee=yes
case $host in
- i?86-*|x86_64-*|powerpc*|sparc*)
- ieee=yes
+ vax-*)
+ ieee=no
;;
esac
if test "x$ieee" = xyes; then
@@ -14481,8 +14481,8 @@ esac
for i in $more_sources
do
# Echo make sure every file is only once in the list.
- echo "$DECODER_OBJ" | grep -v -w "$i\.\$(OBJEXT)" && DECODER_OBJ="$DECODER_OBJ $i.\$(OBJEXT)"
- echo "$DECODER_LOBJ" | grep -v -w "$i\.lo" && DECODER_LOBJ="$DECODER_LOBJ $i.lo"
+ echo "$DECODER_OBJ" | grep -q -v -w "$i\.\$(OBJEXT)" && DECODER_OBJ="$DECODER_OBJ $i.\$(OBJEXT)"
+ echo "$DECODER_LOBJ" | grep -q -v -w "$i\.lo" && DECODER_LOBJ="$DECODER_LOBJ $i.lo"
done