diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-graphics/graphviz | |
parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
download | meta-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.bb | 44 |
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 | " |
18 | DEPENDS_append_class-target = " ${BPN}-native" | 18 | DEPENDS:append:class-target = " ${BPN}-native" |
19 | DEPENDS_append_class-nativesdk = " ${BPN}-native" | 19 | DEPENDS:append:class-nativesdk = " ${BPN}-native" |
20 | 20 | ||
21 | inherit autotools-brokensep pkgconfig gettext | 21 | inherit 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 |
27 | SRC_URI_append_class-target = "\ | 27 | SRC_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 | " |
31 | SRC_URI_append_class-nativesdk = "\ | 31 | SRC_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 | " |
35 | SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313" | 35 | SRC_URI[sha256sum] = "8e1b34763254935243ccdb83c6ce108f531876d7a5dfd443f255e6418b8ea313" |
36 | 36 | ||
37 | EXTRA_OECONF_append = " PS2PDF=/bin/echo" | 37 | EXTRA_OECONF:append = " PS2PDF=/bin/echo" |
38 | 38 | ||
39 | EXTRA_OECONF_class-target = "\ | 39 | EXTRA_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 | " |
48 | EXTRA_OECONF_class-nativesdk = "\ | 48 | EXTRA_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 | " |
57 | CFLAGS_append_class-target = " -D_typ_ssize_t=1 -D_long_double=1" | 57 | CFLAGS:append:class-target = " -D_typ_ssize_t=1 -D_long_double=1" |
58 | CFLAGS_append_class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1" | 58 | CFLAGS:append:class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1" |
59 | do_configure_prepend() { | 59 | do_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 | ||
65 | do_install_append_class-native() { | 65 | do_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 | ||
70 | do_install_append_class-nativesdk() { | 70 | do_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 | } |
75 | FILES_${PN}_class-nativesdk += "${SDKPATHNATIVE}" | 75 | FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}" |
76 | 76 | ||
77 | PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo" | 77 | PACKAGES =+ "${PN}-python ${PN}-perl ${PN}-demo" |
78 | 78 | ||
79 | FILES_${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/" | 79 | FILES:${PN}-python += "${libdir}/python*/site-packages/ ${libdir}/graphviz/python/" |
80 | FILES_${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/" | 80 | FILES:${PN}-perl += "${libdir}/perl5/*/vendor_perl/ ${libdir}/graphviz/perl/" |
81 | FILES_${PN}-demo += "${datadir}/graphviz/demo/" | 81 | FILES:${PN}-demo += "${datadir}/graphviz/demo/" |
82 | 82 | ||
83 | RDEPENDS_${PN}-perl += "perl" | 83 | RDEPENDS:${PN}-perl += "perl" |
84 | RDEPENDS_${PN}-python += "python3" | 84 | RDEPENDS:${PN}-python += "python3" |
85 | RDEPENDS_${PN}-demo += "python3 perl" | 85 | RDEPENDS:${PN}-demo += "python3 perl" |
86 | 86 | ||
87 | INSANE_SKIP_${PN}-perl = "dev-so" | 87 | INSANE_SKIP:${PN}-perl = "dev-so" |
88 | INSANE_SKIP_${PN}-python = "dev-so" | 88 | INSANE_SKIP:${PN}-python = "dev-so" |
89 | 89 | ||
90 | FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" | 90 | FILES_SOLIBSDEV:append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" |
91 | 91 | ||
92 | BBCLASSEXTEND = "native nativesdk" | 92 | BBCLASSEXTEND = "native nativesdk" |