sox_14.4.2.bb 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. DEPENDS = "libpng ffmpeg libsndfile1"
  7. # While this item does not require it, it depends on ffmpeg which does
  8. LICENSE_FLAGS = "commercial"
  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. LICENSE = "GPLv2 & LGPLv2.1"
  26. LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe \
  27. file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24"
  28. SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \
  29. file://0001-remove-the-error-line-and-live-without-file-type-det.patch \
  30. file://0001-Update-exported-symbol-list.patch \
  31. "
  32. SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33"
  33. SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c"
  34. inherit autotools pkgconfig