summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-01-01 15:49:56 +0800
committerKhem Raj <raj.khem@gmail.com>2024-01-08 19:54:40 -0800
commit03e1353cb72c7fa4362cf70c802ddd9de62ab186 (patch)
tree57c9da85ea3b2819b53028b7ffd3591b70590e14 /meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
parentcf1dd83b6fbbacc0e845137cf832990aa4cf1fc2 (diff)
downloadmeta-openembedded-03e1353cb72c7fa4362cf70c802ddd9de62ab186.tar.gz
libtevent: upgrade 0.14.1 -> 0.16.0
* Remove PACKAGECONFIG[libaio] as libaio is no longer required by libtevent. * Refresh patches. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb')
-rw-r--r--meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb61
1 files changed, 61 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb b/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
new file mode 100644
index 0000000000..0158f8bc74
--- /dev/null
+++ b/meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb
@@ -0,0 +1,61 @@
1SUMMARY = "Hierarchical, reference counted memory pool system with destructors"
2HOMEPAGE = "https://tevent.samba.org"
3SECTION = "libs"
4LICENSE = "LGPL-3.0-or-later"
5
6DEPENDS += "libtalloc libtirpc cmocka"
7RDEPENDS:python3-tevent = "python3"
8
9export PYTHONHASHSEED="1"
10
11SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \
12 file://0001-Add-configure-options-for-packages.patch \
13 file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \
14 file://run-ptest \
15 "
16
17LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=47386b7c539bf2706b7ce52dc9341681"
18
19SRC_URI[sha256sum] = "1aa58f21017ed8c2f606ae84aa7e795b5439edd4dd5f68f1a388a7d6fb40f682"
20
21inherit pkgconfig ptest waf-samba
22
23PACKAGECONFIG ??= "\
24 ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \
26"
27PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl"
28PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr"
29PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd"
30PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap"
31PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind"
32
33SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}"
34
35S = "${WORKDIR}/tevent-${PV}"
36
37# Cross_compile cannot use preforked process, since fork process earlier than point subproces.popen
38# to cross Popen
39export WAF_NO_PREFORK="yes"
40
41EXTRA_OECONF += "--disable-rpath \
42 --disable-rpath-install \
43 --bundled-libraries=NONE \
44 --builtin-libraries=replace \
45 --with-libiconv=${STAGING_DIR_HOST}${prefix}\
46 --without-gettext \
47 "
48
49do_install_ptest() {
50 install -d ${D}${PTEST_PATH}/tests
51 install -m 0755 ${B}/bin/test_tevent_* ${D}${PTEST_PATH}/tests/
52 install -m 0755 ${B}/bin/replace_testsuite ${D}${PTEST_PATH}/tests/
53}
54
55PACKAGES += "python3-tevent"
56
57RPROVIDES:${PN}-dbg += "python3-tevent-dbg"
58
59FILES:python3-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
60
61INSANE_SKIP:${MLPREFIX}python3-tevent = "dev-so"