blob: 3bed70e1a1ce25d8c8ef268165ecf80ce90c0d35 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001DESCRIPTION = "A real-time adjustable equalizer plugin for ALSA"
Brad Bishop7f28bc52017-12-03 23:42:40 -05002HOMEPAGE = "https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html"
Patrick Williamsddad1a12017-02-23 20:36:32 -06003LICENSE = "LGPL-2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
5
6DEPENDS = "alsa-lib"
7
8SRC_URI = " \
Brad Bishop7f28bc52017-12-03 23:42:40 -05009 https://launchpad.net/ubuntu/+archive/primary/+files/alsaequal_${PV}.orig.tar.bz2 \
Patrick Williamsddad1a12017-02-23 20:36:32 -060010 file://0001-Fix-asneeded.patch \
11 file://0002-Fix-Eq-CAPS-plugin-name.patch \
12 file://0003-Fix-mixer.patch \
13"
14
15SRC_URI[md5sum] = "d2edc7710c72cbf3ab297c414e35ebda"
16SRC_URI[sha256sum] = "916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0"
17
18S = "${WORKDIR}/alsaequal"
19
20EXTRA_OEMAKE = " \
21 Q='' \
22 CC='${CC}' \
23 LD='${CC}' \
24 LDFLAGS='${LDFLAGS} -shared -lasound' \
25 CFLAGS='${CFLAGS} -I. -funroll-loops -ffast-math -fPIC -DPIC' \
26 SND_PCM_LIBS='-lasound' \
27 SND_CTL_LIBS='-lasound' \
28"
29
30do_compile() {
31 oe_runmake all
32}
33
34do_install() {
35 install -Dm 0644 libasound_module_ctl_equal.so ${D}${libdir}/alsa-lib/libasound_module_ctl_equal.so
36 install -Dm 0644 libasound_module_pcm_equal.so ${D}${libdir}/alsa-lib/libasound_module_pcm_equal.so
37}
38
39RDEPENDS_${PN} += " \
40 alsa-utils \
41 caps \
42"
43
44FILES_${PN} = "${libdir}/alsa-lib/"