ktp-accounts-kcm-16.12.3.ebuild 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 Telepathy account management kcm"
  6. HOMEPAGE="https://community.kde.org/Real-Time_Communication_and_Collaboration"
  7. LICENSE="LGPL-2.1"
  8. KEYWORDS="~amd64 ~x86"
  9. IUSE="experimental"
  10. COMMON_DEPEND="
  11. $(add_frameworks_dep kcodecs)
  12. $(add_frameworks_dep kconfig)
  13. $(add_frameworks_dep kcoreaddons)
  14. $(add_frameworks_dep ki18n)
  15. $(add_frameworks_dep kiconthemes)
  16. $(add_frameworks_dep kitemviews)
  17. $(add_frameworks_dep kservice)
  18. $(add_frameworks_dep ktextwidgets)
  19. $(add_frameworks_dep kwidgetsaddons)
  20. $(add_kdeapps_dep kaccounts-integration)
  21. $(add_qt_dep qtdbus)
  22. $(add_qt_dep qtgui)
  23. $(add_qt_dep qtnetwork)
  24. $(add_qt_dep qtwidgets)
  25. net-libs/accounts-qt
  26. net-libs/signond
  27. net-libs/telepathy-qt[qt5]
  28. "
  29. DEPEND="${COMMON_DEPEND}
  30. $(add_frameworks_dep kcmutils)
  31. $(add_frameworks_dep kconfigwidgets)
  32. $(add_frameworks_dep kio)
  33. net-libs/libaccounts-glib
  34. "
  35. RDEPEND="${COMMON_DEPEND}
  36. $(add_kdeapps_dep kaccounts-providers)
  37. net-im/telepathy-connection-managers
  38. !kde-apps/ktp-accounts-kcm:4
  39. "
  40. src_prepare() {
  41. if use experimental; then
  42. mv "${S}"/data/kaccounts/disabled/*.in "${S}"/data/kaccounts/ || die "couldn't enable experimental services"
  43. fi
  44. kde5_src_prepare
  45. }
  46. pkg_postinst() {
  47. if use experimental; then
  48. ewarn "Experimental providers are enabled."
  49. ewarn "Most of them aren't integrated nicely and may require additional steps for account creation."
  50. ewarn "Use at your own risk!"
  51. fi
  52. }