mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-crypt/yubioath-flutter-bin: add 7.3.3
Need both x11 and wayland usedeps on gtk+:
$ nm -D -u .../libflutter_linux_gtk.so | grep -E '(wayland|x11)'
U gdk_wayland_display_get_type
U gdk_wayland_display_get_wl_display
U gdk_x11_display_get_type
U gdk_x11_display_get_xdisplay
U gdk_x11_screen_get_type
U gdk_x11_screen_get_window_manager_name
Bug: https://bugs.gentoo.org/957796
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST yubico-authenticator-7.3.0-linux.tar.gz 59009470 BLAKE2B 650a263b29cb25f14847d1bea8009bd000ae40a21eceba2dbed8737121305cddae6f1a4121bbdadc2981edac0923a8b8b9c41210ae9e6b051378e37940e09ab1 SHA512 9804053ef1fa4465b549b685dbdada0220d3ff8d39801e7cdab89c28a64c5871dc233e093e7fdb53a9a93c2eb81c578d08eb3ffa407faa3387ca147016d20f35
|
||||
DIST yubico-authenticator-7.3.2-linux.tar.gz 67480021 BLAKE2B a562d0c72456e15768e3ad9e4871e852b2a70678eaec6dfe21f204cd0852ab584beec73fd47318726399a182b1be9f1957ba37f6b90fe5311362ee51df7e6a6e SHA512 75cbafa841c950577c023a38f72384baed5a52f6227b71de1ece03456e51753d7e29eeb13767fb169ad56e98a54d8a2dd60df400be7c999bc07c8a42e30eb7a9
|
||||
DIST yubico-authenticator-7.3.3-linux.tar.gz 68178749 BLAKE2B cf316d3b17c255e49befbb4584e4219accab1ed65c9d7d4647e5b39cf46b5d74baa523a16ce159512326ff99e0aad4928eed8be6681a36efcbc7ac70f7b0ba85 SHA512 258cd49c60eaa1763456824576f7f5867611651920f13f42270e529ddf2b111326d8fc18c0cbe6df571162746cf0cad31b44dc712e81b6d6d04ece76fba93481
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2026 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[X,wayland]
|
||||
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."
|
||||
}
|
||||
Reference in New Issue
Block a user