Import of mpg321 0.1.2.

mpg321 is a free clone of mpg123.  It uses libmad for decoding and
libao for playing.
This commit is contained in:
naddy 2001-07-26 10:45:23 +00:00
parent 2ac986bd30
commit 4a87c4d382
6 changed files with 78 additions and 0 deletions

27
audio/mpg321/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/07/26 10:45:23 naddy Exp $
COMMENT= "free clone of mpg123, a command-line mp3 player"
DISTNAME= mpg321-0.1.2
CATEGORIES= audio
NEED_VERSION= 1.427
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://gemini.woot.net/~hosehead/packages/ \
http://www.linuxberg.com/files/
DISTFILES= ${DISTNAME:S/-/_/}${EXTRACT_SUFX}
LIB_DEPENDS= ao.1::audio/libao \
mad.0::audio/mad
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

3
audio/mpg321/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (mpg321_0.1.2.tar.gz) = 77718dea8c9730f29c837c6339b6b17c
RMD160 (mpg321_0.1.2.tar.gz) = 803fc7abc22f3ce092bda8064368919ddf8a2a32
SHA1 (mpg321_0.1.2.tar.gz) = 4b963d9ba2b87c14956ff2986350d0f1a2e5a2c5

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2001/07/26 10:45:23 naddy Exp $
--- Makefile.in.orig Wed Jul 25 22:01:15 2001
+++ Makefile.in Wed Jul 25 22:01:49 2001
@@ -339,7 +339,7 @@ all-recursive-am: config.h
install-exec-am: install-binPROGRAMS
@$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+
install-exec: install-exec-am
install-data-am: install-man

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-configure,v 1.1.1.1 2001/07/26 10:45:23 naddy Exp $
--- configure.orig Sat Jul 21 22:44:34 2001
+++ configure Wed Jul 25 21:57:36 2001
@@ -2069,7 +2069,10 @@ fi;
AO_LIBS="-L$ao_prefix/lib"
fi
- AO_LIBS="$AO_LIBS -lao -ldl"
+ AO_LIBS="$AO_LIBS -lao"
+ if test -f /usr/lib/libdl.a; then
+ AO_LIBS="$AO_LIBS -ldl"
+ fi
echo "$as_me:2074: checking for ao" >&5
echo $ECHO_N "checking for ao... $ECHO_C" >&6
@@ -2294,7 +2297,7 @@ done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
- break 2
+ break
fi
done

9
audio/mpg321/pkg/DESCR Normal file
View File

@ -0,0 +1,9 @@
mpg321 is a completely free clone of mpg123.
mpg321 has been tested to work with gqmpeg. It should work with
other frontends, but isn't guaranteed. mpg321 is built on top of
libmad, which was written by Robert Leslie, and is a fully ISO-compliant
MPEG decoder, meaning it's very accurate. It also operates entirely
within fixed-point arithmetic.
ID3 tags are not supported at all, yet.

3
audio/mpg321/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/26 10:45:23 naddy Exp $
bin/mpg321
man/man1/mpg321.1