lxqt-openssh-askpass-0.11.0.ebuild 959 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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_configure() {
  31. local mycmakeargs=( -DPULL_TRANSLATIONS=OFF )
  32. cmake-utils_src_configure
  33. }
  34. src_install(){
  35. cmake-utils_src_install
  36. doman man/*.1
  37. echo "SSH_ASKPASS='${EPREFIX}/usr/bin/lxqt-openssh-askpass'" >> "${T}/99${PN}" \
  38. || die
  39. doenvd "${T}/99${PN}"
  40. }