summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/avro/avro-c++_1.12.bb
blob: 726a861bc942fd1a08a7335a78a5092af34beea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SUMMARY = "Apache Avro data serialization system."
HOMEPAGE = "https://avro.apache.org/"
SECTION = "libs"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=34cb96edab958a981837bf6f44bf654d"

DEPENDS = "boost"

SRC_URI = "git://github.com/apache/avro.git;branch=branch-1.12;protocol=https;name=avro-c++ \
        git://github.com/fmtlib/fmt.git;branch=10.x;protocol=https;name=fmt;destsuffix=_deps/fmt-src \
        file://0001-Remove-cpp-unittest-compilation.patch \
        file://0002-Add-package-configuration-files.patch"

SRCREV_FORMAT = "avro-c++ fmt"
SRCREV_avro-c++ = "8c27801dc8d42ccc00997f25c0b8f45f8d4a233e"
# Tag 10.2.1
SRCREV_fmt = "e69e5f977d458f2650bb346dadf2ad30c5320281"

S = "${UNPACKDIR}/${BP}/lang/c++"

inherit cmake pkgconfig

do_configure:prepend() {
        install -d ${B}/_deps
        cp -r ${UNPACKDIR}/_deps/fmt-src ${B}/_deps/
}

BBCLASSEXTEND = "native nativesdk"