From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/brutefir/brutefir_1.0i.bb | 25 ++++++++++++++++++ recipes/brutefir/files/unbreak-makefile.patch | 38 +++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 recipes/brutefir/brutefir_1.0i.bb create mode 100644 recipes/brutefir/files/unbreak-makefile.patch (limited to 'recipes/brutefir') diff --git a/recipes/brutefir/brutefir_1.0i.bb b/recipes/brutefir/brutefir_1.0i.bb new file mode 100644 index 0000000000..52e56aca20 --- /dev/null +++ b/recipes/brutefir/brutefir_1.0i.bb @@ -0,0 +1,25 @@ +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 = "alsa-lib fftw fftwf fftwl" + +PR = "r1" + +# The unbreak-makefile disables the SSE2, MMX and jack support, feel free +# to add back SSE and MMX after fixing the makefile to not use uname to check for cpu + +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/recipes/brutefir/files/unbreak-makefile.patch b/recipes/brutefir/files/unbreak-makefile.patch new file mode 100644 index 0000000000..2a437a2308 --- /dev/null +++ b/recipes/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 + -- cgit 1.2.3-korg