summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-21 22:21:58 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 09:56:35 -0800
commit2b67b882ee6c7c49b506e283988d115493a1ce9d (patch)
tree46e9721335c4c6f9773b3ba74365685460d8d64f /meta-oe/recipes-graphics
parent2767682e984fc612ab7e9aa4cf3d48e22eeebe04 (diff)
downloadmeta-openembedded-2b67b882ee6c7c49b506e283988d115493a1ce9d.tar.gz
fontforge: Link with libpython3
Helps building with python3 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb
index c12d01e2d..1863f95f0 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20190801.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = " \
6 file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \ 6 file://LICENSE;md5=d042f3d2a8fd7208b704a499168e3c89 \
7" 7"
8 8
9DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native" 9DEPENDS = "python3 glib-2.0 pango giflib tiff libxml2 jpeg libtool uthash gettext-native"
10DEPENDS_append_class-target = " libxi" 10DEPENDS_append_class-target = " libxi"
11 11
12inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg 12inherit autotools pkgconfig python3native features_check gettext gtk-icon-cache mime mime-xdg
@@ -20,9 +20,12 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git \
20" 20"
21S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
22 22
23EXTRA_OECONF += "--without-libuninameslist" 23EXTRA_OECONF += "--without-libuninameslist --enable-python-scripting --enable-python-extension"
24EXTRA_OECONF_append_class-native = " with_x=no" 24EXTRA_OECONF_append_class-native = " with_x=no"
25 25
26LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
27BUILD_LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
28
26#do_configure_prepend() { 29#do_configure_prepend() {
27# uthash sources are expected in uthash/src 30# uthash sources are expected in uthash/src
28# mkdir -p ${S}/uthash/src 31# mkdir -p ${S}/uthash/src