commit:     c6edb2ac502e6e005cf3bd25751d30bc9d254607
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Sat Aug 23 13:21:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 15:17:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6edb2ac

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

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Part-of: https://github.com/gentoo/gentoo/pull/43540
Closes: https://github.com/gentoo/gentoo/pull/43540
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/yubioath-flutter-bin/Manifest            |  1 +
 .../yubioath-flutter-bin-7.2.3.ebuild              | 82 ++++++++++++++++++++++
 2 files changed, 83 insertions(+)

diff --git a/app-crypt/yubioath-flutter-bin/Manifest 
b/app-crypt/yubioath-flutter-bin/Manifest
index 5c279f0173a5..cb7360e0e5c7 100644
--- a/app-crypt/yubioath-flutter-bin/Manifest
+++ b/app-crypt/yubioath-flutter-bin/Manifest
@@ -1 +1,2 @@
 DIST yubico-authenticator-7.1.1-linux.tar.gz 46783952 BLAKE2B 
550bb64229313a9b0b971dd625bc06ddbe4f8d3c8eab7f6833d219366b51af613ca57fc925d901ded414a297063aa8441473c565b5dff67f8593fa4fb64a03ba
 SHA512 
9cd37ec058e4ea5d666fe46dd3f06fc6791a6fa9e5c4ac2fb829ec4ac1fd6f89da0071f90c6f1c2ce5b54201db369bcf8c5fa0e4bc15d8163c47c3ed0f320223
+DIST yubico-authenticator-7.2.3-linux.tar.gz 57720636 BLAKE2B 
872726fa65cb25f64c4e1caf9f6bf16e53b01072a2ed009bce65bc73f2ca6a05298e52018793840b9e3a39d38ca6c74a1b3bb4cbc976e3a09866a9ee926f503c
 SHA512 
432b89c79e2f032fb9b48861e8a81033d7b33039f2d02b94a37958bab3355a8a37c7686279de6654c8fe50f75b43a3aa7e7159ea70028bb5f5338d2a427570c0

diff --git a/app-crypt/yubioath-flutter-bin/yubioath-flutter-bin-7.2.3.ebuild 
b/app-crypt/yubioath-flutter-bin/yubioath-flutter-bin-7.2.3.ebuild
new file mode 100644
index 000000000000..f5ec3a7352d1
--- /dev/null
+++ b/app-crypt/yubioath-flutter-bin/yubioath-flutter-bin-7.2.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2025 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.yubioath.desktop || die
+       domenu linux_support/com.yubico.yubioath.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."
+}

Reply via email to