diff options
author | Matthew Smith <matthew@gentoo.org> | 2022-02-21 19:05:07 +0000 |
---|---|---|
committer | Matthew Smith <matthew@gentoo.org> | 2022-02-21 19:05:56 +0000 |
commit | b44bf61e5a5cc6fa213abb54799d184aee08faf6 (patch) | |
tree | 254d3bdceb1e0a9e803bb7ec0852cb7eacd2ae13 /dev-libs/boxfort | |
parent | dev-libs/boxfort: drop old (diff) | |
download | gentoo-b44bf61e5a5cc6fa213abb54799d184aee08faf6.tar.gz gentoo-b44bf61e5a5cc6fa213abb54799d184aee08faf6.tar.bz2 gentoo-b44bf61e5a5cc6fa213abb54799d184aee08faf6.zip |
dev-libs/boxfort: use 'meson_use' helper
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-libs/boxfort')
-rw-r--r-- | dev-libs/boxfort/boxfort-0.1.3.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-libs/boxfort/boxfort-0.1.3.ebuild b/dev-libs/boxfort/boxfort-0.1.3.ebuild index 67faa22bc260..c1d27a92948b 100644 --- a/dev-libs/boxfort/boxfort-0.1.3.ebuild +++ b/dev-libs/boxfort/boxfort-0.1.3.ebuild @@ -10,6 +10,7 @@ inherit meson python-any-r1 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" @@ -22,8 +23,6 @@ DEPEND="test? ( )" BDEPEND="virtual/pkgconfig" -S="${WORKDIR}/BoxFort-${PV}" - python_check_deps() { use test && has_version "dev-util/cram[${PYTHON_USEDEP}]" } @@ -34,8 +33,8 @@ pkg_setup() { src_configure() { local emesonargs=( - -Dsamples=$(usex test true false) - -Dtests=$(usex test true false) + $(meson_use test samples) + $(meson_use test tests) ) meson_src_configure |