summaryrefslogtreecommitdiff
path: root/packages/brutefir/brutefir_1.0i.bb
blob: 106fb2f0d49b9e9c30c3c47a7a5f99ab9c74500e (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
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"

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