lxqt-openssh-askpass-0.10.0.ebuild 864 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit cmake-utils
  5. DESCRIPTION="LXQt OpenSSH user password prompt tool"
  6. HOMEPAGE="http://lxqt.org/"
  7. if [[ ${PV} = *9999* ]]; then
  8. inherit git-r3
  9. EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
  10. else
  11. SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz"
  12. KEYWORDS="~amd64 ~arm ~arm64 ~x86"
  13. fi
  14. LICENSE="LGPL-2.1+"
  15. SLOT="0"
  16. RDEPEND="
  17. >=dev-libs/libqtxdg-1.0.0
  18. dev-qt/qtcore:5
  19. dev-qt/qtdbus:5
  20. dev-qt/qtgui:5
  21. dev-qt/qtwidgets:5
  22. dev-qt/qtx11extras:5
  23. dev-qt/qtxml:5
  24. ~lxqt-base/liblxqt-${PV}
  25. x11-libs/libX11
  26. "
  27. DEPEND="${RDEPEND}
  28. dev-qt/linguist-tools:5
  29. "
  30. src_install(){
  31. cmake-utils_src_install
  32. doman man/*.1
  33. echo "SSH_ASKPASS='${EPREFIX}/usr/bin/lxqt-openssh-askpass'" >> "${T}/99${PN}" \
  34. || die
  35. doenvd "${T}/99${PN}"
  36. }