summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-19 23:40:01 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-19 23:40:01 +0000
commit45d02219335cb1e07d463e08175c24d173bc726a (patch)
tree409d6e64690e218c48610582f3cbca071e0d6002
parent6d9ff3e14496d6cdfc536e0507b1ccd9762019c1 (diff)
bruteFIR: add 1.0i
-rw-r--r--packages/brutefir/.mtn2git_empty0
-rw-r--r--packages/brutefir/brutefir_1.0i.bb20
-rw-r--r--packages/brutefir/files/.mtn2git_empty0
-rw-r--r--packages/brutefir/files/unbreak-makefile.patch38
4 files changed, 58 insertions, 0 deletions
diff --git a/packages/brutefir/.mtn2git_empty b/packages/brutefir/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/brutefir/.mtn2git_empty
diff --git a/packages/brutefir/brutefir_1.0i.bb b/packages/brutefir/brutefir_1.0i.bb
new file mode 100644
index 0000000000..0018a7e6a1
--- /dev/null
+++ b/packages/brutefir/brutefir_1.0i.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "BruteFIR is a software convolution engine, a program for applying long FIR filters to multi-channel digital audio, either offline or in realtime."
+LICENSE = "GPLv2"
+
+DEPENDS = "fftw"
+
+SRC_URI = "http://www.ludd.luth.se/~torger/files/brutefir-${PV}.tar.gz \
+ file://unbreak-makefile.patch;patch=1 \
+ "
+
+do_configure() {
+ sed -i -e s:-L/usr/local/lib:-L${STAGING_LIBDIR}:g Makefile
+ sed -i -e s:-I/usr/local/include:-I${STAGING_INCDIR}:g Makefile
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 755 *.bf* ${D}${bindir}
+ install -m 755 brutefir ${D}${bindir}
+}
+
diff --git a/packages/brutefir/files/.mtn2git_empty b/packages/brutefir/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/brutefir/files/.mtn2git_empty
diff --git a/packages/brutefir/files/unbreak-makefile.patch b/packages/brutefir/files/unbreak-makefile.patch
new file mode 100644
index 0000000000..2a437a2308
--- /dev/null
+++ b/packages/brutefir/files/unbreak-makefile.patch
@@ -0,0 +1,38 @@
+--- /tmp/Makefile 2007-07-19 18:54:47.000000000 +0200
++++ brutefir-1.0i/Makefile 2007-07-19 18:55:44.775215000 +0200
+@@ -36,8 +36,6 @@
+ BRUTEFIR_LIBS = $(FFTW_LIB) -lm
+ BRUTEFIR_OBJS = brutefir.o fftw_convolver.o bfconf.o bfrun.o firwindow.o \
+ emalloc.o shmalloc.o dai.o bfconf_lexical.o inout.o dither.o delay.o
+-BRUTEFIR_IA32_OBJS = convolver_sse2.o convolver_sse.o \
+-convolver_3dnow.o convolver_x87.o
+
+ BFIO_FILE_OBJS = bfio_file.fpic.o
+
+@@ -46,8 +44,6 @@
+
+ BFIO_OSS_OBJS = bfio_oss.fpic.o emalloc.fpic.o
+
+-BFIO_JACK_LIBS = -ljack
+-BFIO_JACK_OBJS = bfio_jack.fpic.o emalloc.fpic.o inout.fpic.o
+
+ BFLOGIC_CLI_OBJS = bflogic_cli.fpic.o inout.fpic.o
+ BFLOGIC_EQ_OBJS = bflogic_eq.fpic.o emalloc.fpic.o shmalloc.fpic.o
+@@ -78,7 +74,6 @@
+ # assume that we have alsa, osss and jack
+ LIB_TARGETS += alsa.bfio
+ LIB_TARGETS += oss.bfio
+-LIB_TARGETS += jack.bfio
+ endif
+
+ # Solaris
+@@ -133,9 +128,6 @@
+ oss.bfio: $(BFIO_OSS_OBJS)
+ $(LD) $(LD_SHARED) $(CC_FPIC) $(LIBPATHS) -o $@ $(BFIO_OSS_OBJS) -lc
+
+-jack.bfio: $(BFIO_JACK_OBJS)
+- $(LD) $(LD_SHARED) $(CC_FPIC) $(LIBPATHS) -o $@ $(BFIO_JACK_OBJS) $(BFIO_JACK_LIBS) -lc
+-
+ file.bfio: $(BFIO_FILE_OBJS)
+ $(LD) $(LD_SHARED) $(CC_FPIC) $(LIBPATHS) -o $@ $(BFIO_FILE_OBJS) -lc
+