[oe] [PATCH 11/13] fontforge: use bootstrap.bbclass

Andreas Müller schnitzeltony at googlemail.com
Fri Oct 30 12:13:43 UTC 2015


Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb
index eb58d8f..eb40eaa 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = " \
     file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \
 "
 
-inherit autotools pkgconfig pythonnative distro_features_check
-
 DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool"
 DEPENDS_append_class-target = " libxi"
+
+inherit bootstrap pkgconfig pythonnative distro_features_check
+
 REQUIRED_DISTRO_FEATURES_append_class-target = " x11"
 
 SRC_URI = "git://github.com/${BPN}/${BPN}.git"
@@ -19,13 +20,6 @@ S = "${WORKDIR}/git"
 
 EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting"
 
-do_configure_prepend() {
-    currdir=`pwd`
-    cd ${S}
-    ./bootstrap --force
-    cd $currdir
-}
-
 EXTRA_OEMAKE = "CFLAGS='${CFLAGS} -I${B}/uthash/src'"
 
 PACKAGES =+ "${PN}-python-dbg ${PN}-python"
-- 
2.1.0




More information about the Openembedded-devel mailing list