Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | DESCRIPTION="SoX is the Swiss Army knife of sound processing tools. \ |
| 2 | It converts audio files among various standard audio file formats \ |
| 3 | and can apply different effects and filters to the audio data." |
| 4 | HOMEPAGE = "http://sox.sourceforge.net" |
| 5 | SECTION = "audio" |
| 6 | |
| 7 | DEPENDS = "libpng ffmpeg libsndfile1" |
| 8 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 9 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ |
| 10 | magic \ |
| 11 | " |
| 12 | PACKAGECONFIG[pulseaudio] = "--with-pulseaudio=dyn,--with-pulseaudio=no,pulseaudio," |
| 13 | PACKAGECONFIG[alsa] = "--with-alsa=dyn,--with-alsa=no,alsa-lib," |
| 14 | PACKAGECONFIG[wavpack] = "--with-wavpack=dyn,--with-wavpack=no,wavpack," |
| 15 | PACKAGECONFIG[flac] = "--with-flac=dyn,--with-flac=no,flac," |
| 16 | PACKAGECONFIG[amrwb] = "--with-amrwb=dyn,--with-amrwb=no,opencore-amr," |
| 17 | PACKAGECONFIG[amrnb] = "--with-amrnb=dyn,--with-amrnb=no,opencore-amr," |
| 18 | PACKAGECONFIG[oggvorbis] = "--with-oggvorbis=dyn,--with-oggvorbis=no,libvorbis" |
| 19 | PACKAGECONFIG[opus] = "--with-opus=dyn,--with-opus=no,opusfile" |
| 20 | PACKAGECONFIG[magic] = "--with-magic,--without-magic,file," |
| 21 | PACKAGECONFIG[mad] = "--with-mad,--without-mad,libmad," |
| 22 | PACKAGECONFIG[id3tag] = "--with-id3tag,--without-id3tag,libid3tag," |
| 23 | PACKAGECONFIG[lame] = "--with-lame,--without-lame,lame," |
| 24 | PACKAGECONFIG[ao] = "--with-ao,--without-ao,libao," |
| 25 | |
| 26 | LICENSE = "GPLv2 & LGPLv2.1" |
| 27 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe \ |
| 28 | file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24" |
| 29 | |
| 30 | SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ |
| 31 | file://0001-remove-the-error-line-and-live-without-file-type-det.patch \ |
| 32 | file://0001-Update-exported-symbol-list.patch \ |
| 33 | " |
| 34 | SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33" |
| 35 | SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c" |
| 36 | |
| 37 | inherit autotools pkgconfig |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 38 | |
| 39 | EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "0", "1", d)}" |