kshutdown-4.0.ebuild 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. KDE_TEST="false"
  5. KDE_AUTODEPS="false"
  6. MY_P=${PN}-source-${PV/_}
  7. inherit kde5
  8. DESCRIPTION="Shutdown manager for desktop environmenmts like KDE Plasma"
  9. HOMEPAGE="http://kshutdown.sourceforge.net"
  10. SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
  11. LICENSE="GPL-2+"
  12. KEYWORDS="amd64 x86"
  13. IUSE="+kde"
  14. RDEPEND="
  15. dev-qt/qtcore:5
  16. dev-qt/qtdbus:5
  17. dev-qt/qtgui:5
  18. dev-qt/qtwidgets:5
  19. kde? (
  20. kde-frameworks/kconfig:5
  21. kde-frameworks/kconfigwidgets:5
  22. kde-frameworks/kcoreaddons:5
  23. kde-frameworks/kdbusaddons:5
  24. kde-frameworks/kglobalaccel:5
  25. kde-frameworks/ki18n:5
  26. kde-frameworks/kidletime:5
  27. kde-frameworks/knotifications:5
  28. kde-frameworks/knotifyconfig:5
  29. kde-frameworks/kwidgetsaddons:5
  30. kde-frameworks/kxmlgui:5
  31. )
  32. !kde-misc/kshutdown:4
  33. "
  34. DEPEND="${RDEPEND}
  35. app-arch/unzip
  36. kde? ( kde-frameworks/extra-cmake-modules:5 )
  37. sys-devel/gettext
  38. "
  39. src_configure() {
  40. local mycmakeargs=(
  41. -DKS_KF5=$(usex kde)
  42. -DKS_PURE_QT=$(usex !kde)
  43. )
  44. kde5_src_configure
  45. }