diff options
Diffstat (limited to 'meta-oe/recipes-support/poco/poco_1.12.4.bb')
-rw-r--r-- | meta-oe/recipes-support/poco/poco_1.12.4.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb b/meta-oe/recipes-support/poco/poco_1.12.4.bb index 47dac1a89..b02b84fa6 100644 --- a/meta-oe/recipes-support/poco/poco_1.12.4.bb +++ b/meta-oe/recipes-support/poco/poco_1.12.4.bb | |||
@@ -10,6 +10,7 @@ DEPENDS = "libpcre2 zlib" | |||
10 | 10 | ||
11 | SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \ | 11 | SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \ |
12 | file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \ | 12 | file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \ |
13 | file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \ | ||
13 | file://run-ptest \ | 14 | file://run-ptest \ |
14 | " | 15 | " |
15 | SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9" | 16 | SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9" |
@@ -24,6 +25,11 @@ inherit cmake ptest | |||
24 | # Foundation is built anyway and doesn't need to be listed explicitly | 25 | # Foundation is built anyway and doesn't need to be listed explicitly |
25 | # these don't have dependencies outside oe-core | 26 | # these don't have dependencies outside oe-core |
26 | PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis Prometheus" | 27 | PACKAGECONFIG ??= "XML JSON MongoDB PDF Util Net NetSSL Crypto JWT Data DataSQLite Zip Encodings Redis Prometheus" |
28 | # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe | ||
29 | PACKAGECONFIG:remove:riscv32 = "MongoDB" | ||
30 | PACKAGECONFIG:remove:riscv64 = "MongoDB" | ||
31 | PACKAGECONFIG:remove:mipsarch = "MongoDB" | ||
32 | PACKAGECONFIG:remove:powerpc = "MongoDB" | ||
27 | 33 | ||
28 | PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" | 34 | PACKAGECONFIG[XML] = "-DENABLE_XML=ON,-DENABLE_XML=OFF,expat" |
29 | PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" | 35 | PACKAGECONFIG[JSON] = "-DENABLE_JSON=ON,-DENABLE_JSON=OFF" |
@@ -105,5 +111,7 @@ FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*" | |||
105 | ALLOW_EMPTY:${PN}-cppunit = "1" | 111 | ALLOW_EMPTY:${PN}-cppunit = "1" |
106 | 112 | ||
107 | RDEPENDS:${PN}-ptest += "${PN}-cppunit" | 113 | RDEPENDS:${PN}-ptest += "${PN}-cppunit" |
114 | RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'MongoDB', 'mongodb', '', d)}" | ||
115 | RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PACKAGECONFIG', 'Redis', 'redis', '', d)}" | ||
108 | 116 | ||
109 | BBCLASSEXTEND = "native" | 117 | BBCLASSEXTEND = "native" |