diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-05 22:28:33 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-05 22:31:28 +0300 |
commit | 193236933b0f4ab91b1625b64e2187e2db4e0e8f (patch) | |
tree | e12769d7c76d8b0517d6de3d3c72189753d253ed /meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb | |
parent | bd93df9478f2f56ffcbc8cb88f1709c735dcd85b (diff) | |
download | openbmc-193236933b0f4ab91b1625b64e2187e2db4e0e8f.tar.xz |
reset upstream subtrees to HEAD
Reset the following subtrees on HEAD:
poky: 8217b477a1(master)
meta-xilinx: 64aa3d35ae(master)
meta-openembedded: 0435c9e193(master)
meta-raspberrypi: 490a4441ac(master)
meta-security: cb6d1c85ee(master)
Squashed patches:
meta-phosphor: drop systemd 239 patches
meta-phosphor: mrw-api: use correct install path
Change-Id: I268e2646d9174ad305630c6bbd3fbc1a6105f43d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb b/meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb new file mode 100644 index 000000000..a9efffaca --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-graphics/graphviz/graphviz_2.40.1.bb @@ -0,0 +1,59 @@ +SUMMARY = "Graph Visualization Tools" +HOMEPAGE = "http://www.graphviz.org" +LICENSE = "EPL-1.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=9109f5fc16cf963fb3cdd32781b3ce04" + +DEPENDS = " \ + intltool-native \ + bison-native \ + groff-native \ + libtool \ + gdk-pixbuf \ + librsvg \ + cairo \ + pango \ + expat \ + freetype \ +" +DEPENDS_append_class-target = " ${BPN}-native" + +inherit autotools-brokensep pkgconfig gettext + +# The source tarball suggested at +# https://graphviz.gitlab.io/_pages/Download/Download_source.html has no +# version in its name. So once graphviz is updgraded, only first time users will +# get checksum errors. Fedora people seem to expect same so they use a versioned +# source - see https://src.fedoraproject.org/cgit/rpms/graphviz.git/tree/graphviz.spec + +SRC_URI = "https://gitlab.com/graphviz/graphviz/-/archive/stable_release_${PV}/graphviz-stable_release_${PV}.tar.gz \ +" +# Use native mkdefs +SRC_URI_append_class-target = " file://0001-Use-native-mkdefs.patch" +SRC_URI[md5sum] = "2acf30ca8e6cc8b001b0334db65fd072" +SRC_URI[sha256sum] = "e6c3f8dbfde1c4523055403927bef29f97f9fc12715c1042b5dcf648a2c1c62a" + +S = "${WORKDIR}/${BPN}-stable_release_${PV}" + +EXTRA_OECONF_class-target = "\ + --with-expatincludedir=${STAGING_INCDIR} \ + --with-expatlibdir=${STAGING_LIBDIR} \ + --without-included-ltdl \ + --disable-java \ + --disable-r \ + --disable-sharp \ + " +CFLAGS_append_class-target = " -D_typ_ssize_t=1 -D_long_double=1" +do_configure_prepend() { + cd ${S} + # create version.m4 and ignore libtoolize errors + ./autogen.sh NOCONFIG || true +} + +do_install_append_class-native() { + # install mkdefs for target build + install -m755 ${B}/lib/gvpr/mkdefs ${D}${bindir} +} + +FILES_SOLIBSDEV_append = " ${libdir}/graphviz/lib*${SOLIBSDEV}" + +BBCLASSEXTEND = "native" |