commit: 17a2413ac177eb44ec991ba0007bb28227c7ddc9 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Tue Nov 23 12:53:05 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Nov 23 12:53:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a2413a
app-crypt/yubioath-desktop: fix install location Closes: https://bugs.gentoo.org/825390 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../yubioath-desktop-5.1.0-bin-installdir.patch | 22 ++++++++++++++++++++++ ...1.0.ebuild => yubioath-desktop-5.1.0-r1.ebuild} | 6 ++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch b/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch new file mode 100644 index 000000000000..749533ba31ba --- /dev/null +++ b/app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch @@ -0,0 +1,22 @@ +From 9ae1ef710d5b070e128597a0fad3bd4ffa94b0aa Mon Sep 17 00:00:00 2001 +From: Dennis Fokin <dennis.fo...@yubico.com> +Date: Thu, 7 Oct 2021 10:18:33 +0200 +Subject: [PATCH] Set correct install path + +--- + yubioath-desktop.pro | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/yubioath-desktop.pro b/yubioath-desktop.pro +index 551416ae..c0ef9bb1 100644 +--- a/yubioath-desktop.pro ++++ b/yubioath-desktop.pro +@@ -75,6 +75,8 @@ lupdate_only { + qml/slot/*.qml + } + ++# Set correct install path ++target.path = $$PREFIX/bin + + DISTFILES += \ + py/* \ diff --git a/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.ebuild b/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild similarity index 92% rename from app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.ebuild rename to app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild index e2f85896c574..c2f7b927166a 100644 --- a/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.ebuild +++ b/app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild @@ -34,12 +34,10 @@ RDEPEND="${DEPEND} $(python_gen_cond_dep '>=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]') dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]" +PATCHES=( "${FILESDIR}"/${P}-bin-installdir.patch ) + src_prepare() { default - sed -i \ - -e "s:python build_qrc.py:${PYTHON} build_qrc.py:" \ - yubioath-desktop.pro || die - python_fix_shebang "${S}" }