diff options
author | Saul Wold <Saul.Wold@intel.com> | 2010-11-11 15:14:02 -0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-11-18 13:30:24 -0800 |
commit | 041fc758e250a70a19ee2019e82fd9ed7e3b7101 (patch) | |
tree | e2c6961cde91e31e927b8eee5048d4a7ba94b197 /meta/recipes-multimedia/libsndfile | |
parent | 48c8100cc161fcc932a92a92637304796c623f3d (diff) | |
download | poky-041fc758e250a70a19ee2019e82fd9ed7e3b7101.tar.gz |
libsndfile: Upgrade to 1.0.23
Renamed and moved to recipes-multimedia
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/libsndfile')
3 files changed, 68 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/acincludefix.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/acincludefix.patch new file mode 100644 index 0000000000..46a21c19be --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/acincludefix.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Fix m4 quoting to avoid an infinite loop in m4 with recent autoconf/automake | ||
2 | |||
3 | RP 1/2/10 | ||
4 | |||
5 | Index: libsndfile-1.0.17/acinclude.m4 | ||
6 | =================================================================== | ||
7 | --- libsndfile-1.0.17.orig/acinclude.m4 2010-02-01 14:53:35.517826746 +0000 | ||
8 | +++ libsndfile-1.0.17/acinclude.m4 2010-02-01 14:53:51.409122706 +0000 | ||
9 | @@ -255,7 +255,7 @@ | ||
10 | |||
11 | ) | ||
12 | ] | ||
13 | - | ||
14 | +[ | ||
15 | if test $ac_cv_c_byte_order = big ; then | ||
16 | ac_cv_c_big_endian=1 | ||
17 | ac_cv_c_little_endian=0 | ||
18 | @@ -272,7 +272,7 @@ | ||
19 | AC_MSG_WARN([[*** src/config.h may need to be hand editied. ]]) | ||
20 | AC_MSG_WARN([[*****************************************************************]]) | ||
21 | fi | ||
22 | - | ||
23 | +] | ||
24 | )# AC_C_FIND_ENDIAN | ||
25 | |||
26 | |||
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/add-cxx.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/add-cxx.patch new file mode 100644 index 0000000000..da0c4010e6 --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/add-cxx.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | --- | ||
2 | configure.ac | 1 + | ||
3 | 1 file changed, 1 insertion(+) | ||
4 | |||
5 | --- libsndfile-1.0.17.orig/configure.ac | ||
6 | +++ libsndfile-1.0.17/configure.ac | ||
7 | @@ -29,10 +29,11 @@ AC_LANG([C]) | ||
8 | # to 0. | ||
9 | |||
10 | SHARED_VERSION_INFO="1:17:0" | ||
11 | |||
12 | AC_PROG_CC | ||
13 | +AC_PROG_CXX | ||
14 | AM_PROG_LIBTOOL | ||
15 | |||
16 | AC_CHECK_PROG(autogen, autogen, yes, no) | ||
17 | |||
18 | AC_PROG_INSTALL | ||
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb new file mode 100644 index 0000000000..c5a3983538 --- /dev/null +++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "An audio format Conversion library" | ||
2 | HOMEPAGE = "http://www.mega-nerd.com/libsndfile" | ||
3 | AUTHOR = "Erik de Castro Lopo" | ||
4 | DEPENDS = "sqlite3" | ||
5 | SECTION = "libs/multimedia" | ||
6 | LICENSE = "LGPLv2.1" | ||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz \ | ||
10 | file://acincludefix.patch;patch=1 \ | ||
11 | file://add-cxx.patch;patch=1" | ||
12 | |||
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" | ||
14 | |||
15 | S = "${WORKDIR}/libsndfile-${PV}" | ||
16 | |||
17 | inherit autotools lib_package pkgconfig | ||
18 | |||
19 | do_configure_prepend_arm() { | ||
20 | export ac_cv_sys_largefile_source=1 | ||
21 | export ac_cv_sys_file_offset_bits=64 | ||
22 | ac_cv_sizeof_off_t=8 | ||
23 | } | ||
24 | |||