fso-specs: don't break QA while staging pkgconfig file
authorMartin Jansa <Martin.Jansa@gmail.com>
Mon, 31 May 2010 13:16:33 +0000 (15:16 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Mon, 31 May 2010 14:51:05 +0000 (16:51 +0200)
* move STAGING_DIR_HOST prefix to recipes using it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/freesmartphone/fso-specs_git.bb
recipes/freesmartphone/libfso-glib_git.bb

index a003637..345422a 100644 (file)
@@ -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
-}
index dad6c00..ecfc9dc 100644 (file)
@@ -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
+}
+