summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb')
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb19
1 files changed, 18 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb b/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb
index fb8ea2a5b..176cf4498 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb
@@ -29,7 +29,10 @@ SRC_URI = "https://gitlab.com/graphviz/graphviz/-/archive/stable_release_${PV}/g
29 file://0001-plugin-pango-Include-freetype-headers-explicitly.patch \ 29 file://0001-plugin-pango-Include-freetype-headers-explicitly.patch \
30" 30"
31# Use native mkdefs 31# Use native mkdefs
32SRC_URI_append_class-target = " file://0001-Use-native-mkdefs.patch" 32SRC_URI_append_class-target = "\
33 file://0001-Use-native-mkdefs.patch \
34 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \
35"
33SRC_URI[md5sum] = "2acf30ca8e6cc8b001b0334db65fd072" 36SRC_URI[md5sum] = "2acf30ca8e6cc8b001b0334db65fd072"
34SRC_URI[sha256sum] = "e6c3f8dbfde1c4523055403927bef29f97f9fc12715c1042b5dcf648a2c1c62a" 37SRC_URI[sha256sum] = "e6c3f8dbfde1c4523055403927bef29f97f9fc12715c1042b5dcf648a2c1c62a"
35 38
@@ -40,6 +43,7 @@ EXTRA_OECONF_class-target = "\
40 --with-expatlibdir=${STAGING_LIBDIR} \ 43 --with-expatlibdir=${STAGING_LIBDIR} \
41 --without-included-ltdl \ 44 --without-included-ltdl \
42 --disable-java \ 45 --disable-java \
46 --disable-tcl \
43 --disable-r \ 47 --disable-r \
44 --disable-sharp \ 48 --disable-sharp \
45 " 49 "
@@ -55,6 +59,19 @@ do_install_append_class-native() {
55 install -m755 ${B}/lib/gvpr/mkdefs ${D}${bindir} 59 install -m755 ${B}/lib/gvpr/mkdefs ${D}${bindir}
56} 60}
57 61
62PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo"
63
64FILES_${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/"
65FILES_${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/"
66FILES_${PN}-demo += "${datadir}/graphviz/demo/"
67
68RDEPENDS_${PN}-perl += "perl"
69RDEPENDS_${PN}-python += "python"
70RDEPENDS_${PN}-demo += "python perl"
71
72INSANE_SKIP_${PN}-perl = "dev-so"
73INSANE_SKIP_${PN}-python = "dev-so"
74
58FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" 75FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}"
59 76
60BBCLASSEXTEND = "native" 77BBCLASSEXTEND = "native"