blob: 8a5b3182a4c4e41c49b0060d9344ea33f6f83718 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KFMIN=5.106.0
QTMIN=5.15.9
inherit ecm plasma.kde.org
DESCRIPTION="Implementation of ssh-askpass with KDE Wallet integration"
HOMEPAGE+=" https://invent.kde.org/plasma/ksshaskpass"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
KEYWORDS=""
IUSE=""
DEPEND="
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kwallet-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}"
src_install() {
ecm_src_install
insinto /etc/xdg/plasma-workspace/env/
doins "${FILESDIR}/05-ksshaskpass.sh"
}
pkg_postinst() {
ecm_pkg_postinst
elog "In order to have ssh-agent start with Plasma 5,"
elog "edit /etc/xdg/plasma-workspace/env/10-agent-startup.sh"
elog "and uncomment the lines enabling ssh-agent."
elog
elog "If you do so, do not forget to uncomment the respective"
elog "lines in /etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh"
elog "to properly kill the agent when the session ends."
elog
elog "${PN} has been installed as your default askpass application"
elog "for Plasma 5 sessions."
elog "If that's not desired, select the one you want to use in"
elog "/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh"
}
|