From owner-freebsd-ports Sat May 11 15:30:22 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2C05A37B406 for ; Sat, 11 May 2002 15:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4BMU1K57174; Sat, 11 May 2002 15:30:01 -0700 (PDT) (envelope-from gnats) Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by hub.freebsd.org (Postfix) with ESMTP id 11D0137B40F for ; Sat, 11 May 2002 15:27:57 -0700 (PDT) Received: from sauna.arved.de (sauna.arved.de [192.168.2.4]) by 21322530218.direct.eti.at (8.11.6/8.11.6) with ESMTP id g4BMTbX56481 for ; Sun, 12 May 2002 00:29:37 +0200 (CEST) (envelope-from tilman@arved.de) Received: (from tilman@localhost) by sauna.arved.de (8.11.6/8.11.6) id g4BMS0562013; Sun, 12 May 2002 00:28:00 +0200 (CEST) (envelope-from tilman) Message-Id: <200205112228.g4BMS0562013@sauna.arved.de> Date: Sun, 12 May 2002 00:28:00 +0200 (CEST) From: Tilman Linneweh Reply-To: Tilman Linneweh To: FreeBSD-gnats-submit@FreeBSD.org Cc: tilman@arved.de X-Send-Pr-Version: 3.113 Subject: ports/37965: New Port audio/ladspa Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37965 >Category: ports >Synopsis: New Port audio/ladspa >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: Sat May 11 15:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Tilman Linneweh >Release: FreeBSD 4.5-STABLE i386 >Organization: BSD Usergroup Austria >Environment: System: FreeBSD sauna.arved.de 4.5-STABLE FreeBSD 4.5-STABLE #2: Tue Feb 19 15:30:21 CET 2002 root@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386 >Description: LADSPA is a Linux API for Audio Plugins. This Port contains some example plugins >How-To-Repeat: >Fix: --- ladspa.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: # # ladspa # ladspa/Makefile # ladspa/distinfo # ladspa/files # ladspa/files/patch-makefile # ladspa/files/patch-applyplugin.c # ladspa/pkg-plist # ladspa/pkg-comment # ladspa/pkg-descr # echo c - ladspa mkdir -p ladspa > /dev/null 2>&1 echo x - ladspa/Makefile sed 's/^X//' >ladspa/Makefile << 'END-of-ladspa/Makefile' X# New ports collection Makefile for: ladspa X# Date created: 11 May 2002 X# Whom: Tilman Linneweh END-of-ladspa/Makefile echo x - ladspa/distinfo sed 's/^X//' >ladspa/distinfo << 'END-of-ladspa/distinfo' XMD5 (ladspa_sdk.tgz) = 00b34b8f9a80a1fe141b643e64ac1681 END-of-ladspa/distinfo echo c - ladspa/files mkdir -p ladspa/files > /dev/null 2>&1 echo x - ladspa/files/patch-makefile sed 's/^X//' >ladspa/files/patch-makefile << 'END-of-ladspa/files/patch-makefile' X--- makefile.orig Wed Nov 22 21:34:58 2000 X+++ makefile Sat May 11 23:29:17 2002 X@@ -5,19 +5,18 @@ X # Change these if you want to install somewhere else. In particularly X # you may wish to remove the middle "local/" part of each entry. X X INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/ X INSTALL_INCLUDE_DIR = /usr/include/ X INSTALL_BINARY_DIR = /usr/local/bin/ X X ############################################################################### X # X # GENERAL X # X X-INCLUDES = -I. X-LIBRARIES = -ldl -lm X-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC X-CXXFLAGS = $(CFLAGS) X+CFLAGS += -I. X+CXXFLAGS += -I. X+LDFLAGS += -lm X PLUGINS = ../plugins/amp.so \ X ../plugins/delay.so \ X ../plugins/filter.so \ X@@ -26,9 +25,6 @@ X PROGRAMS = ../bin/analyseplugin \ X ../bin/applyplugin \ X ../bin/listplugins X-CC = cc X-CPP = c++ X- X ############################################################################### X # X # RULES TO BUILD PLUGINS FROM C OR C++ CODE X@@ -39,8 +35,8 @@ X $(LD) -o ../plugins/$*.so plugins/$*.o -shared X X ../plugins/%.so: plugins/%.cpp ladspa.h X- $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp X- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared X+ $(CXX) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp X+ $(CXX) -o ../plugins/$*.so plugins/$*.o -shared X X ############################################################################### X # X@@ -90,17 +86,17 @@ X # X X ../bin/applyplugin: applyplugin.o load.o X- $(CC) $(CFLAGS) $(LIBRARIES) \ X+ $(CC) $(CFLAGS) $(LDFLAGS) \ X -o ../bin/applyplugin \ X applyplugin.o load.o X X ../bin/analyseplugin: analyseplugin.o load.o X- $(CC) $(CFLAGS) $(LIBRARIES) \ X+ $(CC) $(CFLAGS) $(LDFLAGS) \ X -o ../bin/analyseplugin \ X analyseplugin.o load.o X X ../bin/listplugins: listplugins.o search.o X- $(CC) $(CFLAGS) $(LIBRARIES) \ X+ $(CC) $(CFLAGS) $(LDFLAGS) \ X -o ../bin/listplugins \ X listplugins.o search.o X END-of-ladspa/files/patch-makefile echo x - ladspa/files/patch-applyplugin.c sed 's/^X//' >ladspa/files/patch-applyplugin.c << 'END-of-ladspa/files/patch-applyplugin.c' X--- applyplugin.c.orig Sat May 11 23:31:00 2002 X+++ applyplugin.c Sat May 11 23:31:09 2002 X@@ -6,7 +6,7 @@ X /*****************************************************************************/ X X #include X-#include X+#include X #include X #include X #include END-of-ladspa/files/patch-applyplugin.c echo x - ladspa/pkg-plist sed 's/^X//' >ladspa/pkg-plist << 'END-of-ladspa/pkg-plist' Xbin/analyseplugin Xbin/applyplugin Xbin/listplugins Xinclude/ladspa.h Xlib/ladspa/amp.so Xlib/ladspa/delay.so Xlib/ladspa/filter.so Xlib/ladspa/noise.so Xlib/ladspa/sine.so X@dirrm lib/ladspa END-of-ladspa/pkg-plist echo x - ladspa/pkg-comment sed 's/^X//' >ladspa/pkg-comment << 'END-of-ladspa/pkg-comment' XLinux Audio Developer's Simple Plugin API END-of-ladspa/pkg-comment echo x - ladspa/pkg-descr sed 's/^X//' >ladspa/pkg-descr << 'END-of-ladspa/pkg-descr' XMany audio synthesis and recording packages are in use or in Xdevelopment. These work in many different ways. LADSPA Xprovides a standard way for `plugin' audio processors to be used with Xa wide range of these packages. X XFor instance, this allows a developer to make a reverb program and Xbundle it into a LADSPA `plugin library.' Ordinary users can then use Xthis reverb within any LADSPA-friendly audio application. X XAuthor: Richard Furse XWWW: http://www.ladspa.org X X- Tilman Linneweh Xfreebsdports@arved.de END-of-ladspa/pkg-descr exit --- ladspa.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