diff options
-rw-r--r-- | lxqt-base/lxqt-openssh-askpass/Manifest | 1 | ||||
-rw-r--r-- | lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-0.13.0.ebuild | 46 | ||||
-rw-r--r-- | lxqt-base/lxqt-openssh-askpass/metadata.xml | 11 |
3 files changed, 54 insertions, 4 deletions
diff --git a/lxqt-base/lxqt-openssh-askpass/Manifest b/lxqt-base/lxqt-openssh-askpass/Manifest index ae86f0f508d6..6b1de21be77b 100644 --- a/lxqt-base/lxqt-openssh-askpass/Manifest +++ b/lxqt-base/lxqt-openssh-askpass/Manifest @@ -1 +1,2 @@ DIST lxqt-openssh-askpass-0.11.0.tar.xz 14028 BLAKE2B fb65748f8246fe5783d67aee1b96759a0a8a5be15b4330d2ad3ef2654b3dde59d7a7ca6e993992af5a79deefaff952c1f8f6d42795029c6f200ff2a26e79f6d3 SHA512 746c70677af0d93544de805ec53c8cba3eea81a32d0592cf3a14a350095b26097880d0da70db46161e03957b31b8b1e308e657fd2b04b8646b131e44d984d6d4 +DIST lxqt-openssh-askpass-0.13.0.tar.xz 14336 BLAKE2B c9265f0df40dd4826c08cf3f3cc2bd6304db40770b402c117adcb73afd823b5937df8a40e2deaa67c4d7cd581ffd5cca7cca48f41b4059ffc14e6a6bb66c041c SHA512 2ef92c8a75139d8827e38e0f406f9f9f52717b0918ff511baa376825cfb586f2821186692e1e63bd4c569c441ea4eff63a11f59b89a90f47738ece86a898e761 diff --git a/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-0.13.0.ebuild b/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-0.13.0.ebuild new file mode 100644 index 000000000000..148ebcd7b1ab --- /dev/null +++ b/lxqt-base/lxqt-openssh-askpass/lxqt-openssh-askpass-0.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils eapi7-ver + +DESCRIPTION="LXQt OpenSSH user password prompt tool" +HOMEPAGE="https://lxqt.org/" + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" +else + SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + =lxqt-base/liblxqt-$(ver_cut 1-2)* +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + >=dev-util/lxqt-build-tools-0.5.0 +" + +src_configure() { + local mycmakeargs=( + -DPULL_TRANSLATIONS=OFF + ) + cmake-utils_src_configure +} + +src_install(){ + cmake-utils_src_install + doman man/*.1 + + echo "SSH_ASKPASS='${EPREFIX}/usr/bin/lxqt-openssh-askpass'" >> "${T}/99${PN}" \ + || die + doenvd "${T}/99${PN}" +} diff --git a/lxqt-base/lxqt-openssh-askpass/metadata.xml b/lxqt-base/lxqt-openssh-askpass/metadata.xml index a40a83a9c6a9..1d0dffcb097a 100644 --- a/lxqt-base/lxqt-openssh-askpass/metadata.xml +++ b/lxqt-base/lxqt-openssh-askpass/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>lxqt@gentoo.org</email> - <name>LXQt</name> - </maintainer> + <maintainer type="project"> + <email>lxqt@gentoo.org</email> + <name>LXQt</name> + </maintainer> + <upstream> + <remote-id type="github">lxqt/lxqt-openssh-askpass</remote-id> + </upstream> </pkgmetadata> |