From c8e5702127e507e82e6f68a4b8c546803accea9d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 30 Jun 2005 08:19:37 +0000 Subject: import clean BK tree at cset 1.3670 --- packages/sox/.mtn2git_empty | 0 packages/sox/sox/.mtn2git_empty | 0 packages/sox/sox/uclibc-fixes.patch | 35 +++++++++++++++++++++++++++++++++++ packages/sox/sox_12.17.5.bb | 20 ++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 packages/sox/.mtn2git_empty create mode 100644 packages/sox/sox/.mtn2git_empty (limited to 'packages/sox') diff --git a/packages/sox/.mtn2git_empty b/packages/sox/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/sox/sox/.mtn2git_empty b/packages/sox/sox/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 + #include +-#include "ststdint.h" ++#include + + /* 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 +} -- cgit 1.2.3-korg