diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /meta-openembedded/meta-oe/recipes-graphics/fontforge | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-graphics/fontforge')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20170731.bb | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20170731.bb b/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20170731.bb new file mode 100644 index 000000000..481fedf98 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20170731.bb @@ -0,0 +1,60 @@ +SUMMARY = "A font editor" +HOMEPAGE = "http://fontforge.github.io/en-US/" +LICENSE = "BSD-3-Clause & GPLv3" +LIC_FILES_CHKSUM = " \ + file://COPYING.gplv3;md5=d32239bcb673463ab874e80d47fae504 \ + file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \ +" + +DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash gnulib gettext-native" +DEPENDS_append_class-target = " libxi" + +inherit autotools pkgconfig pythonnative distro_features_check gettext + +REQUIRED_DISTRO_FEATURES_append_class-target = " x11" + +SRC_URI = "git://github.com/${BPN}/${BPN}.git" +# tag 20170731 +SRCREV = "b9149c13e8f9464fc21473f1f676b36a2130775d" +S = "${WORKDIR}/git" + +EXTRA_OECONF_append_class-native = " with_x=no" + +do_configure_prepend() { + # uthash sources are expected in uthash/src + currdir=`pwd` + cd ${S} + + mkdir -p uthash/src + cp ${STAGING_INCDIR}/ut*.h uthash/src + + # avoid bootstrap cloning gnulib on every configure + cat >.gitmodules <<EOF +[submodule "gnulib"] + path = gnulib + url = git://git.sv.gnu.org/gnulib +EOF + cp -rf ${STAGING_DATADIR}/gnulib ${S} + + # --force to avoid errors on reconfigure e.g if recipes changed we depend on + # | bootstrap: running: libtoolize --quiet + # | libtoolize: error: 'libltdl/COPYING.LIB' exists: use '--force' to overwrite + # | ... + ./bootstrap --force + + cd $currdir +} + +PACKAGES =+ "${PN}-python-dbg ${PN}-python" + +FILES_${PN} += " \ + ${datadir}/mime \ + ${datadir}/icons \ +" + +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${PN}/python" +FILES_${PN}-python-dbg = "${PYTHON_SITEPACKAGES_DIR}/.debug" +RDEPENDS_${PN}-python = "python" + +# for e.g kde's oxygen-fonts +BBCLASSEXTEND = "native" |