plasma-nm-5.8.6.ebuild 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit kde5
  5. DESCRIPTION="KDE Plasma applet for NetworkManager"
  6. LICENSE="GPL-2 LGPL-2.1"
  7. KEYWORDS="amd64 ~arm x86"
  8. IUSE="modemmanager openconnect teamd"
  9. DEPEND="
  10. $(add_frameworks_dep kcompletion)
  11. $(add_frameworks_dep kconfig)
  12. $(add_frameworks_dep kconfigwidgets)
  13. $(add_frameworks_dep kcoreaddons)
  14. $(add_frameworks_dep kdbusaddons)
  15. $(add_frameworks_dep kdeclarative)
  16. $(add_frameworks_dep kdelibs4support)
  17. $(add_frameworks_dep ki18n)
  18. $(add_frameworks_dep kiconthemes)
  19. $(add_frameworks_dep kio)
  20. $(add_frameworks_dep kitemviews)
  21. $(add_frameworks_dep knotifications)
  22. $(add_frameworks_dep kservice)
  23. $(add_frameworks_dep kwallet)
  24. $(add_frameworks_dep kwidgetsaddons)
  25. $(add_frameworks_dep kwindowsystem)
  26. $(add_frameworks_dep kxmlgui)
  27. $(add_frameworks_dep networkmanager-qt 'teamd=')
  28. $(add_frameworks_dep plasma)
  29. $(add_frameworks_dep solid)
  30. $(add_qt_dep qtdbus)
  31. $(add_qt_dep qtdeclarative)
  32. $(add_qt_dep qtgui)
  33. $(add_qt_dep qtnetwork)
  34. $(add_qt_dep qtwidgets)
  35. >=app-crypt/qca-2.1.1:2[qt5]
  36. >=net-misc/networkmanager-0.9.10.0[teamd=]
  37. modemmanager? (
  38. $(add_frameworks_dep modemmanager-qt)
  39. $(add_qt_dep qtxml)
  40. net-misc/mobile-broadband-provider-info
  41. )
  42. openconnect? (
  43. $(add_qt_dep qtxml)
  44. net-misc/networkmanager-openconnect
  45. net-vpn/openconnect:=
  46. )
  47. "
  48. RDEPEND="${DEPEND}
  49. $(add_plasma_dep plasma-workspace)
  50. !kde-plasma/plasma-nm:4
  51. "
  52. src_configure() {
  53. local mycmakeargs=(
  54. $(cmake-utils_use_find_package modemmanager ModemManager)
  55. $(cmake-utils_use_find_package modemmanager KF5ModemManagerQt)
  56. $(cmake-utils_use_find_package openconnect OpenConnect)
  57. )
  58. kde5_src_configure
  59. }