ktexteditor-5.32.0.ebuild 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 providing a full text editor component"
  7. LICENSE="LGPL-2+"
  8. KEYWORDS="~amd64 ~arm ~x86"
  9. IUSE="editorconfig git"
  10. RDEPEND="
  11. $(add_frameworks_dep karchive)
  12. $(add_frameworks_dep kcodecs)
  13. $(add_frameworks_dep kcompletion)
  14. $(add_frameworks_dep kconfig)
  15. $(add_frameworks_dep kconfigwidgets)
  16. $(add_frameworks_dep kcoreaddons)
  17. $(add_frameworks_dep kguiaddons)
  18. $(add_frameworks_dep ki18n)
  19. $(add_frameworks_dep kiconthemes)
  20. $(add_frameworks_dep kio)
  21. $(add_frameworks_dep kitemviews)
  22. $(add_frameworks_dep kjobwidgets)
  23. $(add_frameworks_dep kparts)
  24. $(add_frameworks_dep ktextwidgets)
  25. $(add_frameworks_dep kwidgetsaddons)
  26. $(add_frameworks_dep kxmlgui)
  27. $(add_frameworks_dep sonnet)
  28. $(add_frameworks_dep syntax-highlighting)
  29. $(add_qt_dep qtgui)
  30. $(add_qt_dep qtprintsupport)
  31. $(add_qt_dep qtscript)
  32. $(add_qt_dep qtwidgets)
  33. $(add_qt_dep qtxml)
  34. editorconfig? ( app-text/editorconfig-core-c )
  35. git? ( dev-libs/libgit2:= )
  36. "
  37. DEPEND="${RDEPEND}
  38. $(add_qt_dep qtxmlpatterns)
  39. test? ( $(add_frameworks_dep kservice) )
  40. "
  41. RESTRICT+=" test"
  42. src_configure() {
  43. local mycmakeargs=(
  44. $(cmake-utils_use_find_package editorconfig EditorConfig)
  45. $(cmake-utils_use_find_package git LibGit2)
  46. )
  47. kde5_src_configure
  48. }