shithub: sox

Download patch

ref: 9692b7f12e4e4aff1ad5ffbf02393f4c8c3533df
parent: d4c13edb5b6586934693e1bb11502ac88862c894
author: evilynux <evilynux>
date: Fri Apr 24 10:23:41 EDT 2009

Updated for 14.3.0.

--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,19 @@
-sox (14.2.0+cvs-1) UNRELEASED; urgency=low
+sox (14.3.0+cvs-1) UNRELEASED; urgency=low
 
   * CVS version.
+  * [debian/control]:
+    - Added build depend on libpulse-dev.
+    - Added PulseAudio package.
+  * [debian/rules]:
+    - Added distro name.
+    - Added dynamic library configure flag.
+    - Reenabled libmagic as it's not used by default anymore.
+    - Explicitly disabled amrwb and amrnb.
+    - Removed now useless --disable-rpath flag.
+  * [debian/libsox-fmt-pulse.dirs,debian/libsox-fmt-pulse.install]:
+    - Added PulseAudio library.
 
- -- Pascal Giard <evilynux@gmail.com>  Fri, 10 Apr 2009 10:48:03 -0400
+ -- Pascal Giard <evilynux@gmail.com>  Fri, 24 Apr 2009 10:17:03 -0400
 
 sox (14.2.0-2) unstable; urgency=low
 
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@
 Priority: optional
 Maintainer: Pascal Giard <pascal@debian.org>
 Uploaders: Guenter Geiger (Debian/GNU) <geiger@debian.org>
-Build-Depends: debhelper (>= 7), cdbs, libltdl3-dev, libvorbis-dev, libmad0-dev, libgsm1-dev, libsndfile1-dev (>= 1.0.12), libsamplerate0-dev, libavcodec-dev (>= 0.cvs20070301), libavformat-dev, libavutil-dev, libwavpack-dev, libao-dev, libid3tag0-dev, ladspa-sdk, libpng12-dev, libmagic-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
+Build-Depends: debhelper (>= 7), cdbs, libltdl3-dev, libvorbis-dev, libmad0-dev, libgsm1-dev, libsndfile1-dev (>= 1.0.12), libsamplerate0-dev, libavcodec-dev (>= 0.cvs20070301), libavformat-dev, libavutil-dev, libwavpack-dev, libao-dev, libid3tag0-dev, ladspa-sdk, libpng12-dev, libmagic-dev, libpulse-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
 Standards-Version: 3.8.1
 
 Package: sox
@@ -110,10 +110,19 @@
  .
  This package contains the SoX OSS format I/O library.
 
+Package: libsox-fmt-pulse
+Architecture: any
+Section: sound
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: SoX PulseAudio format I/O library
+ SoX is the swiss army knife of sound processing.
+ .
+ This package contains the SoX PulseAudio format I/O library.
+
 Package: libsox-fmt-all
 Architecture: any
 Section: sound
-Depends: ${misc:Depends}, libsox-fmt-base, libsox-fmt-ffmpeg, libsox-fmt-mp3, libsox-fmt-alsa, libsox-fmt-ao, libsox-fmt-oss
+Depends: ${misc:Depends}, libsox-fmt-base, libsox-fmt-ffmpeg, libsox-fmt-mp3, libsox-fmt-alsa, libsox-fmt-ao, libsox-fmt-oss, libsox-fmt-pulse
 Description: All SoX format libraries
  SoX is the swiss army knife of sound processing.
  .
--- a/debian/libsox-fmt-base.install
+++ b/debian/libsox-fmt-base.install
@@ -1,56 +1,15 @@
-debian/tmp/usr/lib/sox/libsox_fmt_aifc.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_aiff.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_al.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_au.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_avr.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_caf.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_cdr.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_cvsd.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_dat.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_dvms.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_f4.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_f8.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_fap.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_flac.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_gsm.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_hcom.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_htk.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_ima.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_la.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_lpc10.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_lu.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_mat4.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_mat5.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_maud.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_nul.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_paf.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_prc.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_pvf.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_raw.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_s1.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_s2.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_s3.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_s4.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_sd2.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_sf.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_smp.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_sndfile.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_sounder.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_soundtool.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_sphere.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_svx.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_txw.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_u1.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_u2.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_u3.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_u4.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_ul.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_voc.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_vorbis.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_vox.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_w64.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_wavpack.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_wav.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_wve.so* usr/lib/sox/
-debian/tmp/usr/lib/sox/libsox_fmt_xa.so* usr/lib/sox/
 debian/tmp/usr/lib/sox/libsox_fmt_xi.so* usr/lib/sox/
--- /dev/null
+++ b/debian/libsox-fmt-pulse.dirs
@@ -1,0 +1,1 @@
+usr/lib/sox
--- /dev/null
+++ b/debian/libsox-fmt-pulse.install
@@ -1,0 +1,1 @@
+debian/tmp/usr/lib/sox/libsox_fmt_pulseaudio.so* usr/lib/sox/
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-DEB_TAR_SRCDIR := sox-14.2.0
+DEB_TAR_SRCDIR := sox-14.3.0
 
 include /usr/share/cdbs/1/rules/tarball.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
@@ -10,6 +10,6 @@
 
 CFLAGS += -D_REENTRANT
 CPPFLAGS += -I/usr/include/ffmpeg
-DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath --disable-lame --without-magic
+DEB_CONFIGURE_EXTRA_FLAGS := --without-lame --with-distro="Debian GNU/Linux" --with-dyn-default --without-amrwb --without-amrnb
 # Takes care of postinst-has-useless-call-to-ldconfig for libsox-fmt-*
 DEB_DH_MAKESHLIBS_ARGS := -Xfmt