kwin-5.9.4.ebuild 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. KDE_HANDBOOK="optional"
  5. KDE_TEST="optional"
  6. VIRTUALX_REQUIRED="test"
  7. inherit kde5
  8. DESCRIPTION="KDE window manager"
  9. LICENSE="GPL-2+"
  10. KEYWORDS="~amd64 ~arm ~x86"
  11. IUSE="gles2 multimedia"
  12. # drop qtcore subslot operator when QT_MINIMAL >= 5.7.0
  13. COMMON_DEPEND="
  14. $(add_frameworks_dep kactivities)
  15. $(add_frameworks_dep kauth)
  16. $(add_frameworks_dep kcmutils)
  17. $(add_frameworks_dep kcompletion)
  18. $(add_frameworks_dep kconfig)
  19. $(add_frameworks_dep kconfigwidgets)
  20. $(add_frameworks_dep kcoreaddons)
  21. $(add_frameworks_dep kcrash)
  22. $(add_frameworks_dep kdeclarative)
  23. $(add_frameworks_dep kglobalaccel)
  24. $(add_frameworks_dep ki18n)
  25. $(add_frameworks_dep kiconthemes)
  26. $(add_frameworks_dep kidletime)
  27. $(add_frameworks_dep kinit)
  28. $(add_frameworks_dep kio)
  29. $(add_frameworks_dep knewstuff)
  30. $(add_frameworks_dep knotifications)
  31. $(add_frameworks_dep kpackage)
  32. $(add_frameworks_dep kservice)
  33. $(add_frameworks_dep kwayland)
  34. $(add_frameworks_dep kwidgetsaddons)
  35. $(add_frameworks_dep kwindowsystem X)
  36. $(add_frameworks_dep kxmlgui)
  37. $(add_frameworks_dep plasma)
  38. $(add_plasma_dep breeze)
  39. $(add_plasma_dep kdecoration)
  40. $(add_plasma_dep kscreenlocker)
  41. $(add_qt_dep qtcore '' '' '5=')
  42. $(add_qt_dep qtdbus)
  43. $(add_qt_dep qtdeclarative)
  44. $(add_qt_dep qtgui 'gles2=')
  45. $(add_qt_dep qtscript)
  46. $(add_qt_dep qtwidgets)
  47. $(add_qt_dep qtx11extras)
  48. >=dev-libs/libinput-1.5
  49. >=dev-libs/wayland-1.2
  50. media-libs/fontconfig
  51. media-libs/freetype
  52. media-libs/libepoxy
  53. media-libs/mesa[egl,gbm,gles2?,wayland]
  54. virtual/libudev:=
  55. x11-libs/libICE
  56. x11-libs/libSM
  57. x11-libs/libX11
  58. x11-libs/libXi
  59. x11-libs/libdrm
  60. >=x11-libs/libxcb-1.10
  61. >=x11-libs/libxkbcommon-0.7.0
  62. x11-libs/xcb-util-cursor
  63. x11-libs/xcb-util-image
  64. x11-libs/xcb-util-keysyms
  65. "
  66. RDEPEND="${COMMON_DEPEND}
  67. $(add_plasma_dep kde-cli-tools)
  68. multimedia? (
  69. || (
  70. $(add_qt_dep qtmultimedia 'gstreamer,qml')
  71. $(add_qt_dep qtmultimedia 'gstreamer010,qml')
  72. )
  73. )
  74. !<kde-apps/kdeartwork-meta-15.08.3-r1:4
  75. !kde-plasma/kwin:4
  76. !kde-plasma/systemsettings:4
  77. "
  78. DEPEND="${COMMON_DEPEND}
  79. $(add_qt_dep designer)
  80. $(add_qt_dep qtconcurrent)
  81. x11-proto/xproto
  82. test? ( x11-libs/xcb-util-wm )
  83. "
  84. RESTRICT+=" test"
  85. src_prepare() {
  86. kde5_src_prepare
  87. use multimedia || eapply "${FILESDIR}/${PN}-gstreamer-optional.patch"
  88. }