sox 12.12
This commit is contained in:
parent
9d52a52740
commit
3814ef10e8
24
audio/sox/Makefile
Normal file
24
audio/sox/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# OpenBSD makefile for: sox - Sound Exchange
|
||||
# Version required: 12p12
|
||||
# Date created: May 3 1998
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/17 01:05:56 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= soxgamma
|
||||
PKGNAME= sox-12.12
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.spies.com/Sox/Archive/
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
MAKEFILE= Makefile.unx
|
||||
MAN1= sox.1
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/sox ${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/sox.man ${PREFIX}/man/man1/sox.1
|
||||
|
||||
.include <bsd.port.mk>
|
1
audio/sox/files/md5
Normal file
1
audio/sox/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (soxgamma.tar.gz) = ed5586a59ee9fed5e7cea90e46a6c51b
|
28
audio/sox/patches/patch-aa
Normal file
28
audio/sox/patches/patch-aa
Normal file
@ -0,0 +1,28 @@
|
||||
*** sbdsp.c.orig Wed Aug 17 17:11:01 1994
|
||||
--- sbdsp.c Sat May 16 21:03:19 1998
|
||||
***************
|
||||
*** 17,27 ****
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef SBLAST
|
||||
#include <i386/isa/sblast.h>
|
||||
#else
|
||||
#ifdef LINUXSOUND
|
||||
! #include <linux/soundcard.h>
|
||||
#else
|
||||
#include <sys/sb.h>
|
||||
#endif
|
||||
--- 17,28 ----
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
+ #include <sys/ioctl.h>
|
||||
#ifdef SBLAST
|
||||
#include <i386/isa/sblast.h>
|
||||
#else
|
||||
#ifdef LINUXSOUND
|
||||
! #include <machine/soundcard.h>
|
||||
#else
|
||||
#include <sys/sb.h>
|
||||
#endif
|
32
audio/sox/patches/patch-ab
Normal file
32
audio/sox/patches/patch-ab
Normal file
@ -0,0 +1,32 @@
|
||||
*** Makefile.unx.orig Fri Oct 7 20:14:48 1994
|
||||
--- Makefile.unx Sat May 16 21:02:55 1998
|
||||
***************
|
||||
*** 153,162 ****
|
||||
# RM = del /q
|
||||
|
||||
|
||||
all: sox
|
||||
|
||||
sox: sox.o $(SOUNDLIB)
|
||||
! $(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm
|
||||
|
||||
$(SOUNDLIB): $(LIBOBJS)
|
||||
$(RM) $(SOUNDLIB)
|
||||
--- 153,169 ----
|
||||
# RM = del /q
|
||||
|
||||
|
||||
+
|
||||
+ # FreeBSD 1.x / 2.x / 3.x
|
||||
+ CFLAGS = -O -DLINUXSOUND -D_HAVE_PARAM_H
|
||||
+ CC = cc
|
||||
+ AR = ar r
|
||||
+ RANLIB = ranlib
|
||||
+
|
||||
all: sox
|
||||
|
||||
sox: sox.o $(SOUNDLIB)
|
||||
! $(CC) $(CFLAGS) -o sox sox.o $(SOUNDLIB) -lm -lossaudio
|
||||
|
||||
$(SOUNDLIB): $(LIBOBJS)
|
||||
$(RM) $(SOUNDLIB)
|
11
audio/sox/patches/patch-ac
Normal file
11
audio/sox/patches/patch-ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- au.c.orig Wed Aug 3 22:13:29 1994
|
||||
+++ au.c Thu Apr 24 13:37:59 1997
|
||||
@@ -299,6 +299,8 @@
|
||||
wblong(ft, magic);
|
||||
|
||||
/* hdr_size = SUN_HDRSIZE; /* + strlen(ft->comment); */
|
||||
+ if (ft->comment == NULL)
|
||||
+ ft->comment = "";
|
||||
hdr_size = SUN_HDRSIZE + strlen(ft->comment);
|
||||
wblong(ft, hdr_size);
|
||||
|
1
audio/sox/pkg/COMMENT
Normal file
1
audio/sox/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
SOund eXchange - universal sound sample translator.
|
15
audio/sox/pkg/DESCR
Normal file
15
audio/sox/pkg/DESCR
Normal file
@ -0,0 +1,15 @@
|
||||
sox translates sound samples between different file formats,
|
||||
and performs various sound effects.
|
||||
|
||||
This release understands "raw" files in various binary formats,
|
||||
raw textual data,
|
||||
Sound Blaster .VOC files, IRCAM SoundFile files, SUN Sparcstation
|
||||
.au files, mutant DEC .au files, Apple/SGI AIFF files,
|
||||
CD-R (music CD format), Macintosh HCOM files, Sounder files,
|
||||
NeXT .snd files, SUN ADPCM (compressed) .au files,
|
||||
and Soundtool (DOS) files.
|
||||
|
||||
The sound effects include changing the sample rate, adding echo
|
||||
delay lines, applying low-, high, and band-pass filtering,
|
||||
reversing a sample in order to search for Satanic messages,
|
||||
and the infamous Fender Vibro effect.
|
2
audio/sox/pkg/PLIST
Normal file
2
audio/sox/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
bin/sox
|
||||
man/man1/sox.1
|
Loading…
Reference in New Issue
Block a user