diff options
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.bb | 19 |
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 |
32 | SRC_URI_append_class-target = " file://0001-Use-native-mkdefs.patch" | 32 | SRC_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 | " | ||
33 | SRC_URI[md5sum] = "2acf30ca8e6cc8b001b0334db65fd072" | 36 | SRC_URI[md5sum] = "2acf30ca8e6cc8b001b0334db65fd072" |
34 | SRC_URI[sha256sum] = "e6c3f8dbfde1c4523055403927bef29f97f9fc12715c1042b5dcf648a2c1c62a" | 37 | SRC_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 | ||
62 | PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo" | ||
63 | |||
64 | FILES_${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/" | ||
65 | FILES_${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/" | ||
66 | FILES_${PN}-demo += "${datadir}/graphviz/demo/" | ||
67 | |||
68 | RDEPENDS_${PN}-perl += "perl" | ||
69 | RDEPENDS_${PN}-python += "python" | ||
70 | RDEPENDS_${PN}-demo += "python perl" | ||
71 | |||
72 | INSANE_SKIP_${PN}-perl = "dev-so" | ||
73 | INSANE_SKIP_${PN}-python = "dev-so" | ||
74 | |||
58 | FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" | 75 | FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" |
59 | 76 | ||
60 | BBCLASSEXTEND = "native" | 77 | BBCLASSEXTEND = "native" |