summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/graphviz
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-graphics/graphviz
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/graphviz')
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb44
1 files changed, 22 insertions, 22 deletions
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb b/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb
index 8fe837b75..7d2515e07 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_2.44.1.bb
@@ -15,8 +15,8 @@ DEPENDS = " \
15 expat \ 15 expat \
16 freetype \ 16 freetype \
17" 17"
18DEPENDS_append_class-target = " ${BPN}-native" 18DEPENDS:append:class-target = " ${BPN}-native"
19DEPENDS_append_class-nativesdk = " ${BPN}-native" 19DEPENDS:append:class-nativesdk = " ${BPN}-native"
20 20
21inherit autotools-brokensep pkgconfig gettext 21inherit autotools-brokensep pkgconfig gettext
22 22
@@ -24,19 +24,19 @@ SRC_URI = "https://www2.graphviz.org/Packages/stable/portable_source/${BP}.tar.g
24 file://0001-plugin-pango-Include-freetype-headers-explicitly.patch \ 24 file://0001-plugin-pango-Include-freetype-headers-explicitly.patch \
25" 25"
26# Use native mkdefs 26# Use native mkdefs
27SRC_URI_append_class-target = "\ 27SRC_URI:append:class-target = "\
28 file://0001-Use-native-mkdefs.patch \ 28 file://0001-Use-native-mkdefs.patch \
29 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \ 29 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \
30" 30"
31SRC_URI_append_class-nativesdk = "\ 31SRC_URI:append:class-nativesdk = "\
32 file://0001-Use-native-mkdefs.patch \ 32 file://0001-Use-native-mkdefs.patch \
33 file://graphviz-setup.sh \ 33 file://graphviz-setup.sh \
34" 34"
35SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313" 35SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313"
36 36
37EXTRA_OECONF_append = " PS2PDF=/bin/echo" 37EXTRA_OECONF:append = " PS2PDF=/bin/echo"
38 38
39EXTRA_OECONF_class-target = "\ 39EXTRA_OECONF:class-target = "\
40 --with-expatincludedir=${STAGING_INCDIR} \ 40 --with-expatincludedir=${STAGING_INCDIR} \
41 --with-expatlibdir=${STAGING_LIBDIR} \ 41 --with-expatlibdir=${STAGING_LIBDIR} \
42 --without-included-ltdl \ 42 --without-included-ltdl \
@@ -45,7 +45,7 @@ EXTRA_OECONF_class-target = "\
45 --disable-r \ 45 --disable-r \
46 --disable-sharp \ 46 --disable-sharp \
47 " 47 "
48EXTRA_OECONF_class-nativesdk = "\ 48EXTRA_OECONF:class-nativesdk = "\
49 --with-expatincludedir=${STAGING_INCDIR} \ 49 --with-expatincludedir=${STAGING_INCDIR} \
50 --with-expatlibdir=${STAGING_LIBDIR} \ 50 --with-expatlibdir=${STAGING_LIBDIR} \
51 --without-included-ltdl \ 51 --without-included-ltdl \
@@ -54,39 +54,39 @@ EXTRA_OECONF_class-nativesdk = "\
54 --disable-r \ 54 --disable-r \
55 --disable-sharp \ 55 --disable-sharp \
56 " 56 "
57CFLAGS_append_class-target = " -D_typ_ssize_t=1 -D_long_double=1" 57CFLAGS:append:class-target = " -D_typ_ssize_t=1 -D_long_double=1"
58CFLAGS_append_class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1" 58CFLAGS:append:class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1"
59do_configure_prepend() { 59do_configure:prepend() {
60 cd ${S} 60 cd ${S}
61 # create version.m4 and ignore libtoolize errors 61 # create version.m4 and ignore libtoolize errors
62 ./autogen.sh NOCONFIG || true 62 ./autogen.sh NOCONFIG || true
63} 63}
64 64
65do_install_append_class-native() { 65do_install:append:class-native() {
66 # install mkdefs for target build 66 # install mkdefs for target build
67 install -m755 ${B}/lib/gvpr/mkdefs ${D}${bindir} 67 install -m755 ${B}/lib/gvpr/mkdefs ${D}${bindir}
68} 68}
69 69
70do_install_append_class-nativesdk() { 70do_install:append:class-nativesdk() {
71 # graphviz-setup.sh must be executed at SDK installation 71 # graphviz-setup.sh must be executed at SDK installation
72 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d 72 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
73 install -m 0755 ${WORKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d 73 install -m 0755 ${WORKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d
74} 74}
75FILES_${PN}_class-nativesdk += "${SDKPATHNATIVE}" 75FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}"
76 76
77PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo" 77PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo"
78 78
79FILES_${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/" 79FILES:${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/"
80FILES_${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/" 80FILES:${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/"
81FILES_${PN}-demo += "${datadir}/graphviz/demo/" 81FILES:${PN}-demo += "${datadir}/graphviz/demo/"
82 82
83RDEPENDS_${PN}-perl += "perl" 83RDEPENDS:${PN}-perl += "perl"
84RDEPENDS_${PN}-python += "python3" 84RDEPENDS:${PN}-python += "python3"
85RDEPENDS_${PN}-demo += "python3 perl" 85RDEPENDS:${PN}-demo += "python3 perl"
86 86
87INSANE_SKIP_${PN}-perl = "dev-so" 87INSANE_SKIP:${PN}-perl = "dev-so"
88INSANE_SKIP_${PN}-python = "dev-so" 88INSANE_SKIP:${PN}-python = "dev-so"
89 89
90FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" 90FILES_SOLIBSDEV:append = " ${libdir}/graphviz/lib*${SOLIBSDEV}"
91 91
92BBCLASSEXTEND = "native nativesdk" 92BBCLASSEXTEND = "native nativesdk"