diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-17 15:01:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-17 15:01:24 +0100 |
commit | 814700d243d8eae70dffa9bef5e5111ad6902d7f (patch) | |
tree | a2522e1967f79bb6fa18c38f38d96081ea3199cf /meta-moblin/packages/libsndfile | |
parent | b8abc2db38a08e803c0b278cbe16f42b5f313a3c (diff) | |
download | openembedded-core-814700d243d8eae70dffa9bef5e5111ad6902d7f.tar.gz openembedded-core-814700d243d8eae70dffa9bef5e5111ad6902d7f.tar.bz2 openembedded-core-814700d243d8eae70dffa9bef5e5111ad6902d7f.zip |
Move libsampletate and libsndfile from meta-openmoko -> meta-moblin
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin/packages/libsndfile')
-rw-r--r-- | meta-moblin/packages/libsndfile/files/add-cxx.patch | 18 | ||||
-rw-r--r-- | meta-moblin/packages/libsndfile/libsndfile1_1.0.17.bb | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-moblin/packages/libsndfile/files/add-cxx.patch b/meta-moblin/packages/libsndfile/files/add-cxx.patch new file mode 100644 index 0000000000..da0c4010e6 --- /dev/null +++ b/meta-moblin/packages/libsndfile/files/add-cxx.patch @@ -0,0 +1,18 @@ +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +--- libsndfile-1.0.17.orig/configure.ac ++++ libsndfile-1.0.17/configure.ac +@@ -29,10 +29,11 @@ AC_LANG([C]) + # to 0. + + SHARED_VERSION_INFO="1:17:0" + + AC_PROG_CC ++AC_PROG_CXX + AM_PROG_LIBTOOL + + AC_CHECK_PROG(autogen, autogen, yes, no) + + AC_PROG_INSTALL diff --git a/meta-moblin/packages/libsndfile/libsndfile1_1.0.17.bb b/meta-moblin/packages/libsndfile/libsndfile1_1.0.17.bb new file mode 100644 index 0000000000..f2d134b5e1 --- /dev/null +++ b/meta-moblin/packages/libsndfile/libsndfile1_1.0.17.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "An audio format Conversion library" +HOMEPAGE = "http://www.mega-nerd.com/libsndfile" +AUTHOR = "Erik de Castro Lopo" +DEPENDS = "sqlite3" +SECTION = "libs/multimedia" +LICENSE = "LGPL" +PR = "r2" + +SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \ + file://add-cxx.patch;patch=1" + +S = "${WORKDIR}/libsndfile-${PV}" + +inherit autotools lib_package pkgconfig + +do_configure_prepend_arm() { + export ac_cv_sys_largefile_source=1 + export ac_cv_sys_file_offset_bits=64 + ac_cv_sizeof_off_t=8 +} + +do_stage() { + oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR} + install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/ +} + |