ladspa: readded as i was maintaining this port

This commit is contained in:
Danny Rawlins 2006-12-20 16:53:18 +11:00
parent 1f07d5e6d9
commit 6a1d37a137
4 changed files with 91 additions and 0 deletions

14
ladspa/.footprint Normal file
View File

@ -0,0 +1,14 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/analyseplugin
-rwxr-xr-x root/root usr/bin/applyplugin
-rwxr-xr-x root/root usr/bin/listplugins
drwxr-xr-x root/root usr/include/
-r--r--r-- root/root usr/include/ladspa.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/ladspa/
-rwxr-xr-x root/root usr/lib/ladspa/amp.so
-rwxr-xr-x root/root usr/lib/ladspa/delay.so
-rwxr-xr-x root/root usr/lib/ladspa/filter.so
-rwxr-xr-x root/root usr/lib/ladspa/noise.so
-rwxr-xr-x root/root usr/lib/ladspa/sine.so

2
ladspa/.md5sum Normal file
View File

@ -0,0 +1,2 @@
bcec0e0d242999a43a70cf5c2b9f92ce ladspa.patch
dbd63dd701d80b152943073c84565c14 ladspa_sdk_1.12.tgz

18
ladspa/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: Linux Audio Developer's Simple Plugin API.
# URL: http://www.ladspa.org/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Han Boetes, han at mijncomputer dot nl
# Depends on:
name=ladspa
version=1.12
release=1
source=(http://www.ladspa.org/download/ladspa_sdk_$version.tgz \
ladspa.patch)
build() {
cd ladspa_sdk/src
patch -i $SRC/$name.patch
make && make install DESTDIR=$PKG
}

57
ladspa/ladspa.patch Normal file
View File

@ -0,0 +1,57 @@
--- makefile.orig 2005-02-02 19:27:13.097179640 +0100
+++ makefile 2005-02-02 19:34:01.506092048 +0100
@@ -5,9 +5,9 @@
# Change these if you want to install somewhere else. In particularly
# you may wish to remove the middle "local/" part of each entry.
-INSTALL_PLUGINS_DIR = /usr/local/lib/ladspa/
-INSTALL_INCLUDE_DIR = /usr/include/
-INSTALL_BINARY_DIR = /usr/local/bin/
+INSTALL_PLUGINS_DIR = $(DESTDIR)/usr/lib/ladspa/
+INSTALL_INCLUDE_DIR = $(DESTDIR)/usr/include/
+INSTALL_BINARY_DIR = $(DESTDIR)/usr/bin/
###############################################################################
#
@@ -16,7 +16,7 @@
INCLUDES = -I.
LIBRARIES = -ldl -lm
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
+CFLAGS += $(INCLUDES) -Wall -Werror -fPIC
CXXFLAGS = $(CFLAGS)
PLUGINS = ../plugins/amp.so \
../plugins/delay.so \
@@ -47,16 +47,17 @@
# TARGETS
#
-test: /tmp/test.wav ../snd/noise.wav always
- @echo ---------------------------------------------
- @echo First listen to the white noise input signal:
- @echo ---------------------------------------------
- play ../snd/noise.wav
- @echo -------------------------
- @echo Compare to plugin output.
- @echo -------------------------
- @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
- play /tmp/test.wav
+test:
+# /tmp/test.wav ../snd/noise.wav always
+# @echo ---------------------------------------------
+# @echo First listen to the white noise input signal:
+# @echo ---------------------------------------------
+# play ../snd/noise.wav
+# @echo -------------------------
+# @echo Compare to plugin output.
+# @echo -------------------------
+# @echo Should be a noise band around 6000Hz, repeated quietly after 1s.
+# play /tmp/test.wav
install: targets
-mkdirhier $(INSTALL_PLUGINS_DIR) \
@@ -123,4 +124,3 @@
tar czf `date '+../backup/ladspa_sdk.%Y%m%d%H%M.tgz'` ladspa_sdk/)
###############################################################################
-