eceb90dc76
Version 0.6.0 introduced a Meson build system, and upstream seems to have the intention to abandon the previous autotools based one. Switch to Meson for future proofing. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# bubblewrap
|
|
#
|
|
################################################################################
|
|
|
|
BUBBLEWRAP_VERSION = 0.6.1
|
|
BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION)
|
|
BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz
|
|
BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap
|
|
|
|
BUBBLEWRAP_LICENSE = LGPL-2.0+
|
|
BUBBLEWRAP_LICENSE_FILES = COPYING
|
|
BUBBLEWRAP_CPE_ID_VENDOR = projectatomic
|
|
|
|
BUBBLEWRAP_CONF_OPTS = \
|
|
-Dzsh_completion=disabled \
|
|
-Dman=disabled \
|
|
-Dpython=$(HOST_DIR)/bin/python \
|
|
-Drequire_userns=false
|
|
|
|
ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
|
|
BUBBLEWRAP_CONF_OPTS += \
|
|
-Dbash_completion=enabled \
|
|
-Dbash_completion_dir=/usr/share/bash-completion/completions
|
|
else
|
|
BUBBLEWRAP_CONF_OPTS += -Dbash_completion=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
|
BUBBLEWRAP_CONF_OPTS += -Dselinux=enabled
|
|
BUBBLEWRAP_DEPENDENCIES += libselinux
|
|
else
|
|
BUBBLEWRAP_CONF_OPTS += -Dselinux=disabled
|
|
endif
|
|
|
|
# We need to mark bwrap as setuid, in case the kernel
|
|
# has user namespaces disabled for non-root users.
|
|
define BUBBLEWRAP_PERMISSIONS
|
|
/usr/bin/bwrap f 1755 0 0 - - - - -
|
|
endef
|
|
|
|
$(eval $(meson-package))
|