commit: c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Thu Dec 19 18:16:15 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Thu Dec 19 18:17:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c88e04b2
dev-db/limbo: Check for IO_URING, warn otherwise. Bug: https://bugs.gentoo.org/946615 Signed-off-by: Jonas Frei <freijon <AT> pm.me> dev-db/limbo/limbo-0.0.10.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-db/limbo/limbo-0.0.10.ebuild b/dev-db/limbo/limbo-0.0.10.ebuild index ac811ab14..02cb69be3 100644 --- a/dev-db/limbo/limbo-0.0.10.ebuild +++ b/dev-db/limbo/limbo-0.0.10.ebuild @@ -280,7 +280,7 @@ EAPI=8 [email protected] " -inherit cargo +inherit cargo linux-info DESCRIPTION="The Limbo interactive SQL shell" HOMEPAGE="https://github.com/tursodatabase/limbo" @@ -298,6 +298,14 @@ LICENSE+=" SLOT="0" KEYWORDS="~amd64" +pkg_setup() { + CONFIG_CHECK="~IO_URING" + WARNING_IO_URING="limbo needs IO_URING to be enabled to work properly." + + linux-info_pkg_setup + rust_pkg_setup +} + src_install() { cargo_src_install --path cli
