DESCRIPTION = "Doxygen is the de facto standard tool for generating documentation from annotated C++ sources."
HOMEPAGE = "http://www.doxygen.org/"

LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"

inherit cmake python3native

DEPENDS = "flex-native bison-native"

SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \
           file://0001-build-don-t-look-for-Iconv.patch"
SRC_URI[md5sum] = "2c98c73eba392d334f5bbaf15e09bae3"
SRC_URI[sha256sum] = "bd9c0ec462b6a9b5b41ede97bede5458e0d7bb40d4cfa27f6f622eb33c59245d"

BBCLASSEXTEND = "native"

DESCRIPTION = "Doxygen is the de facto standard tool for generating documentation from annotated C++ sources."
HOMEPAGE = "http://www.doxygen.org/"

LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "flex-native bison-native"

SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \
           file://0001-build-don-t-look-for-Iconv.patch"
SRC_URI[md5sum] = "2c98c73eba392d334f5bbaf15e09bae3"
SRC_URI[sha256sum] = "bd9c0ec462b6a9b5b41ede97bede5458e0d7bb40d4cfa27f6f622eb33c59245d"

inherit cmake python3native

# Avoid the following error:
#   ninja: error: build.ninja:1948: multiple rules generate
#   generated_src/configvalues.h [-w dupbuild=err]
EXTRA_OECMAKE_BUILD += "-w dupbuild=warn"

BBCLASSEXTEND = "native"

Make it build with ninja 1.9.0
doxygen: Make it build with ninja 1.9.0

ninja 1.9.0 turned the previous dupbuild warning into an error, which
resulted in the following error:

  ninja: error: build.ninja:1948: multiple rules generate
  generated_src/configvalues.h [-w dupbuild=err]

Turn the error back into a warning until upstream corrects the build
rules.

Signed-off-by: Peter Kjellerstedt <acc79ae48f6d90868791bcb456f6177f58b04c14@axis.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
