summaryrefslogtreecommitdiff
path: root/recipes/brutefir/brutefir_1.0i.bb
blob: be13826b19346f38f0e3c32a43cec5388cf88a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 \
	   "

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}
}


SRC_URI[md5sum] = "33fcf84a41d38f5aac24c57a66a2c3ee"
SRC_URI[sha256sum] = "e0f3988afb0a84a89f38153fd5617615e9bcf32bb747ee981c99c44d3c4236f6"