summaryrefslogtreecommitdiffstats
path: root/meta-openmoko
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-07-02 14:22:16 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-07-02 14:22:16 +0000
commit44b8971cdc9846721661c4406c79f656b5f4e0e1 (patch)
treecde93c9005672e6fa011c03b99f6f90e1f262d94 /meta-openmoko
parent3a7ed03f2530130c39377a13feffa8bbb8152039 (diff)
downloadopenembedded-core-44b8971cdc9846721661c4406c79f656b5f4e0e1.tar.gz
openembedded-core-44b8971cdc9846721661c4406c79f656b5f4e0e1.tar.bz2
openembedded-core-44b8971cdc9846721661c4406c79f656b5f4e0e1.zip
libspiff: added from OE (needed by openmoko-mediaplayer2)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4777 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko')
-rw-r--r--meta-openmoko/packages/libspiff/files/autofoo.patch29
-rw-r--r--meta-openmoko/packages/libspiff/libspiff_0.8.2.bb23
2 files changed, 52 insertions, 0 deletions
diff --git a/meta-openmoko/packages/libspiff/files/autofoo.patch b/meta-openmoko/packages/libspiff/files/autofoo.patch
new file mode 100644
index 0000000000..5f96a2c217
--- /dev/null
+++ b/meta-openmoko/packages/libspiff/files/autofoo.patch
@@ -0,0 +1,29 @@
+Index: libspiff-0.8.2/configure.in
+===================================================================
+--- libspiff-0.8.2.orig/configure.in
++++ libspiff-0.8.2/configure.in
+@@ -80,24 +80,6 @@ AC_ARG_WITH(uriparser-lib, [ --with-uri
+
+
+
+-# Local headers must come very first. Otherwise we
+-# risk including headers of an already installed
+-# libSpiff version if its path is in CPPFLAGS
+-CPPFLAGS="-I${srcdir}/include ${CPPFLAGS}"
+-
+-
+-
+-# Append $prefix as a fallback at the very end
+-if test "x${prefix}" != "xNONE"; then
+- WORKING_PREFIX=${prefix}
+-else
+- WORKING_PREFIX=${ac_default_prefix}
+-fi
+-LDFLAGS="${LDFLAGS} -L${WORKING_PREFIX}/lib"
+-CPPFLAGS="${CPPFLAGS} -I${WORKING_PREFIX}/include"
+-
+-
+-
+ # Check presence
+ EXPAT_MISSING="Please install libexpat 1.95.8 or later.
+ On Ubuntu enter 'sudo apt-get install libexpat-dev'."
diff --git a/meta-openmoko/packages/libspiff/libspiff_0.8.2.bb b/meta-openmoko/packages/libspiff/libspiff_0.8.2.bb
new file mode 100644
index 0000000000..06be4b3aa4
--- /dev/null
+++ b/meta-openmoko/packages/libspiff/libspiff_0.8.2.bb
@@ -0,0 +1,23 @@
+DESCRIPTION = "libSpiff brings XSPF playlist reading and writing support to your C++ application."
+HOMEPAGE = "http://libspiff.sf.net"
+SECTION = "libs"
+LICENSE = "BSD"
+DEPENDS = "expat liburiparser"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/libspiff/libspiff-${PV}.tar.bz2 \
+ file://autofoo.patch;patch=1"
+S = "${WORKDIR}/libspiff-${PV}"
+
+inherit autotools pkgconfig lib_package
+
+EXTRA_OECONF = "\
+ --with-expat=${STAGING_LIBDIR}/.. \
+ --with-uriparser=${STAGING_LIBDIR}/.. \
+"
+
+CPPFLAGS += "-I${S}/include"
+
+do_stage() {
+ autotools_stage_all
+}
+