sys-apps/turnstile: new package, add 0.1.11, 9999

Signed-off-by: Emi <reedy.sailors.8t@icloud.com>
This commit is contained in:
Emi
2026-07-20 18:58:07 +02:00
parent 5583f8eb8e
commit ed739beaf8
4 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST turnstile-0.1.11.tar.gz 41799 BLAKE2B d5de1bc65b71a1025cd4c6c458dcabc0fe2f8a3371ec55acadaf081d1af7d133fab16cf694399ebee2ada90ce842fa46b0a1bc56636deffc3b2fe602f091ebe9 SHA512 dc53396e3fe4eb2155d1d10680e22696f69f57a2b345fac541671618a8db9a7c24cf937ae4454598aa67c025da698d4bc14dc34b2b77b59b53328c157315b92c

View File

@@ -0,0 +1,20 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>reedy.sailors.8t@icloud.com</email>
<name>Emi</name>
</maintainer>
<upstream>
<remote-id type="github">chimera-linux/turnstile</remote-id>
</upstream>
<use>
<flag name="dinit">Install Dinit-related backend and data</flag>
<flag name="runit">Install runit-related backend and data</flag>
<flag name="rundir">Enable rundir management by default</flag>
</use>
<longdescription>
Turnstile is a work in progress effort to create a session/login tracker to serve as a
fully featured alternative to the logind subproject from systemd,
and to provide a neutral API to both our session tracker and to logind itself.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,44 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Independent session/login tracker"
HOMEPAGE="https://github.com/chimera-linux/turnstile"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/chimera-linux/${PN}.git"
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="BSD-2"
SLOT="0"
DEPEND="
sys-libs/pam
app-text/scdoc
dinit? (
sys-apps/dinit
sys-apps/dinit-services
)
runit? (
sys-process/runit
)
"
RDEPEND="${DEPEND}"
IUSE="dinit runit rundir man"
src_configure() {
local emesonargs=(
$(meson_feature dinit dinit)
$(meson_feature runit runit)
$(meson_use rundir manage_rundir)
$(meson_use man man)
)
meson_src_configure
}

View File

@@ -0,0 +1,44 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Independent session/login tracker"
HOMEPAGE="https://github.com/chimera-linux/turnstile"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/chimera-linux/${PN}.git"
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/chimera-linux/turnstile/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="BSD-2"
SLOT="0"
DEPEND="
sys-libs/pam
app-text/scdoc
dinit? (
sys-apps/dinit
sys-apps/dinit-services
)
runit? (
sys-process/runit
)
"
RDEPEND="${DEPEND}"
IUSE="dinit runit rundir man"
src_configure() {
local emesonargs=(
$(meson_feature dinit dinit)
$(meson_feature runit runit)
$(meson_use rundir manage_rundir)
$(meson_use man man)
)
meson_src_configure
}