frameworkintegration-5.29.0.ebuild 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 for integrating Qt applications with KDE Plasma workspaces"
  7. LICENSE="LGPL-2+"
  8. KEYWORDS="amd64 ~arm x86"
  9. IUSE="X"
  10. RDEPEND="
  11. $(add_frameworks_dep kconfig)
  12. $(add_frameworks_dep kconfigwidgets)
  13. $(add_frameworks_dep kiconthemes)
  14. $(add_frameworks_dep knotifications)
  15. $(add_frameworks_dep kpackage)
  16. $(add_frameworks_dep kwidgetsaddons)
  17. $(add_qt_dep qtgui)
  18. $(add_qt_dep qtwidgets)
  19. X? (
  20. $(add_qt_dep qtx11extras)
  21. x11-libs/libxcb
  22. )
  23. "
  24. DEPEND="${RDEPEND}"
  25. # requires running kde environment
  26. RESTRICT+=" test"
  27. src_prepare() {
  28. punt_bogus_dep Qt5 DBus
  29. kde5_src_prepare
  30. }
  31. src_configure() {
  32. local mycmakeargs=(
  33. $(cmake-utils_use_find_package X XCB)
  34. -DCMAKE_DISABLE_FIND_PACKAGE_AppStreamQt=ON
  35. -DCMAKE_DISABLE_FIND_PACKAGE_packagekitqt5=ON
  36. )
  37. # appstream requires app-admin/packagekit-qt and
  38. # not yet packaged AppStreamQt 0.10
  39. kde5_src_configure
  40. }