diff options
author | David Seifert <soap@gentoo.org> | 2021-11-23 13:53:05 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-11-23 13:53:05 +0100 |
commit | 17a2413ac177eb44ec991ba0007bb28227c7ddc9 (patch) | |
tree | d28a462223d5f2b6b9dec12ebe9299489fa0be20 /app-crypt/yubioath-desktop | |
parent | media-fonts/ja-ipafonts: update HOMEPAGE and SRC_URI (diff) | |
download | gentoo-17a2413ac177eb44ec991ba0007bb28227c7ddc9.tar.gz gentoo-17a2413ac177eb44ec991ba0007bb28227c7ddc9.tar.bz2 gentoo-17a2413ac177eb44ec991ba0007bb28227c7ddc9.zip |
app-crypt/yubioath-desktop: fix install location
Closes: https://bugs.gentoo.org/825390
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-crypt/yubioath-desktop')
-rw-r--r-- | app-crypt/yubioath-desktop/files/yubioath-desktop-5.1.0-bin-installdir.patch | 22 | ||||
-rw-r--r-- | app-crypt/yubioath-desktop/yubioath-desktop-5.1.0-r1.ebuild (renamed from app-crypt/yubioath-desktop/yubioath-desktop-5.1.0.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.Fokin@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 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}" } |