kaddressbook-4.4.2016.01.ebuild 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. KMNAME="kdepim"
  5. KDE_HANDBOOK=optional
  6. inherit kde4-meta
  7. DESCRIPTION="The KDE Address Book (noakonadi branch)"
  8. HOMEPAGE="https://launchpad.net/~pali/+archive/ubuntu/kdepim-noakonadi"
  9. KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
  10. IUSE="debug"
  11. DEPEND="
  12. $(add_kdeapps_dep kdepimlibs '' 4.13.1)
  13. $(add_kdeapps_dep libkdepim '' 4.4.2015)
  14. $(add_kdeapps_dep libkleo '' 4.4.2015)
  15. kde-frameworks/kdelibs:4
  16. "
  17. RDEPEND="${DEPEND}"
  18. KMEXTRA="
  19. plugins/kaddressbook/
  20. plugins/ktexteditor/
  21. "
  22. KMEXTRACTONLY="
  23. libkleo/
  24. "
  25. KMLOADLIBS="libkdepim"
  26. src_install() {
  27. kde4-meta_src_install
  28. # file collision with kde-apps/kdepimlibs-4.14.9
  29. rm -f "${ED}usr/share/kde4/servicetypes/kaddressbookimprotocol.desktop" || die
  30. # install additional headers needed by kresources
  31. insinto "${KDEDIR}"/include/${PN}
  32. doins "${CMAKE_BUILD_DIR}"/${PN}/common/*.h
  33. doins "${S}"/${PN}/common/*.h
  34. }
  35. pkg_postinst() {
  36. kde4-meta_pkg_postinst
  37. if ! has_version kde-apps/kdepim-kresources:${SLOT}; then
  38. echo
  39. elog "For groupware functionality, please install kde-apps/kdepim-kresources:${SLOT}"
  40. echo
  41. fi
  42. }