xref: /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/spandsp/spandsp_git.bb (revision 03514f1996efa799e50da744818ba331c2e893b6)
1*03514f19SPatrick WilliamsSUMMARY = "A DSP library for telephony"
2*03514f19SPatrick WilliamsDESCRIPTION = "\
3*03514f19SPatrick Williams    SpanDSP is a low-level signal processing library that modulates and \
4*03514f19SPatrick Williams    demodulates signals commonly used in telephony, such as the \"noise\" \
5*03514f19SPatrick Williams    generated by a fax modem or DTMF touchpad. \
6*03514f19SPatrick Williams"
7*03514f19SPatrick WilliamsHOMEPAGE = "https://www.soft-switch.org/"
8*03514f19SPatrick WilliamsBUGTRACKER = "https://github.com/freeswitch/spandsp/issues"
9*03514f19SPatrick WilliamsSECTION = "libs"
10*03514f19SPatrick WilliamsLICENSE = "LGPL-2.1-only"
11*03514f19SPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=8791c23ddf418deb5be264cffb5fa6bc"
12*03514f19SPatrick Williams
13*03514f19SPatrick WilliamsDEPENDS = "\
14*03514f19SPatrick Williams    libxml2 \
15*03514f19SPatrick Williams    tiff \
16*03514f19SPatrick Williams    tiff-native \
17*03514f19SPatrick Williams"
18*03514f19SPatrick Williams
19*03514f19SPatrick WilliamsPV = "3.0.0+git"
20*03514f19SPatrick Williams
21*03514f19SPatrick WilliamsSRC_URI = "\
22*03514f19SPatrick Williams    git://github.com/freeswitch/spandsp.git;protocol=https;branch=master \
23*03514f19SPatrick Williams    file://configure.patch \
24*03514f19SPatrick Williams    file://makefile.patch \
25*03514f19SPatrick Williams"
26*03514f19SPatrick Williams# Fails to build with Clang since 5394b2cae6c482ccb835335b769469977e6802ae
27*03514f19SPatrick Williams# https://github.com/freeswitch/spandsp/issues/67
28*03514f19SPatrick Williams# https://lists.openembedded.org/g/openembedded-devel/message/109325
29*03514f19SPatrick WilliamsSRCREV = "df1282eb9af538ab1aadb6d66146e258451d4fe4"
30*03514f19SPatrick Williams
31*03514f19SPatrick WilliamsS = "${WORKDIR}/git"
32*03514f19SPatrick Williams
33*03514f19SPatrick Williamsinherit autotools
34*03514f19SPatrick Williams
35*03514f19SPatrick WilliamsPACKAGECONFIG ?= ""
36*03514f19SPatrick Williams
37*03514f19SPatrick WilliamsPACKAGECONFIG[mmx] = "--enable-mmx,--disable-mmx"
38*03514f19SPatrick WilliamsPACKAGECONFIG[sse] = "--enable-sse,--disable-sse"
39*03514f19SPatrick WilliamsPACKAGECONFIG[sse2] = "--enable-sse2,--disable-sse2"
40*03514f19SPatrick WilliamsPACKAGECONFIG[sse3] = "--enable-sse3,--disable-sse3"
41*03514f19SPatrick WilliamsPACKAGECONFIG[ssse3] = "--enable-ssse3,--disable-ssse3"
42*03514f19SPatrick WilliamsPACKAGECONFIG[sse4-1] = "--enable-sse4-1,--disable-sse4-1"
43*03514f19SPatrick WilliamsPACKAGECONFIG[sse4-2] = "--enable-sse4-2,--disable-sse4-2"
44*03514f19SPatrick WilliamsPACKAGECONFIG[avx] = "--enable-avx,--disable-avx"
45*03514f19SPatrick WilliamsPACKAGECONFIG[avx2] = "--enable-avx2,--disable-avx2"
46*03514f19SPatrick WilliamsPACKAGECONFIG[neon] = "--enable-neon,--disable-neon"
47*03514f19SPatrick WilliamsPACKAGECONFIG[fixed-point] = "--enable-fixed-point,--disable-fixed-point"
48*03514f19SPatrick WilliamsPACKAGECONFIG[v32bis] = "--enable-v32bis,--disable-v32bis"
49*03514f19SPatrick WilliamsPACKAGECONFIG[v34] = "--enable-v34,--disable-v34"
50*03514f19SPatrick WilliamsPACKAGECONFIG[sslfax] = "--enable-sslfax,--disable-sslfax"
51