diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/sox | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/sox')
-rw-r--r-- | packages/sox/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/sox/sox/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/sox/sox/uclibc-fixes.patch | 35 | ||||
-rw-r--r-- | packages/sox/sox_12.17.5.bb | 20 |
4 files changed, 55 insertions, 0 deletions
diff --git a/packages/sox/.mtn2git_empty b/packages/sox/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sox/.mtn2git_empty diff --git a/packages/sox/sox/.mtn2git_empty b/packages/sox/sox/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sox/sox/.mtn2git_empty diff --git a/packages/sox/sox/uclibc-fixes.patch b/packages/sox/sox/uclibc-fixes.patch index e69de29bb2..7344d90aa3 100644 --- a/packages/sox/sox/uclibc-fixes.patch +++ b/packages/sox/sox/uclibc-fixes.patch @@ -0,0 +1,35 @@ +--- sox-12.17.5/vol.c 2001-11-22 20:42:57.000000000 -0700 ++++ sox-12.17.5.new/vol.c 2004-09-30 16:42:47.211148824 -0700 +@@ -15,8 +15,8 @@ + /* type used for computations. + */ + #ifndef VOL_FLOAT +-#define VOL_FLOAT float +-#define VOL_FLOAT_SCAN "%f" ++#define VOL_FLOAT double ++#define VOL_FLOAT_SCAN "%lf" + #endif + + /* constants +--- sox-12.17.5/configure.in 2004-08-06 16:08:20.000000000 -0700 ++++ sox-12.17.5.new/configure.in 2004-09-30 15:37:54.286963256 -0700 +@@ -273,7 +273,7 @@ + dnl Generate output files... + + AC_CONFIG_HEADER(stconfig.h) +-AC_CREATE_STDINT_H(ststdint.h) ++dnl AX_CREATE_STDINT_H(ststdint.h) + + AC_CONFIG_FILES([libst-config Makefile gsm/Makefile]) + AC_CONFIG_FILES([play], [chmod +x play]) +--- sox-12.17.5/st.h 2004-07-30 19:01:50.000000000 -0700 ++++ sox-12.17.5.new/st.h 2004-09-30 15:40:06.405878128 -0700 +@@ -17,7 +17,7 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include "ststdint.h" ++#include <stdint.h> + + /* Release 12.17.5 of libst */ + #define ST_LIB_VERSION_CODE 0x0c1105 diff --git a/packages/sox/sox_12.17.5.bb b/packages/sox/sox_12.17.5.bb index e69de29bb2..a3cd84e726 100644 --- a/packages/sox/sox_12.17.5.bb +++ b/packages/sox/sox_12.17.5.bb @@ -0,0 +1,20 @@ +# sox OE build file +# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="SoX is the Swiss Army knife of sound processing tools. \ +It converts audio files among various standard audio file formats \ +and can apply different effects and filters to the audio data." +LICENSE="GPL" +HOMEPAGE="http://sox.sourceforge.net" + +SRC_URI="${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz; \ + file://uclibc-fixes.patch;patch=1" + +inherit autotools + +do_install() { + make bindir="${D}${bindir}" libdir="${D}${libdir}" mandir="${D}/${mandir}" includedir="${D}${includedir}" install + rm ${D}${bindir}/rec + ln -s /usr/bin/play ${D}${bindir}/rec +} |