diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2024-01-01 15:49:56 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-01-08 19:54:40 -0800 |
| commit | 03e1353cb72c7fa4362cf70c802ddd9de62ab186 (patch) | |
| tree | 57c9da85ea3b2819b53028b7ffd3591b70590e14 /meta-networking/recipes-support/libtevent/libtevent_0.16.0.bb | |
| parent | cf1dd83b6fbbacc0e845137cf832990aa4cf1fc2 (diff) | |
| download | meta-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.bb | 61 |
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 @@ | |||
| 1 | SUMMARY = "Hierarchical, reference counted memory pool system with destructors" | ||
| 2 | HOMEPAGE = "https://tevent.samba.org" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPL-3.0-or-later" | ||
| 5 | |||
| 6 | DEPENDS += "libtalloc libtirpc cmocka" | ||
| 7 | RDEPENDS:python3-tevent = "python3" | ||
| 8 | |||
| 9 | export PYTHONHASHSEED="1" | ||
| 10 | |||
| 11 | SRC_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 | |||
| 17 | LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=47386b7c539bf2706b7ce52dc9341681" | ||
| 18 | |||
| 19 | SRC_URI[sha256sum] = "1aa58f21017ed8c2f606ae84aa7e795b5439edd4dd5f68f1a388a7d6fb40f682" | ||
| 20 | |||
| 21 | inherit pkgconfig ptest waf-samba | ||
| 22 | |||
| 23 | PACKAGECONFIG ??= "\ | ||
| 24 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \ | ||
| 25 | ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)} \ | ||
| 26 | " | ||
| 27 | PACKAGECONFIG[acl] = "--with-acl,--without-acl,acl" | ||
| 28 | PACKAGECONFIG[attr] = "--with-attr,--without-attr,attr" | ||
| 29 | PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" | ||
| 30 | PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" | ||
| 31 | PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" | ||
| 32 | |||
| 33 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr-unless-wanted.patch', d)}" | ||
| 34 | |||
| 35 | S = "${WORKDIR}/tevent-${PV}" | ||
| 36 | |||
| 37 | # Cross_compile cannot use preforked process, since fork process earlier than point subproces.popen | ||
| 38 | # to cross Popen | ||
| 39 | export WAF_NO_PREFORK="yes" | ||
| 40 | |||
| 41 | EXTRA_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 | |||
| 49 | do_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 | |||
| 55 | PACKAGES += "python3-tevent" | ||
| 56 | |||
| 57 | RPROVIDES:${PN}-dbg += "python3-tevent-dbg" | ||
| 58 | |||
| 59 | FILES:python3-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" | ||
| 60 | |||
| 61 | INSANE_SKIP:${MLPREFIX}python3-tevent = "dev-so" | ||
