kauth-5.32.0.ebuild 763 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. VIRTUALX_REQUIRED="test"
  5. inherit kde5
  6. DESCRIPTION="Framework to let applications perform actions as a privileged user"
  7. LICENSE="LGPL-2.1+"
  8. KEYWORDS="~amd64 ~arm ~x86"
  9. IUSE="nls +policykit"
  10. # drop qtgui subslot operator when QT_MINIMAL >= 5.7.0
  11. RDEPEND="
  12. $(add_frameworks_dep kcoreaddons)
  13. $(add_qt_dep qtdbus '' '' '5=')
  14. $(add_qt_dep qtgui)
  15. $(add_qt_dep qtwidgets)
  16. policykit? ( sys-auth/polkit-qt[qt5] )
  17. "
  18. DEPEND="${RDEPEND}
  19. nls? ( $(add_qt_dep linguist-tools) )
  20. "
  21. PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
  22. src_configure() {
  23. local mycmakeargs=(
  24. $(cmake-utils_use_find_package policykit PolkitQt5-1)
  25. )
  26. kde5_src_configure
  27. }