really old, unsupported, broken and not really worth keeping around. much
better alternatives can be used such as mpg123.
This commit is contained in:
parent
052e9d1c41
commit
49082d6cb1
@ -1,26 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2000/06/10 17:39:11 espie Exp $
|
||||
|
||||
BROKEN= unsupported and not working properly
|
||||
|
||||
DISTNAME= amp-0.7.6
|
||||
CATEGORIES= audio
|
||||
NEED_VERSION= 1.300
|
||||
MASTER_SITES= ftp://ftp.clara.net/pub/unix/Audio/
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
MAKE_FLAGS= CFLAGS="${CFLAGS}"
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/amp ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/amp.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
MD5 (amp-0.7.6.tar.gz) = 999678ef5e399b9f9c3d7268e19d703f
|
||||
RMD160 (amp-0.7.6.tar.gz) = 40dcf2b28c233292e0e4a5e2cb5a1c26d0e18630
|
||||
SHA1 (amp-0.7.6.tar.gz) = 8826e89c478fa3a875d5ab8006891ae1c9ccb483
|
@ -1,13 +0,0 @@
|
||||
--- audioIO.h.orig Sat May 31 13:47:58 1997
|
||||
+++ audioIO.h Thu Mar 23 12:39:13 2000
|
||||
@@ -11,9 +11,7 @@
|
||||
extern int AUSIZ;
|
||||
#endif
|
||||
|
||||
-#ifdef OS_BSD
|
||||
- #define AUSIZ 32768
|
||||
-#endif
|
||||
+extern int AUSIZ;
|
||||
|
||||
#if defined(OS_IRIX) || defined(OS_IRIX64)
|
||||
#define AUSIZ 32768
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.in.orig Sat Aug 23 05:54:35 1997
|
||||
+++ Makefile.in Thu Mar 23 12:14:00 2000
|
||||
@@ -24,7 +24,7 @@
|
||||
OBJ = dump.o formats.o getbits.o huffman.o layer3.o getdata.o misc2.o transform.o audio.o \
|
||||
args.o buffer.o audioIO.o position.o layer2.o rtbuf.o guicontrol.o util.o getopt.o getopt1.o
|
||||
|
||||
-LIBS = -lm
|
||||
+LIBS = -lm -lossaudio
|
||||
|
||||
all: amp
|
||||
|
@ -1,28 +0,0 @@
|
||||
--- audioIO_Linux.c.orig Sat May 31 19:47:58 1997
|
||||
+++ audioIO_Linux.c Sun Jun 7 22:06:58 1998
|
||||
@@ -20,13 +20,15 @@
|
||||
|
||||
#ifdef HAVE_MACHINE_SOUNDCARD_H
|
||||
#include <machine/soundcard.h>
|
||||
+#elif defined (HAVE_SOUNDCARD_H)
|
||||
+#include <soundcard.h>
|
||||
#else
|
||||
#include <linux/soundcard.h>
|
||||
#endif
|
||||
|
||||
/* optimal fragment size */
|
||||
|
||||
-int AUSIZ = 0;
|
||||
+int AUSIZ = 32768;
|
||||
|
||||
/* declare these static to effectively isolate the audio device */
|
||||
|
||||
@@ -44,7 +46,7 @@
|
||||
{
|
||||
int supportedMixers, play_format=AFMT_S16_LE;
|
||||
|
||||
- if ((audio_fd = open ("/dev/dsp", O_WRONLY, 0)) == -1)
|
||||
+ if ((audio_fd = open ("/dev/audio", O_WRONLY, 0)) == -1)
|
||||
die("Unable to open the audio device\n");
|
||||
DB(audio, msg("Audio device opened on %d\n",audio_fd); )
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- audioIO.c.orig Sat May 31 13:47:58 1997
|
||||
+++ audioIO.c Thu Mar 23 12:14:01 2000
|
||||
@@ -6,9 +6,7 @@
|
||||
#include "audioIO_Linux.c"
|
||||
#endif
|
||||
|
||||
-#ifdef OS_BSD
|
||||
#include "audioIO_Linux.c"
|
||||
-#endif
|
||||
|
||||
#if defined(OS_IRIX) || defined(OS_IRIX64)
|
||||
#include "audioIO_IRIX.c"
|
@ -1,12 +0,0 @@
|
||||
--- config.h.in- Sat May 31 19:47:58 1997
|
||||
+++ config.h.in Sun Jun 7 22:11:37 1998
|
||||
@@ -45,6 +45,9 @@
|
||||
/* Define if you have the <machine/soundcard.h> header file. */
|
||||
#undef HAVE_MACHINE_SOUNDCARD_H
|
||||
|
||||
+/* Define if you have the <soundcard.h> header file. */
|
||||
+#undef HAVE_SOUNDCARD_H
|
||||
+
|
||||
/* Define if you have the <sys/audioio.h> header file. */
|
||||
#undef HAVE_SYS_AUDIOIO_H
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- configure.in- Sat Aug 23 13:35:41 1997
|
||||
+++ configure.in Sun Jun 7 22:05:13 1998
|
||||
@@ -18,7 +18,7 @@
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_SYS_WAIT
|
||||
-AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h linux/soundcard.h machine/soundcard.h dmedia/audio.h sys/audioio.h sys/select.h)
|
||||
+AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h soundcard.h linux/soundcard.h machine/soundcard.h dmedia/audio.h sys/audioio.h sys/select.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
@ -1,11 +0,0 @@
|
||||
--- configure- Sat Aug 23 13:11:24 1997
|
||||
+++ configure Sun Jun 7 22:05:56 1998
|
||||
@@ -968,7 +968,7 @@
|
||||
|
||||
fi
|
||||
|
||||
-for ac_hdr in fcntl.h sys/ioctl.h sys/time.h unistd.h linux/soundcard.h machine/soundcard.h dmedia/audio.h sys/audioio.h sys/select.h
|
||||
+for ac_hdr in fcntl.h sys/ioctl.h sys/time.h unistd.h soundcard.h linux/soundcard.h machine/soundcard.h dmedia/audio.h sys/audioio.h sys/select.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
@ -1 +0,0 @@
|
||||
MP3 player
|
@ -1,10 +0,0 @@
|
||||
------------------------ From the README file ------------------------
|
||||
amp (Audio Mpeg Player) is an MPEG audio decoder which I originally started
|
||||
putting together as a side project of the MPEG hardware design project at
|
||||
FER/Zagreb - just to confirm my knowledge of the standard. It works with
|
||||
both MPEG1 and MPEG2 audio streams (except for the multichannel extensions
|
||||
defined in MPEG2), layer3 only for now.
|
||||
---------------------------- End of quote ----------------------------
|
||||
|
||||
- Vanilla
|
||||
vanilla@MinJe.com.TW
|
@ -1,3 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2000/06/10 17:39:12 espie Exp $
|
||||
bin/amp
|
||||
man/man1/amp.1
|
Loading…
Reference in New Issue
Block a user