summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-02-22 22:06:37 +0000
committerGraeme Gregory <dp@xora.org.uk>2010-02-22 22:06:37 +0000
commit5aa5974c1f126ce91bbd24d46d80463d1510701f (patch)
tree00cc2c7c59b5d99b9ad7885763d983635ea3ccac /recipes
parenta9484a829186ca3311d7e2087a3eae6296bb243f (diff)
libgpsbt_0.1.bb : apply patch to remove debian requirement, update staging.
http://wiki.navit-project.org/index.php/Navit_on_OpenEmbedded_for_n810 has a patch that is required on non debian systems.
Diffstat (limited to 'recipes')
-rw-r--r--recipes/maemo4/libgpsbt/configure-fix-version.patch17
-rw-r--r--recipes/maemo4/libgpsbt_0.1.bb12
2 files changed, 21 insertions, 8 deletions
diff --git a/recipes/maemo4/libgpsbt/configure-fix-version.patch b/recipes/maemo4/libgpsbt/configure-fix-version.patch
new file mode 100644
index 0000000000..f628745572
--- /dev/null
+++ b/recipes/maemo4/libgpsbt/configure-fix-version.patch
@@ -0,0 +1,17 @@
+Patch to fix compilation on systems not debian. Taken from
+
+http://wiki.navit-project.org/index.php/Navit_on_OpenEmbedded_for_n810#libgpsmgr_patch
+
+Index: libgpsbt-0.1/configure.ac
+===================================================================
+--- libgpsbt-0.1.orig/configure.ac
++++ libgpsbt-0.1/configure.ac
+@@ -1,6 +1,5 @@
+-AC_INIT(Makefile.am)
+-AM_INIT_AUTOMAKE(libgpsbt, patsubst(esyscmd([dpkg-parsechangelog | sed -n '/^Version: \(.*\)$/ {s//\1/;p}']), [
+-]))
++AC_INIT(Makefile.am, [0.1])
++AM_INIT_AUTOMAKE(libgpsbt, [0.1])
+ AM_CONFIG_HEADER(config.h)
+
+ AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug],[Debug (default=no)])])
diff --git a/recipes/maemo4/libgpsbt_0.1.bb b/recipes/maemo4/libgpsbt_0.1.bb
index 2b2c0a1ee4..8293f350c5 100644
--- a/recipes/maemo4/libgpsbt_0.1.bb
+++ b/recipes/maemo4/libgpsbt_0.1.bb
@@ -1,19 +1,15 @@
LICENSE = "nokia"
-PR = "r1"
+PR = "r2"
DEPENDS = "libgpsmgr dbus"
# This is proprietary software in Chinook, so we have to stay with the last released
# free version.
-SRC_URI = "http://repository.maemo.org/pool/bora/free/source/${PN}_${PV}-18.tar.gz"
+SRC_URI = "http://repository.maemo.org/pool/bora/free/source/${PN}_${PV}-18.tar.gz \
+ file://configure-fix-version.patch;patch=1"
-inherit autotools pkgconfig
+inherit autotools
TARGET_CC_ARCH += "${LDFLAGS}"
-do_stage() {
- autotools_stage_all
-}
-
-