summaryrefslogtreecommitdiffstats
path: root/meta-openmoko/packages/libspiff
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/packages/libspiff
parent3a7ed03f2530130c39377a13feffa8bbb8152039 (diff)
downloadpoky-44b8971cdc9846721661c4406c79f656b5f4e0e1.tar.gz
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/packages/libspiff')
-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 @@
1Index: libspiff-0.8.2/configure.in
2===================================================================
3--- libspiff-0.8.2.orig/configure.in
4+++ libspiff-0.8.2/configure.in
5@@ -80,24 +80,6 @@ AC_ARG_WITH(uriparser-lib, [ --with-uri
6
7
8
9-# Local headers must come very first. Otherwise we
10-# risk including headers of an already installed
11-# libSpiff version if its path is in CPPFLAGS
12-CPPFLAGS="-I${srcdir}/include ${CPPFLAGS}"
13-
14-
15-
16-# Append $prefix as a fallback at the very end
17-if test "x${prefix}" != "xNONE"; then
18- WORKING_PREFIX=${prefix}
19-else
20- WORKING_PREFIX=${ac_default_prefix}
21-fi
22-LDFLAGS="${LDFLAGS} -L${WORKING_PREFIX}/lib"
23-CPPFLAGS="${CPPFLAGS} -I${WORKING_PREFIX}/include"
24-
25-
26-
27 # Check presence
28 EXPAT_MISSING="Please install libexpat 1.95.8 or later.
29 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 @@
1DESCRIPTION = "libSpiff brings XSPF playlist reading and writing support to your C++ application."
2HOMEPAGE = "http://libspiff.sf.net"
3SECTION = "libs"
4LICENSE = "BSD"
5DEPENDS = "expat liburiparser"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/libspiff/libspiff-${PV}.tar.bz2 \
8 file://autofoo.patch;patch=1"
9S = "${WORKDIR}/libspiff-${PV}"
10
11inherit autotools pkgconfig lib_package
12
13EXTRA_OECONF = "\
14 --with-expat=${STAGING_LIBDIR}/.. \
15 --with-uriparser=${STAGING_LIBDIR}/.. \
16"
17
18CPPFLAGS += "-I${S}/include"
19
20do_stage() {
21 autotools_stage_all
22}
23