app-admin/himitsu-totp: add 0.10

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-03-03 23:54:22 +01:00
parent a7f2f5f4a7
commit db8d1264d1
2 changed files with 35 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST himitsu-totp-0.10.tar.gz 15316 BLAKE2B 64028cfffaa4108fa104076321ec9692813a315d9ccbf305e32376a6566a5af9363d190f3e086a96269a54cce4d9acac37e7f0215ba8dcb17c06706a0c6a248f SHA512 6101ed6b02519c2403baa5ade998ac02449a774dc8294c224bf7544d8c1613a89200c792981baf73f30a9459d9db9111c137f27273b8b2ed6e01d8ae21924918
DIST himitsu-totp-0.9.tar.gz 15211 BLAKE2B 8cf1f81cd811fd9a9314711ffae6860bf6c2d415c2953fb0ce9a4b3783ae1e656dd9d72ae2269e66946b8d8734f2ffed103f8e33d6d77a3426748ab4cbfd0108 SHA512 c17bdbdb7fe0573466b861a90c24feda6866d7fd13aa2559445ada69aba715e21aedd31bb127c59f5c310e50d96eb9372c7ab78ac87091af5ca29b21e2c49072

View File

@@ -0,0 +1,34 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
if [[ "${PV}" = "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
else
SRC_URI="https://git.sr.ht/~sircmpwn/himitsu-totp/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~riscv"
fi
DESCRIPTION="TOTP support for Himitsu"
HOMEPAGE="https://git.sr.ht/~sircmpwn/himitsu-totp"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="app-admin/himitsu:="
DEPEND="
${RDEPEND}
>=dev-lang/hare-0.25.2:=
"
BDEPEND="app-text/scdoc"
# hare binary
QA_FLAGS_IGNORED="usr/bin/hitotp"
src_configure() {
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
tc-export AS CC LD
}