summaryrefslogtreecommitdiffstats
path: root/sox
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /sox
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'sox')
-rw-r--r--sox/.footprint.i68629
-rw-r--r--sox/.footprint.x86_6429
-rw-r--r--sox/.md5sum.i6862
-rw-r--r--sox/.md5sum.x86_642
-rw-r--r--sox/Pkgfile23
-rw-r--r--sox/sox-14.3.2-ffmpeg-0.8.patch38
6 files changed, 123 insertions, 0 deletions
diff --git a/sox/.footprint.i686 b/sox/.footprint.i686
new file mode 100644
index 000000000..b462949d7
--- /dev/null
+++ b/sox/.footprint.i686
@@ -0,0 +1,29 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/play -> sox
+lrwxrwxrwx root/root usr/bin/rec -> sox
+-rwxr-xr-x root/root usr/bin/sox
+lrwxrwxrwx root/root usr/bin/soxi -> sox
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/sox.h
+-rw-r--r-- root/root usr/include/soxstdint.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libsox.a
+-rwxr-xr-x root/root usr/lib/libsox.la
+lrwxrwxrwx root/root usr/lib/libsox.so -> libsox.so.1.0.0
+lrwxrwxrwx root/root usr/lib/libsox.so.1 -> libsox.so.1.0.0
+-rwxr-xr-x root/root usr/lib/libsox.so.1.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/sox.pc
+drwxr-xr-x root/root usr/lib/sox/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+lrwxrwxrwx root/root usr/share/man/man1/play.1.gz -> sox.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/rec.1.gz -> sox.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sox.1.gz
+-rw-r--r-- root/root usr/share/man/man1/soxi.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/libsox.3.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/soxformat.7.gz
diff --git a/sox/.footprint.x86_64 b/sox/.footprint.x86_64
new file mode 100644
index 000000000..b462949d7
--- /dev/null
+++ b/sox/.footprint.x86_64
@@ -0,0 +1,29 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/play -> sox
+lrwxrwxrwx root/root usr/bin/rec -> sox
+-rwxr-xr-x root/root usr/bin/sox
+lrwxrwxrwx root/root usr/bin/soxi -> sox
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/sox.h
+-rw-r--r-- root/root usr/include/soxstdint.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libsox.a
+-rwxr-xr-x root/root usr/lib/libsox.la
+lrwxrwxrwx root/root usr/lib/libsox.so -> libsox.so.1.0.0
+lrwxrwxrwx root/root usr/lib/libsox.so.1 -> libsox.so.1.0.0
+-rwxr-xr-x root/root usr/lib/libsox.so.1.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/sox.pc
+drwxr-xr-x root/root usr/lib/sox/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+lrwxrwxrwx root/root usr/share/man/man1/play.1.gz -> sox.1.gz
+lrwxrwxrwx root/root usr/share/man/man1/rec.1.gz -> sox.1.gz
+-rw-r--r-- root/root usr/share/man/man1/sox.1.gz
+-rw-r--r-- root/root usr/share/man/man1/soxi.1.gz
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/libsox.3.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/soxformat.7.gz
diff --git a/sox/.md5sum.i686 b/sox/.md5sum.i686
new file mode 100644
index 000000000..38b54a300
--- /dev/null
+++ b/sox/.md5sum.i686
@@ -0,0 +1,2 @@
+5fdf2681393f5ed045f3ff5e4ea163b1 sox-14.3.2-ffmpeg-0.8.patch
+e9d35cf3b0f8878596e0b7c49f9e8302 sox-14.3.2.tar.gz
diff --git a/sox/.md5sum.x86_64 b/sox/.md5sum.x86_64
new file mode 100644
index 000000000..38b54a300
--- /dev/null
+++ b/sox/.md5sum.x86_64
@@ -0,0 +1,2 @@
+5fdf2681393f5ed045f3ff5e4ea163b1 sox-14.3.2-ffmpeg-0.8.patch
+e9d35cf3b0f8878596e0b7c49f9e8302 sox-14.3.2.tar.gz
diff --git a/sox/Pkgfile b/sox/Pkgfile
new file mode 100644
index 000000000..12c985d22
--- /dev/null
+++ b/sox/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Le couteau suisse pour modifier le son de fichiers audio.
+# URL: http://sox.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libvorbis, lame, libmad, libsndfile, libsamplerate, amrnb, amrwb, ffmpeg, wavpack, libao
+# Run on: libvorbis,lame,libmad,libsndfile,libsamplerate,amrnb,amrwb,ffmpeg,wavpack,libao
+
+name=sox
+version=14.3.2
+release=4
+source=(http://sourceforge.net/projects/sox/files/$name/$version/$name-$version.tar.gz
+ sox-14.3.2-ffmpeg-0.8.patch)
+
+build() {
+ cd $name-$version
+ patch -p0 < ../sox-14.3.2-ffmpeg-0.8.patch
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+}
+
diff --git a/sox/sox-14.3.2-ffmpeg-0.8.patch b/sox/sox-14.3.2-ffmpeg-0.8.patch
new file mode 100644
index 000000000..023914694
--- /dev/null
+++ b/sox/sox-14.3.2-ffmpeg-0.8.patch
@@ -0,0 +1,38 @@
+--- src/ffmpeg.c.ffmpeg 2011-06-24 12:54:05.000000000 +0200
++++ src/ffmpeg.c 2011-06-24 12:55:19.000000000 +0200
+@@ -91,7 +91,7 @@
+
+ if (!codec || avcodec_open(enc, codec) < 0)
+ return -1;
+- if (enc->codec_type != CODEC_TYPE_AUDIO) {
++ if (enc->codec_type != AVMEDIA_TYPE_AUDIO) {
+ lsx_fail("ffmpeg CODEC %x is not an audio CODEC", enc->codec_type);
+ return -1;
+ }
+@@ -182,7 +182,7 @@
+ /* Find audio stream (FIXME: allow different stream to be selected) */
+ for (i = 0; (unsigned)i < ffmpeg->ctxt->nb_streams; i++) {
+ AVCodecContext *enc = ffmpeg->ctxt->streams[i]->codec;
+- if (enc->codec_type == CODEC_TYPE_AUDIO && ffmpeg->audio_index < 0) {
++ if (enc->codec_type == AVMEDIA_TYPE_AUDIO && ffmpeg->audio_index < 0) {
+ ffmpeg->audio_index = i;
+ break;
+ }
+@@ -273,7 +273,7 @@
+
+ c = st->codec;
+ c->codec_id = codec_id;
+- c->codec_type = CODEC_TYPE_AUDIO;
++ c->codec_type = AVMEDIA_TYPE_AUDIO;
+
+ /* put sample parameters */
+ c->bit_rate = 256000; /* FIXME: allow specification */
+@@ -423,7 +423,7 @@
+ av_init_packet(&pkt);
+ pkt.size = avcodec_encode_audio(c, ffmpeg->audio_buf_aligned, AVCODEC_MAX_AUDIO_FRAME_SIZE, ffmpeg->samples);
+ pkt.pts = av_rescale_q(c->coded_frame->pts, c->time_base, ffmpeg->audio_st->time_base);
+- pkt.flags |= PKT_FLAG_KEY;
++ pkt.flags |= AV_PKT_FLAG_KEY;
+ pkt.stream_index = ffmpeg->audio_st->index;
+ pkt.data = ffmpeg->audio_buf_aligned;
+