app-crypt/yubioath-flutter-bin: add 7.1.1

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert 2024-11-30 11:18:12 +01:00
parent 3ee7c7fe8d
commit f2d9030fb6
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
2 changed files with 83 additions and 0 deletions

View File

@ -2,3 +2,4 @@ DIST yubico-authenticator-6.1.0-linux.tar.gz 46363854 BLAKE2B f50f8dc6cdca9044c9
DIST yubico-authenticator-6.4.0-linux.tar.gz 34381501 BLAKE2B 472de3d5a3a0dc2f604f3626d50850dd28ab1ae70219dff9d98b91005f2899643f1aa2e7ceb9d7019acc42aaa61fad9b14f6adf8465e1cb0a0ad8bbb19872a00 SHA512 a9cb633233ed142edf288483f3e0e109c10fa01cf3639388403983ac8336df7fcd47d4dedfe76c7fa7b35fa643668a06a185fe1ae4875a7e3729db9b738c8f86
DIST yubico-authenticator-7.0.0-linux.tar.gz 46533619 BLAKE2B af77608a7f37efa15464113769bf76fa9e92e99ffb8a459d5b5bb5f5c88e0c023d05f5477774722a4d5933522531ab06e7134fad77ac19af4fc57cff5b7d66b6 SHA512 f9010ff6a6e009ca878ac00a99e3714d1a1b92af4dd22f6568f19ab908dd477635afa187139a46de45d1769a19bf7b0f9d329f678cdaf7e64241f7975b418bd6
DIST yubico-authenticator-7.1.0-linux.tar.gz 47062304 BLAKE2B 17cd8e09dc18d765cac6e6ae27e74bc2eb658f9dcdba3f26d16ce4156278c0999d57fa4e7ca1d9f4be93d86c2c17be069fea414de05397a619881c9e466b923a SHA512 6c22cf63cb491b1d35ecdedc5028eba0c29e4258bae530f62864fbed4f21c4a156f1bd7feef40bbdcb9f1572097f3ce6895ddd0df38ddb9804a585d64cf9d3bc
DIST yubico-authenticator-7.1.1-linux.tar.gz 46783952 BLAKE2B 550bb64229313a9b0b971dd625bc06ddbe4f8d3c8eab7f6833d219366b51af613ca57fc925d901ded414a297063aa8441473c565b5dff67f8593fa4fb64a03ba SHA512 9cd37ec058e4ea5d666fe46dd3f06fc6791a6fa9e5c4ac2fb829ec4ac1fd6f89da0071f90c6f1c2ce5b54201db369bcf8c5fa0e4bc15d8163c47c3ed0f320223

View File

@ -0,0 +1,82 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Yubico Authenticator for TOTP"
HOMEPAGE="
https://developers.yubico.com/yubioath-flutter/
https://github.com/Yubico/yubioath-flutter"
SRC_URI="https://github.com/Yubico/yubioath-flutter/releases/download/${PV}/yubico-authenticator-${PV}-linux.tar.gz"
S="${WORKDIR}/yubico-authenticator-${PV}-linux"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
app-accessibility/at-spi2-core:2
app-crypt/ccid
dev-libs/glib:2
media-libs/fontconfig
media-libs/harfbuzz
media-libs/libepoxy
sys-libs/glibc
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libnotify
x11-libs/libxcb
x11-libs/pango"
BDEPEND="app-admin/chrpath"
# "Modern" app, built using Google's flutter framework.
#
# Don't even *think* about unbundling the dependencies, they're all
# hardcoded into the main binary and the helper, including but not
# limited to a full-fledged python interpreter that gets dlopen'd, an
# assortment of python packages, the X11 kitchen sink, random GCC
# libraries, and OpenSSL 1.1, oftentimes using git checkouts instead of
# released versioned libraries.
#
# The only way to avoid this mess would be to build flutter from source,
# but unfortunately life is too short to be dealing with whatever is
# Google's framework-de-jour on a regular basis.
QA_PREBUILT="opt/yubico-authenticator/*"
src_install() {
einstalldocs
rm -r README* || die
sed -e 's|@EXEC_PATH/authenticator|authenticator|' \
-e 's|@EXEC_PATH/linux_support/com.yubico.yubioath.png|com.yubico.yubioath|g' \
-i linux_support/com.yubico.authenticator.desktop || die
domenu linux_support/com.yubico.authenticator.desktop
doicon -s 128 linux_support/com.yubico.yubioath.png
rm -r linux_support || die
exeinto /opt/yubico-authenticator
doexe authenticator
rm authenticator || die
exeinto /opt/yubico-authenticator/helper
doexe helper/authenticator-helper
rm helper/authenticator-helper || die
# prevent rpath_security_checks() trigger
chrpath -d helper/_internal/libjpeg-*.so* helper/_internal/pillow.libs/libjpeg-*.so* || die
insinto /opt/yubico-authenticator
doins -r .
dosym ../../opt/yubico-authenticator/authenticator /usr/bin/authenticator
}
pkg_postinst() {
xdg_pkg_postinst
elog "Make sure you are a member of the pcscd group"
elog "and the pcscd service is running."
}