diff --git a/app-crypt/nitrokey-app2/Manifest b/app-crypt/nitrokey-app2/Manifest index 81f57aee8e..b1caa14795 100644 --- a/app-crypt/nitrokey-app2/Manifest +++ b/app-crypt/nitrokey-app2/Manifest @@ -1 +1,2 @@ DIST nitrokey-app2-2.4.1.gh.tar.gz 999710 BLAKE2B a59647601f2acee23f0fda6cb3244ed47b4d413b92ca9d0295632d08a10b9682ceb205b1757c63bd1bc53a90bbdab56954ad91b75c424cee827a40da9656742b SHA512 95d2c682332bc5ca60c844d21229d35b344548717b4a51ec4101701fa65229c4e6e3fdccde25438e8dd4f5282d16cb6911c49bbb079345e48fa518ff6ec06d45 +DIST nitrokey-app2-2.5.2.gh.tar.gz 998356 BLAKE2B 74b5f484ae0bc38d3886dfd01b07b11e32618d45fd18313481638fb61edc546b0fb686ea0eef1ff8d7eb5534ec964e12c4b18d0a8ea59ab72331dc8ca6f59a62 SHA512 dba97e2483feefd5052a2950e7756b0e9a2a6d120f06fd215f7e8906d68237558d81a759ad3e1df8d65018ca74fc799855d066d54692cdfeb6d69bfa779d2676 diff --git a/app-crypt/nitrokey-app2/nitrokey-app2-2.5.2.ebuild b/app-crypt/nitrokey-app2/nitrokey-app2-2.5.2.ebuild new file mode 100644 index 0000000000..6b9a880def --- /dev/null +++ b/app-crypt/nitrokey-app2/nitrokey-app2-2.5.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=true +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{12..13} ) + +inherit desktop distutils-r1 xdg + +DESCRIPTION="Graphical application to manage and use Nitrokey 3 devices" +HOMEPAGE=" + https://github.com/Nitrokey/nitrokey-app2/ + https://docs.nitrokey.com/software/nk-app2/ +" +SRC_URI="https://github.com/Nitrokey/nitrokey-app2/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + $(python_gen_cond_dep ' + =dev-python/fido2-2*:=[${PYTHON_USEDEP}] + =dev-python/nitrokey-0.4.2[${PYTHON_USEDEP}] + =dev-python/pyside-6.6.0:6=[core,gui,svg,uitools,widgets,${PYTHON_USEDEP}] + >=dev-python/usb-monitor-1.21[${PYTHON_USEDEP}] + ') +" + +src_install() { + distutils-r1_src_install + + domenu meta/com.nitrokey.nitrokey-app2.desktop + newicon -s scalable meta/nk-app2.svg com.nitrokey.nitrokey-app2.svg + newicon -s 128 meta/nk-app2.png com.nitrokey.nitrokey-app2.png + + insinto /usr/share/metainfo + doins meta/com.nitrokey.nitrokey-app2.metainfo.xml +}