Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | DESCRIPTION = "A real-time adjustable equalizer plugin for ALSA" |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 3 | LICENSE = "LGPL-2.1" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" |
| 5 | |
| 6 | DEPENDS = "alsa-lib" |
| 7 | |
| 8 | SRC_URI = " \ |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 9 | https://launchpad.net/ubuntu/+archive/primary/+files/alsaequal_${PV}.orig.tar.bz2 \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 10 | file://0001-Fix-asneeded.patch \ |
| 11 | file://0002-Fix-Eq-CAPS-plugin-name.patch \ |
| 12 | file://0003-Fix-mixer.patch \ |
| 13 | " |
| 14 | |
| 15 | SRC_URI[md5sum] = "d2edc7710c72cbf3ab297c414e35ebda" |
| 16 | SRC_URI[sha256sum] = "916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0" |
| 17 | |
| 18 | S = "${WORKDIR}/alsaequal" |
| 19 | |
| 20 | EXTRA_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 | |
| 30 | do_compile() { |
| 31 | oe_runmake all |
| 32 | } |
| 33 | |
| 34 | do_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 | |
| 39 | RDEPENDS_${PN} += " \ |
| 40 | alsa-utils \ |
| 41 | caps \ |
| 42 | " |
| 43 | |
| 44 | FILES_${PN} = "${libdir}/alsa-lib/" |