aboutsummaryrefslogtreecommitdiff
path: root/audio/blop
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-21 06:01:33 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-21 06:01:33 +0000
commitcd734abda273910f486146824cf9febedfe87f6a (patch)
treecb434c8d62c85b685e9cf72c8aa0a6b277ef9655 /audio/blop
parent91942e3d7d0bbade2bbd31b592df5f4b847f2667 (diff)
downloadports-cd734abda273910f486146824cf9febedfe87f6a.tar.gz
ports-cd734abda273910f486146824cf9febedfe87f6a.zip
add blop 0.1.0
Bandlimited oscillator plugins for LADSPA-aware audio applications PR: 38450 Submitted by: Tilman Linneweh <tilman@arved.de>
Notes
Notes: svn path=/head/; revision=66975
Diffstat (limited to 'audio/blop')
-rw-r--r--audio/blop/Makefile30
-rw-r--r--audio/blop/distinfo1
-rw-r--r--audio/blop/files/patch-Makefile81
-rw-r--r--audio/blop/files/patch-wdatutil.c10
-rw-r--r--audio/blop/pkg-comment1
-rw-r--r--audio/blop/pkg-descr8
-rw-r--r--audio/blop/pkg-plist4
7 files changed, 135 insertions, 0 deletions
diff --git a/audio/blop/Makefile b/audio/blop/Makefile
new file mode 100644
index 000000000000..006dfe539c5b
--- /dev/null
+++ b/audio/blop/Makefile
@@ -0,0 +1,30 @@
+# New ports collection Makefile for: blop
+# Date created: 15 May 2002
+# Whom: Tilman Linneweh <freebsdports@arved.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= blop
+PORTVERSION= 0.1.0
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= freebsdports@arved.de
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+
+PLUGINS= sawtooth.so \
+ square.so \
+ pulse.so \
+ triangle.so
+PLUGIN_DIR= ${LOCALBASE}/lib/ladspa
+
+do-install:
+.for file in ${PLUGINS}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${PLUGIN_DIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/audio/blop/distinfo b/audio/blop/distinfo
new file mode 100644
index 000000000000..c84d8e25f0fe
--- /dev/null
+++ b/audio/blop/distinfo
@@ -0,0 +1 @@
+MD5 (blop-0.1.0.tar.gz) = ff8a2220ea354e74ef83c2068b8c5c1d
diff --git a/audio/blop/files/patch-Makefile b/audio/blop/files/patch-Makefile
new file mode 100644
index 000000000000..bc1166ccb83f
--- /dev/null
+++ b/audio/blop/files/patch-Makefile
@@ -0,0 +1,81 @@
+--- Makefile.orig Wed May 15 18:24:08 2002
++++ Makefile Wed May 15 18:47:27 2002
+@@ -16,12 +16,8 @@
+ square.so \
+ pulse.so \
+ triangle.so
+-LD = ld
+-CC = cc
+-CFLAGS = -Iinclude -Wall -fomit-frame-pointer -fstrength-reduce \
+- -funroll-loops -fmove-all-movables -ffast-math -fPIC -DPIC \
+- -O6 -mcpu=i586 -march=i586 -c
+-LDFLAGS = -shared -lm
++CFLAGS += -I/usr/local/include -Iinclude -Wall -DPIC
++LDFLAGS += -L/usr/local/lib -lm -lgnugetopt
+
+ all: $(PLUGINS)
+
+@@ -39,45 +35,45 @@
+
+
+ sawtooth.so: sawtooth.o avltree.o sawtooth.so.o
+- $(LD) $(LDFLAGS) sawtooth.o avltree.o sawtooth.so.o -o sawtooth.so
++ $(LD) $(LDFLAGS) -shared sawtooth.o avltree.o sawtooth.so.o -o sawtooth.so
+
+ square.so: square.o avltree.o square.so.o
+- $(LD) $(LDFLAGS) square.o avltree.o square.so.o -o square.so
++ $(LD) $(LDFLAGS) -shared square.o avltree.o square.so.o -o square.so
+
+ triangle.so: parabola.o avltree.o triangle.so.o
+- $(LD) $(LDFLAGS) parabola.o avltree.o triangle.so.o -o triangle.so
++ $(LD) $(LDFLAGS) -shared parabola.o avltree.o triangle.so.o -o triangle.so
+
+ pulse.so: sawtooth.o avltree.o pulse.so.o
+- $(LD) $(LDFLAGS) sawtooth.o avltree.o pulse.so.o -o pulse.so
++ $(LD) $(LDFLAGS) -shared sawtooth.o avltree.o pulse.so.o -o pulse.so
+
+
+ avltree.o: avltree.h common.h avltree.c
+- $(CC) $(CFLAGS) avltree.c
++ $(CC) $(CFLAGS) -c avltree.c
+
+ sawtooth.o: sawtooth_data.h wavedata.h wavedata.c
+- $(CC) $(CFLAGS) -DWAVETYPE_SAWTOOTH wavedata.c
++ $(CC) $(CFLAGS) -DWAVETYPE_SAWTOOTH -c wavedata.c
+ mv wavedata.o sawtooth.o
+
+ square.o: square_data.h wavedata.h wavedata.c
+- $(CC) $(CFLAGS) -DWAVETYPE_SQUARE wavedata.c
++ $(CC) $(CFLAGS) -DWAVETYPE_SQUARE -c wavedata.c
+ mv wavedata.o square.o
+
+ parabola.o: parabola_data.h wavedata.h wavedata.c
+- $(CC) $(CFLAGS) -DWAVETYPE_PARABOLA wavedata.c
++ $(CC) $(CFLAGS) -DWAVETYPE_PARABOLA -c wavedata.c
+ mv wavedata.o parabola.o
+
+
+ sawtooth.so.o: ladspa.h avltree.h wavedata.h sawtooth.so.c
+- $(CC) $(CFLAGS) sawtooth.so.c
++ $(CC) $(CFLAGS) -c sawtooth.so.c
+
+ square.so.o: ladspa.h avltree.h wavedata.h square.so.c
+- $(CC) $(CFLAGS) square.so.c
++ $(CC) $(CFLAGS) -c square.so.c
+
+ triangle.so.o: ladspa.h avltree.h wavedata.h triangle.so.c
+- $(CC) $(CFLAGS) triangle.so.c
++ $(CC) $(CFLAGS) -c triangle.so.c
+
+ pulse.so.o: ladspa.h avltree.h wavedata.h pulse.so.c
+- $(CC) $(CFLAGS) pulse.so.c
++ $(CC) $(CFLAGS) -c pulse.so.c
+
+
+ sawtooth_data.h: wavegen
+@@ -91,4 +87,4 @@
+
+
+ wavegen: wdatutil.h wdatutil.c wavegen.c
+- $(CC) -Iinclude wdatutil.c wavegen.c -lm -o wavegen
++ $(CC) ${CFLAGS} ${LDFLAGS} wdatutil.c wavegen.c -o wavegen
diff --git a/audio/blop/files/patch-wdatutil.c b/audio/blop/files/patch-wdatutil.c
new file mode 100644
index 000000000000..c1afda193033
--- /dev/null
+++ b/audio/blop/files/patch-wdatutil.c
@@ -0,0 +1,10 @@
+--- wdatutil.c.orig Wed May 15 18:50:21 2002
++++ wdatutil.c Wed May 15 18:51:20 2002
+@@ -2,6 +2,7 @@
+ #include <math.h>
+ #include "common.h"
+ #include "wdatutil.h"
++#include <stdlib.h>
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/audio/blop/pkg-comment b/audio/blop/pkg-comment
new file mode 100644
index 000000000000..a926ad68f34b
--- /dev/null
+++ b/audio/blop/pkg-comment
@@ -0,0 +1 @@
+Bandlimited oscillator plugins for LADSPA-aware audio applications
diff --git a/audio/blop/pkg-descr b/audio/blop/pkg-descr
new file mode 100644
index 000000000000..ff362e9a0592
--- /dev/null
+++ b/audio/blop/pkg-descr
@@ -0,0 +1,8 @@
+Bandlimited oscillator plugins for LADSPA-aware audio applications.
+Sawtooth, Square, Variable Pulse and Slope- variable triangle waves.
+
+Author: Mike Rawes <mike_rawes@yahoo.co.uk>
+WWW: http://sourceforge.net/projects/blop
+
+-- Tilman Linneweh
+freebsdports@arved.de
diff --git a/audio/blop/pkg-plist b/audio/blop/pkg-plist
new file mode 100644
index 000000000000..88cd81839cf7
--- /dev/null
+++ b/audio/blop/pkg-plist
@@ -0,0 +1,4 @@
+lib/ladspa/pulse.so
+lib/ladspa/sawtooth.so
+lib/ladspa/square.so
+lib/ladspa/triangle.so