public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthew Smith" <matthew@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boxfort/
Date: Mon, 21 Feb 2022 19:06:10 +0000 (UTC)	[thread overview]
Message-ID: <1645470356.b44bf61e5a5cc6fa213abb54799d184aee08faf6.matthew@gentoo> (raw)

commit:     b44bf61e5a5cc6fa213abb54799d184aee08faf6
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 19:05:07 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 19:05:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44bf61e

dev-libs/boxfort: use 'meson_use' helper

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 dev-libs/boxfort/boxfort-0.1.3.ebuild | 7 +++----
 1 file 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


             reply	other threads:[~2022-02-21 19:06 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-21 19:06 Matthew Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-22 19:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/boxfort/ Conrad Kostecki
2024-06-22 19:13 Conrad Kostecki
2024-03-12 21:44 Arthur Zamarin
2023-09-23  9:53 Sam James
2023-02-17  7:36 Sam James
2022-04-29 15:16 Joonas Niilola
2022-04-29 15:16 Joonas Niilola
2022-04-26  4:05 Sam James
2022-03-16 17:33 Sam James
2022-03-16 17:33 Sam James
2022-02-21 19:06 Matthew Smith
2022-02-21 19:06 Matthew Smith
2022-02-06 19:47 Ionen Wolkens
2022-01-29 10:04 Jakov Smolić
2021-12-21  1:56 Sam James
2021-12-21  1:56 Sam James
2021-12-09 16:22 Agostino Sarubbo
2021-06-15 14:42 Sam James
2021-05-31 20:22 Michał Górny
2021-04-01 12:19 Thomas Deutschmann
2021-03-22 23:10 Sam James
2021-03-15  6:38 Sam James
2021-03-15  6:36 Sam James
2020-11-10 16:53 Joonas Niilola
2020-09-09  1:03 Sam James
2020-06-26 17:43 Agostino Sarubbo
2020-01-13 12:54 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645470356.b44bf61e5a5cc6fa213abb54799d184aee08faf6.matthew@gentoo \
    --to=matthew@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox