From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../fontforge/fontforge_20190801.bb | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 external/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb (limited to 'external/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb') diff --git a/external/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb b/external/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb new file mode 100644 index 00000000..1863f95f --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb @@ -0,0 +1,47 @@ +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=d042f3d2a8fd7208b704a499168e3c89 \ +" + +DEPENDS = "python3 glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native" +DEPENDS_append_class-target = " libxi" + +inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg + +REQUIRED_DISTRO_FEATURES_append_class-target = " x11" + +# tag 20190801 +SRCREV = "ac635b818e38ddb8e7e2e1057330a32b4e25476e" +SRC_URI = "git://github.com/${BPN}/${BPN}.git \ + file://0001-include-sys-select-on-non-glibc-platforms.patch \ +" +S = "${WORKDIR}/git" + +EXTRA_OECONF += "--without-libuninameslist --enable-python-scripting --enable-python-extension" +EXTRA_OECONF_append_class-native = " with_x=no" + +LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" +BUILD_LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" + +#do_configure_prepend() { +# uthash sources are expected in uthash/src +# mkdir -p ${S}/uthash/src +# cp ${STAGING_INCDIR}/ut*.h ${S}/uthash/src +#} + +PACKAGES =+ "${PN}-python" + +FILES_${PN} += " \ + ${datadir}/appdata \ + ${datadir}/metainfo \ + ${datadir}/mime \ +" + +FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR} ${datadir}/${BPN}/python" +RDEPENDS_${PN}-python = "python3" + +# for e.g kde's oxygen-fonts +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg