mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-15 06:10:02 +00:00
4b30277f2a
* backport fix from: https://github.com/containers/bubblewrap/pull/660 But patch rework for this version. In gcc 15, bool became a reserved keyword in C23, causing conflicts with our custom bool definition. See also, https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212 * to fix: http://errors.yoctoproject.org/Errors/Details/851183/ ../bubblewrap-0.10.0/utils.h:46:13: error: 'bool' cannot be defined via 'typedef' 46 | typedef int bool; | ^~~~ Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
28 lines
1.0 KiB
BlitzBasic
28 lines
1.0 KiB
BlitzBasic
DESCRIPTION = "Unprivileged sandboxing tool"
|
|
HOMEPAGE = "https://github.com/containers/bubblewrap"
|
|
LICENSE = "LGPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
|
|
|
|
DEPENDS = "libcap"
|
|
|
|
SRC_URI = " \
|
|
https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \
|
|
file://0001-Use-stdbool.h-for-booleans.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "65d92cf44a63a51e1b7771f70c05013dce5bd6b0b2841c4b4be54b0c45565471"
|
|
|
|
inherit autotools bash-completion github-releases manpages pkgconfig
|
|
|
|
GITHUB_BASE_URI = "https://github.com/containers/${BPN}/releases/"
|
|
|
|
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
|
|
PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native docbook-xsl-stylesheets-native xmlto-native"
|
|
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
|
|
PACKAGECONFIG[setuid] = "--with-priv-mode=setuid,--with-priv-mode=none"
|
|
|
|
PACKAGES += "${PN}-zsh-completion"
|
|
|
|
FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"
|
|
|
|
BBCLASSEXTEND = "native"
|