Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 17:35:07 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kde@FreeBSD.org
Subject:   ports/38036: New Port audio/ladspatoy
Message-ID:  <200205131535.g4DFZ7jX060731@tl.kom.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help

>Number:         38036
>Category:       ports
>Synopsis:       New Port audio/ladspatoy
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 13 08:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
Vienna University of Technology
>Environment:
System: FreeBSD tl.kom.tuwien.ac.at 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #1: Fri May 3 16:38:54 CEST 2002 tilman@tl.kom.tuwien.ac.at:/usr/obj/usr/src/sys/MYKERNEL i386


	
>Description:
	ladspatoy is a small QT Application, to form a linear chain of LADSPA-plugins for Audio processing.
	
>How-To-Repeat:
	
>Fix:

	

--- ladspatoy.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./files
#	./files/patch-Makefile
#	./files/patch-plugins-native-Makefile
#	./files/patch-plugins-native-ossdsp.h
#	./files/patch-myplay.c
#	./files/patch-plugins-LADSPA-Makefile
#	./pkg-plist
#	./pkg-comment
#	./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection Makefile for: 	ladspatoy
X# Date created:			13 May 2002
X# Whom:				Tilman Linneweh <freebsdports@arved.de
X#
X# $FreeBSD$
X
XPORTNAME=	ladspatoy
XPORTVERSION=	001217
XCATEGORIES=	audio
XMASTER_SITES=	http://home.t-online.de/home/pdq808/
XDISTNAME=	ladspaToy-17.12.00
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	freebsdports@arved.de
X
XBUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
X
XWRKSRC=		${WRKDIR}/ladspaToy
XUSE_QT_VER=	3
XUSE_GMAKE=	yes
XINSTALLS_SHLIB=	yes
X
XNATIVE_PLUGINS=	Freewire.so Limiter.so OssDsp.so Recorder.so
XPROGRAM_FILES=	blip master myplay
X
Xdo-install:
X.for file in ${PROGRAM_FILES}
X	@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${LOCALBASE}/bin/
X.endfor
X	-@${MKDIR} ${LOCALBASE}/lib/ladspa/
X	-@${MKDIR} ${LOCALBASE}/lib/ladspaToy/
X	@${INSTALL_DATA} ${WRKSRC}/plugins/LADSPA/lp4pole.so ${LOCALBASE}/lib/ladspa/
X.for file in ${NATIVE_PLUGINS}
X	@${INSTALL_DATA} ${WRKSRC}/plugins/native/${file} ${LOCALBASE}/lib/ladspaToy/
X.endfor
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (ladspaToy-17.12.00.tgz) = 0578b030d67deba98bdf33e3e536adba
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Mon May 13 15:54:34 2002
X+++ Makefile	Mon May 13 16:18:10 2002
X@@ -5,22 +5,19 @@
X #    Template: app
X #############################################################################
X 
X-QTDIR=		/usr/lib/qt-2.2.2
X-LADSPADIR =	/usr/local/lib/ladspa
X-NATIVEDIR =	/usr/local/lib/ladspaToy
X-BINDIR =	/usr/local/bin
X+#QTDIR=		/usr/lib/qt-2.2.2
X+LADSPADIR =	${LOCALBASE}/lib/ladspa
X+NATIVEDIR =	${LOCALBASE}/lib/ladspaToy
X+BINDIR =	${LOCALBASE}/usr/local/bin
X 
X ####### Compiler, tools and options
X 
X-CXX	=	g++
X-CXXFLAGS=	-pipe -Wall -W -O2 -fno-strength-reduce -D_REENTRANT \
X-		-mcpu=i686 \
X-		-DLADSPADIR=\"$(LADSPADIR)\" -DNATIVEDIR=\"$(NATIVEDIR)\" \
X-		-ffast-math
X+CXXFLAGS+=	-DLADSPADIR=\"$(LADSPADIR)\" -DNATIVEDIR=\"$(NATIVEDIR)\" 
X+
X INCPATH	=	-I$(QTDIR)/include -I.
X-LINK	=	g++
X-LFLAGS	=	-rdynamic	
X-LIBS	=	-L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11 -lXext -ldl -lpthread
X+#LINK	=	g++
X+LDFLAGS	=	-rdynamic	
X+LIBS	=	-L$(QTDIR)/lib -lqt-mt -L/usr/X11R6/lib -lX11 -lXext -pthread
X MOC	=	$(QTDIR)/bin/moc
X 
X TAR	=	tar -cf
X@@ -144,7 +141,7 @@
X all: native ladspa blip myplay $(TARGET)
X 
X $(TARGET): $(OBJECTS) $(OBJMOC) 
X-	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
X+	$(CXX) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
X 
X moc: $(SRCMOC)
X 
END-of-./files/patch-Makefile
echo x - ./files/patch-plugins-native-Makefile
sed 's/^X//' >./files/patch-plugins-native-Makefile << 'END-of-./files/patch-plugins-native-Makefile'
X--- plugins/native/Makefile.orig	Mon May 13 16:02:35 2002
X+++ plugins/native/Makefile	Mon May 13 16:05:58 2002
X@@ -1,10 +1,6 @@
X # QTDIR = /usr/lib/qt-2.1.0
X # The flags needed to compile all
X-CXXFLAGS = -I$(QTDIR)/include  -fPIC -O2 -mcpu=i686
X-
X-# we need to link in the dll handling library
X-
X-LDLIBS = -ldl
X+CXXFLAGS += -I$(QTDIR)/include 
X 
X 
X all : Limiter.so Freewire.so OssDsp.so Recorder.so
END-of-./files/patch-plugins-native-Makefile
echo x - ./files/patch-plugins-native-ossdsp.h
sed 's/^X//' >./files/patch-plugins-native-ossdsp.h << 'END-of-./files/patch-plugins-native-ossdsp.h'
X--- plugins/native/ossdsp.h.orig	Mon May 13 16:07:50 2002
X+++ plugins/native/ossdsp.h	Mon May 13 16:07:52 2002
X@@ -3,7 +3,7 @@
X #include <stdio.h>
X #include <fcntl.h>
X #include <unistd.h>
X-#include <linux/soundcard.h>
X+#include <sys/soundcard.h>
X #include "../../plugin.h"
X #include "../../sample.h"
X 
END-of-./files/patch-plugins-native-ossdsp.h
echo x - ./files/patch-myplay.c
sed 's/^X//' >./files/patch-myplay.c << 'END-of-./files/patch-myplay.c'
X--- myplay.c.orig	Mon May 13 16:11:46 2002
X+++ myplay.c	Mon May 13 16:12:23 2002
X@@ -3,7 +3,7 @@
X #include <stdio.h>
X #include <fcntl.h>
X #include <unistd.h>
X-#include <linux/soundcard.h>
X+#include <sys/soundcard.h>
X 
X #define BUFSIZE 1024
X 
END-of-./files/patch-myplay.c
echo x - ./files/patch-plugins-LADSPA-Makefile
sed 's/^X//' >./files/patch-plugins-LADSPA-Makefile << 'END-of-./files/patch-plugins-LADSPA-Makefile'
X--- plugins/LADSPA/Makefile.orig	Mon May 13 16:14:25 2002
X+++ plugins/LADSPA/Makefile	Mon May 13 16:14:51 2002
X@@ -1,12 +1,9 @@
X 
X # The flags needed to compile all
X 
X-CFLAGS = -fPIC -O2 -mcpu=i686 -I../../
X+CFLAGS += -I../../
X 
X # we need to link in the dll handling library
X-
X-LDLIBS = -ldl
X-
X 
X all : lp4pole.so
X 
END-of-./files/patch-plugins-LADSPA-Makefile
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/blip
Xbin/master
Xbin/myplay
Xlib/ladspa/lp4pole.so
Xlib/ladspaToy/Freewire.so
Xlib/ladspaToy/Limiter.so
Xlib/ladspaToy/OssDsp.so
Xlib/ladspaToy/Recorder.so
X@dirrm lib/ladspaToy
X@dirrm lib/ladspa
END-of-./pkg-plist
echo x - ./pkg-comment
sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment'
XProgram to form a linear chain of plugins for audio processing
END-of-./pkg-comment
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XladspaToy is a simple program to form a linear chain of plugins
Xfor audio processing. It has been written by Reiner Klenk  
Xpdq808@t-online.de  .
XIt supports dynamic loading of native as well as LADSPA plugins. A 4
Xpole lowpass filter with adjustable resonance is included as example
XLADSPA plugin. The ladspaToy code is lousy and the performance sucks.
XladspaToy can blow up your speakers and damage your ears. You have
Xbeen warned.
X
XAuthor: Reiner Klenk <pdq808@t-online.de>
XWWW: http://home.t-online.de/home/pdq808/
X
X- Tilman Linneweh
Xfreebsdports@arved.de
END-of-./pkg-descr
exit
--- ladspatoy.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205131535.g4DFZ7jX060731>