summaryrefslogtreecommitdiff
path: root/audio/amp
diff options
context:
space:
mode:
authoraugustss <augustss@pkgsrc.org>1997-10-28 23:18:20 +0000
committeraugustss <augustss@pkgsrc.org>1997-10-28 23:18:20 +0000
commit4daa64a62986fd842753a48935d3c8adf6758d93 (patch)
treecc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/amp
parent4434fa54eccf4fa0896d9f01cd93c91ab718ec2c (diff)
downloadpkgsrc-4daa64a62986fd842753a48935d3c8adf6758d93.tar.gz
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/amp')
-rw-r--r--audio/amp/Makefile25
-rw-r--r--audio/amp/files/md51
-rw-r--r--audio/amp/patches/patch-aa19
-rw-r--r--audio/amp/patches/patch-ab39
-rw-r--r--audio/amp/pkg/COMMENT1
-rw-r--r--audio/amp/pkg/DESCR10
-rw-r--r--audio/amp/pkg/PLIST2
7 files changed, 97 insertions, 0 deletions
diff --git a/audio/amp/Makefile b/audio/amp/Makefile
new file mode 100644
index 00000000000..e37a7c68034
--- /dev/null
+++ b/audio/amp/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: amp
+# Version required: 0.7.6
+# Date created: Jun 23 1997
+# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/28 23:18:21 augustss Exp $
+#
+
+DISTNAME= amp-0.7.6
+CATEGORIES= audio
+MASTER_SITES= ftp://ftp.rasip.fer.hr/pub/mpeg/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= vanilla@MinJe.com.TW
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+MAN1= amp.1
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/amp ${PREFIX}/bin
+ @ ${INSTALL_MAN} ${WRKSRC}/amp.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/audio/amp/files/md5 b/audio/amp/files/md5
new file mode 100644
index 00000000000..bcf96a443c6
--- /dev/null
+++ b/audio/amp/files/md5
@@ -0,0 +1 @@
+MD5 (amp-0.7.6.tgz) = c12a27ac84b417bdac3330c3aa366122
diff --git a/audio/amp/patches/patch-aa b/audio/amp/patches/patch-aa
new file mode 100644
index 00000000000..d6313b1a88e
--- /dev/null
+++ b/audio/amp/patches/patch-aa
@@ -0,0 +1,19 @@
+*** configure.orig Mon Sep 1 19:01:06 1997
+--- configure Mon Sep 1 19:12:55 1997
+*************** case "$OS_TYPE" in
+*** 1409,1415 ****
+ if test "$OS_TYPE" = "FreeBSD" ; then
+ OS_TYPE="BSD"
+ fi
+! CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
+ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
+ ;;
+
+--- 1409,1415 ----
+ if test "$OS_TYPE" = "FreeBSD" ; then
+ OS_TYPE="BSD"
+ fi
+! CFLAGS="-O2 -m486 -pipe -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
+ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
+ ;;
+
diff --git a/audio/amp/patches/patch-ab b/audio/amp/patches/patch-ab
new file mode 100644
index 00000000000..aba343a13c6
--- /dev/null
+++ b/audio/amp/patches/patch-ab
@@ -0,0 +1,39 @@
+*** audioIO_Linux.c.orig Mon Sep 1 19:29:08 1997
+--- audioIO_Linux.c Mon Sep 1 19:33:25 1997
+***************
+*** 26,32 ****
+
+ /* optimal fragment size */
+
+! int AUSIZ = 0;
+
+ /* declare these static to effectively isolate the audio device */
+
+--- 26,32 ----
+
+ /* optimal fragment size */
+
+! int AUSIZ = 32768;
+
+ /* declare these static to effectively isolate the audio device */
+
+*** audioIO.h.orig Mon Sep 1 19:33:43 1997
+--- audioIO.h Mon Sep 1 19:34:04 1997
+*************** extern int AUSIZ;
+*** 12,18 ****
+ #endif
+
+ #ifdef OS_BSD
+! #define AUSIZ 32768
+ #endif
+
+ #if defined(OS_IRIX) || defined(OS_IRIX64)
+--- 12,19 ----
+ #endif
+
+ #ifdef OS_BSD
+! /* #define AUSIZ 32768 */
+! extern int AUSIZ;
+ #endif
+
+ #if defined(OS_IRIX) || defined(OS_IRIX64)
diff --git a/audio/amp/pkg/COMMENT b/audio/amp/pkg/COMMENT
new file mode 100644
index 00000000000..6d2c23976ab
--- /dev/null
+++ b/audio/amp/pkg/COMMENT
@@ -0,0 +1 @@
+another mp3 player
diff --git a/audio/amp/pkg/DESCR b/audio/amp/pkg/DESCR
new file mode 100644
index 00000000000..d36cff99bdc
--- /dev/null
+++ b/audio/amp/pkg/DESCR
@@ -0,0 +1,10 @@
+------------------------ 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
diff --git a/audio/amp/pkg/PLIST b/audio/amp/pkg/PLIST
new file mode 100644
index 00000000000..8a82fa0791e
--- /dev/null
+++ b/audio/amp/pkg/PLIST
@@ -0,0 +1,2 @@
+bin/amp
+man/man1/amp.1.gz