summaryrefslogtreecommitdiffstats
path: root/sox
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-08-05 19:55:18 +0200
committerpiernov <piernov@piernov.org>2011-08-05 19:55:18 +0200
commit6eea0db26d3ccd8c24c90b4fbe1cbe18eed4fe6a (patch)
treeabc845e7f71165b9039af6df3863b08ce88357c1 /sox
parentf25e729ba72f3b939f9c5206e15e0e6177ae7413 (diff)
downloadgnome3-6eea0db26d3ccd8c24c90b4fbe1cbe18eed4fe6a.tar.gz
gnome3-6eea0db26d3ccd8c24c90b4fbe1cbe18eed4fe6a.tar.bz2
gnome3-6eea0db26d3ccd8c24c90b4fbe1cbe18eed4fe6a.tar.xz
gnome3-6eea0db26d3ccd8c24c90b4fbe1cbe18eed4fe6a.zip
sox 14.3.2-2 ajout port
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 0000000..b462949
--- /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 0000000..b462949
--- /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 0000000..38b54a3
--- /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 0000000..38b54a3
--- /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 0000000..60a0f48
--- /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=3
+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 0000000..0239146
--- /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;
+