summaryrefslogtreecommitdiff
path: root/recipes/libsndfile
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/libsndfile
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/libsndfile')
-rw-r--r--recipes/libsndfile/files/configure-fix.patch10
-rw-r--r--recipes/libsndfile/libsndfile1_1.0.16.bb17
-rw-r--r--recipes/libsndfile/libsndfile1_1.0.17.bb25
3 files changed, 52 insertions, 0 deletions
diff --git a/recipes/libsndfile/files/configure-fix.patch b/recipes/libsndfile/files/configure-fix.patch
new file mode 100644
index 0000000000..1fcbb8c790
--- /dev/null
+++ b/recipes/libsndfile/files/configure-fix.patch
@@ -0,0 +1,10 @@
+--- /tmp/configure.ac 2008-06-02 20:33:03.191936504 +0200
++++ libsndfile-1.0.17/configure.ac 2008-06-02 20:33:15.120002907 +0200
+@@ -31,6 +31,7 @@
+ SHARED_VERSION_INFO="1:17:0"
+
+ AC_PROG_CC
++AC_PROG_CXX
+ AM_PROG_LIBTOOL
+
+ AC_CHECK_PROG(autogen, autogen, yes, no)
diff --git a/recipes/libsndfile/libsndfile1_1.0.16.bb b/recipes/libsndfile/libsndfile1_1.0.16.bb
new file mode 100644
index 0000000000..165ef6d38f
--- /dev/null
+++ b/recipes/libsndfile/libsndfile1_1.0.16.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "An audio format Conversion library"
+HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
+AUTHOR = "Erik de Castro Lopo"
+SECTION = "libs/multimedia"
+LICENSE = "LGPL"
+PR = "r2"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz"
+S = "${WORKDIR}/libsndfile-${PV}"
+
+inherit autotools lib_package pkgconfig
+
+do_stage() {
+ oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR}
+ install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/
+}
+
diff --git a/recipes/libsndfile/libsndfile1_1.0.17.bb b/recipes/libsndfile/libsndfile1_1.0.17.bb
new file mode 100644
index 0000000000..670f75b3fc
--- /dev/null
+++ b/recipes/libsndfile/libsndfile1_1.0.17.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "An audio format Conversion library"
+HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
+AUTHOR = "Erik de Castro Lopo"
+SECTION = "libs/multimedia"
+LICENSE = "LGPL"
+PR = "r2"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
+ file://configure-fix.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}/
+}
+