mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
Note that bug #855674 is actually fixed by this release, but it was only visible because of bug #958037 (static libs w/ LTO)! Bug: https://bugs.gentoo.org/855674 Bug: https://bugs.gentoo.org/958037 Signed-off-by: Sam James <sam@gentoo.org>
41 lines
711 B
Bash
41 lines
711 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit dot-a meson
|
|
|
|
DESCRIPTION="Convenient & cross-platform sandboxing C library"
|
|
HOMEPAGE="https://github.com/Snaipe/BoxFort"
|
|
SRC_URI="https://github.com/Snaipe/BoxFort/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}"/BoxFort-${PV}
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
test? (
|
|
dev-util/cram
|
|
)
|
|
"
|
|
|
|
src_configure() {
|
|
lto-guarantee-fat
|
|
|
|
local emesonargs=(
|
|
$(meson_use test samples)
|
|
$(meson_use test tests)
|
|
)
|
|
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
strip-lto-bytecode
|
|
}
|