bruteFIR: add 1.0i
authorKoen Kooi <koen@openembedded.org>
Thu, 19 Jul 2007 23:40:01 +0000 (23:40 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 19 Jul 2007 23:40:01 +0000 (23:40 +0000)
packages/brutefir/.mtn2git_empty [new file with mode: 0644]
packages/brutefir/brutefir_1.0i.bb [new file with mode: 0644]
packages/brutefir/files/.mtn2git_empty [new file with mode: 0644]
packages/brutefir/files/unbreak-makefile.patch [new file with mode: 0644]

diff --git a/packages/brutefir/.mtn2git_empty b/packages/brutefir/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/brutefir/brutefir_1.0i.bb b/packages/brutefir/brutefir_1.0i.bb
new file mode 100644 (file)
index 0000000..0018a7e
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/packages/brutefir/files/unbreak-makefile.patch b/packages/brutefir/files/unbreak-makefile.patch
new file mode 100644 (file)
index 0000000..2a437a2
--- /dev/null
@@ -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