plasma-desktop-5.9.4.ebuild 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. KDE_HANDBOOK="forceoptional"
  5. KDE_TEST="true"
  6. VIRTUALX_REQUIRED="test"
  7. inherit kde5
  8. DESCRIPTION="KDE Plasma desktop"
  9. KEYWORDS="~amd64 ~arm ~x86"
  10. IUSE="appstream +fontconfig gtk2 gtk3 +input_devices_evdev input_devices_synaptics
  11. ibus legacy-systray pulseaudio +qt4 scim +semantic-desktop"
  12. COMMON_DEPEND="
  13. $(add_frameworks_dep attica)
  14. $(add_frameworks_dep kactivities)
  15. $(add_frameworks_dep kactivities-stats)
  16. $(add_frameworks_dep karchive)
  17. $(add_frameworks_dep kauth)
  18. $(add_frameworks_dep kbookmarks)
  19. $(add_frameworks_dep kcmutils)
  20. $(add_frameworks_dep kcodecs)
  21. $(add_frameworks_dep kcompletion)
  22. $(add_frameworks_dep kconfig)
  23. $(add_frameworks_dep kconfigwidgets)
  24. $(add_frameworks_dep kcoreaddons)
  25. $(add_frameworks_dep kdbusaddons)
  26. $(add_frameworks_dep kdeclarative)
  27. $(add_frameworks_dep kded)
  28. $(add_frameworks_dep kdelibs4support)
  29. $(add_frameworks_dep kemoticons)
  30. $(add_frameworks_dep kglobalaccel)
  31. $(add_frameworks_dep kguiaddons)
  32. $(add_frameworks_dep ki18n)
  33. $(add_frameworks_dep kiconthemes)
  34. $(add_frameworks_dep kio)
  35. $(add_frameworks_dep kitemmodels)
  36. $(add_frameworks_dep kitemviews)
  37. $(add_frameworks_dep kjobwidgets)
  38. $(add_frameworks_dep knewstuff)
  39. $(add_frameworks_dep knotifications)
  40. $(add_frameworks_dep knotifyconfig)
  41. $(add_frameworks_dep kparts)
  42. $(add_frameworks_dep kpeople)
  43. $(add_frameworks_dep krunner)
  44. $(add_frameworks_dep kservice)
  45. $(add_frameworks_dep kwallet)
  46. $(add_frameworks_dep kwidgetsaddons)
  47. $(add_frameworks_dep kwindowsystem)
  48. $(add_frameworks_dep kxmlgui)
  49. $(add_frameworks_dep plasma)
  50. $(add_frameworks_dep solid)
  51. $(add_frameworks_dep sonnet)
  52. $(add_plasma_dep kwin)
  53. $(add_plasma_dep plasma-workspace)
  54. $(add_qt_dep qtconcurrent)
  55. $(add_qt_dep qtdbus)
  56. $(add_qt_dep qtdeclarative)
  57. $(add_qt_dep qtgui)
  58. $(add_qt_dep qtnetwork)
  59. $(add_qt_dep qtprintsupport)
  60. $(add_qt_dep qtsql)
  61. $(add_qt_dep qtsvg)
  62. $(add_qt_dep qtwidgets)
  63. $(add_qt_dep qtx11extras)
  64. $(add_qt_dep qtxml)
  65. media-libs/phonon[qt5]
  66. x11-libs/libX11
  67. x11-libs/libXcursor
  68. x11-libs/libXfixes
  69. x11-libs/libXi
  70. x11-libs/libxcb
  71. x11-libs/libxkbfile
  72. appstream? ( dev-libs/appstream[qt5] )
  73. fontconfig? (
  74. media-libs/fontconfig
  75. media-libs/freetype
  76. x11-libs/libXft
  77. x11-libs/xcb-util-image
  78. )
  79. ibus? (
  80. $(add_qt_dep qtx11extras)
  81. app-i18n/ibus
  82. dev-libs/glib:2
  83. x11-libs/libxcb
  84. x11-libs/xcb-util-keysyms
  85. )
  86. input_devices_synaptics? ( x11-drivers/xf86-input-synaptics )
  87. pulseaudio? (
  88. dev-libs/glib:2
  89. media-libs/libcanberra
  90. media-sound/pulseaudio
  91. )
  92. scim? ( app-i18n/scim )
  93. semantic-desktop? ( $(add_frameworks_dep baloo) )
  94. "
  95. RDEPEND="${COMMON_DEPEND}
  96. $(add_plasma_dep breeze)
  97. $(add_plasma_dep kde-cli-tools)
  98. $(add_plasma_dep oxygen)
  99. $(add_qt_dep qtgraphicaleffects)
  100. sys-apps/accountsservice
  101. x11-apps/setxkbmap
  102. legacy-systray? (
  103. gtk2? ( dev-libs/libappindicator:2 )
  104. gtk3? ( dev-libs/libappindicator:3 )
  105. qt4? ( dev-libs/sni-qt )
  106. )
  107. pulseaudio? ( $(add_plasma_dep plasma-pa ) )
  108. qt4? ( kde-plasma/qguiplatformplugin_kde:4 )
  109. !kde-apps/kcontrol
  110. !kde-apps/knetattach[handbook]
  111. !kde-base/plasma-desktop:4
  112. !kde-plasma/plasma-workspace:4
  113. !kde-plasma/solid-actions-kcm:4
  114. !kde-plasma/systemsettings:4
  115. !kde-misc/kcm_touchpad
  116. !kde-misc/kcm-touchpad
  117. !kde-plasma/kcm-touchpad
  118. !<kde-plasma/kdeplasma-addons-5.5.50
  119. "
  120. DEPEND="${COMMON_DEPEND}
  121. dev-libs/boost
  122. x11-proto/xproto
  123. fontconfig? ( x11-libs/libXrender )
  124. input_devices_evdev? ( x11-drivers/xf86-input-evdev )
  125. "
  126. REQUIRED_USE="legacy-systray? ( || ( gtk2 gtk3 qt4 ) ) gtk2? ( legacy-systray ) gtk3? ( legacy-systray )"
  127. pkg_setup() {
  128. if has_version net-im/skype && use legacy-systray && use amd64; then
  129. einfo
  130. elog "You need to install dev-libs/sni-qt[abi_x86_32] as skype is a 32-bit binary."
  131. einfo
  132. fi
  133. }
  134. src_configure() {
  135. local mycmakeargs=(
  136. $(cmake-utils_use_find_package appstream AppStreamQt)
  137. $(cmake-utils_use_find_package fontconfig Fontconfig)
  138. $(cmake-utils_use_find_package ibus IBus)
  139. $(cmake-utils_use_find_package input_devices_evdev Evdev)
  140. $(cmake-utils_use_find_package input_devices_synaptics Synaptics)
  141. $(cmake-utils_use_find_package pulseaudio PulseAudio)
  142. $(cmake-utils_use_find_package scim SCIM)
  143. $(cmake-utils_use_find_package semantic-desktop KF5Baloo)
  144. )
  145. kde5_src_configure
  146. }