summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/poco
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-support/poco
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-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-support/poco')
-rw-r--r--meta-oe/recipes-support/poco/poco_1.10.1.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/poco/poco_1.10.1.bb b/meta-oe/recipes-support/poco/poco_1.10.1.bb
index 48b31dd3f3..5db518cbba 100644
--- a/meta-oe/recipes-support/poco/poco_1.10.1.bb
+++ b/meta-oe/recipes-support/poco/poco_1.10.1.bb
@@ -57,12 +57,12 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DPOCO_UNBUNDLED=ON \
57 ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}" 57 ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}"
58 58
59# For the native build we want to use the bundled version 59# For the native build we want to use the bundled version
60EXTRA_OECMAKE_append_class-native = " -DPOCO_UNBUNDLED=OFF" 60EXTRA_OECMAKE:append:class-native = " -DPOCO_UNBUNDLED=OFF"
61 61
62# do not use rpath 62# do not use rpath
63EXTRA_OECMAKE_append = " -DCMAKE_SKIP_RPATH=ON" 63EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON"
64 64
65python populate_packages_prepend () { 65python populate_packages:prepend () {
66 poco_libdir = d.expand('${libdir}') 66 poco_libdir = d.expand('${libdir}')
67 pn = d.getVar("PN") 67 pn = d.getVar("PN")
68 packages = [] 68 packages = []
@@ -75,7 +75,7 @@ python populate_packages_prepend () {
75 do_split_packages(d, poco_libdir, '^libPoco(.*)\.so\..*$', 75 do_split_packages(d, poco_libdir, '^libPoco(.*)\.so\..*$',
76 'poco-%s', 'Poco %s component', extra_depends='', prepend=True, hook=hook) 76 'poco-%s', 'Poco %s component', extra_depends='', prepend=True, hook=hook)
77 77
78 d.setVar("RRECOMMENDS_%s" % pn, " ".join(packages)) 78 d.setVar("RRECOMMENDS:%s" % pn, " ".join(packages))
79 d.setVar("POCO_TESTRUNNERS", "\n".join(testrunners)) 79 d.setVar("POCO_TESTRUNNERS", "\n".join(testrunners))
80} 80}
81 81
@@ -90,13 +90,13 @@ do_install_ptest () {
90PACKAGES_DYNAMIC = "poco-.*" 90PACKAGES_DYNAMIC = "poco-.*"
91 91
92# "poco" is a metapackage which pulls in all Poco components 92# "poco" is a metapackage which pulls in all Poco components
93ALLOW_EMPTY_${PN} = "1" 93ALLOW_EMPTY:${PN} = "1"
94 94
95# cppunit is only built if tests are enabled 95# cppunit is only built if tests are enabled
96PACKAGES =+ "${PN}-cppunit" 96PACKAGES =+ "${PN}-cppunit"
97FILES_${PN}-cppunit += "${libdir}/libCppUnit.so*" 97FILES:${PN}-cppunit += "${libdir}/libCppUnit.so*"
98ALLOW_EMPTY_${PN}-cppunit = "1" 98ALLOW_EMPTY:${PN}-cppunit = "1"
99 99
100RDEPENDS_${PN}-ptest += "${PN}-cppunit" 100RDEPENDS:${PN}-ptest += "${PN}-cppunit"
101 101
102BBCLASSEXTEND = "native" 102BBCLASSEXTEND = "native"