[oe-commits] Martin Jansa : fso-specs: don't break QA while staging pkgconfig file

git version control git at git.openembedded.org
Mon May 31 14:54:29 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f2949c20d2f4b6f02842a09650a93151c81f2ad3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f2949c20d2f4b6f02842a09650a93151c81f2ad3

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon May 31 15:16:33 2010 +0200

fso-specs: don't break QA while staging pkgconfig file

* move STAGING_DIR_HOST prefix to recipes using it

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/freesmartphone/fso-specs_git.bb   |    5 +----
 recipes/freesmartphone/libfso-glib_git.bb |    6 ++++++
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/recipes/freesmartphone/fso-specs_git.bb b/recipes/freesmartphone/fso-specs_git.bb
index a003637..345422a 100644
--- a/recipes/freesmartphone/fso-specs_git.bb
+++ b/recipes/freesmartphone/fso-specs_git.bb
@@ -7,6 +7,7 @@ SECTION = "devel/specifications"
 SRCREV = "5e5c9b52e7525085f0d8601861d712f05523ad0a"
 PV = "2010.05.11.2+gitr${SRCPV}"
 PE = "1"
+PR = "r1"
 
 SRC_URI = "${FREESMARTPHONE_GIT}/specs.git;protocol=git;branch=master"
 S = "${WORKDIR}/git"
@@ -14,7 +15,3 @@ S = "${WORKDIR}/git"
 inherit autotools pkgconfig
 
 FILES_${PN}-dev += "${datadir}/freesmartphone/xml"
-
-do_compile_append() {
-	sed -i -e s,\$\{datarootdir\},${STAGING_DATADIR},g *.pc
-}
diff --git a/recipes/freesmartphone/libfso-glib_git.bb b/recipes/freesmartphone/libfso-glib_git.bb
index dad6c00..ecfc9dc 100644
--- a/recipes/freesmartphone/libfso-glib_git.bb
+++ b/recipes/freesmartphone/libfso-glib_git.bb
@@ -6,8 +6,14 @@ DEPENDS = "vala-dbus-binding-tool-native dbus-glib glib-2.0 fso-specs"
 SRCREV = "5cda3952855d6c4273929449339b04509387bdd2"
 PV = "2010.05.11.2+gitr${SRCPV}"
 PE = "1"
+PR = "r1"
 
 inherit autotools vala
 
 SRC_URI = "${FREESMARTPHONE_GIT}/libfso-glib.git;protocol=git;branch=master"
 S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+       sed -i -e s#FSO_SPECS_DIR="#FSO_SPECS_DIR="${STAGING_DIR_HOST}/#g ${S}/configure.ac
+}
+





More information about the Openembedded-commits mailing list