kdesvn-2.0.0.ebuild 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. inherit kde5
  6. DESCRIPTION="A frontend to the subversion vcs"
  7. HOMEPAGE="http://kdesvn.alwins-world.de/ https://cgit.kde.org/kdesvn.git/"
  8. if [[ ${PV} != 9999* ]]; then
  9. SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
  10. fi
  11. LICENSE="GPL-2"
  12. KEYWORDS="amd64 x86"
  13. IUSE="+man"
  14. DEPEND="
  15. $(add_frameworks_dep kbookmarks)
  16. $(add_frameworks_dep kcodecs)
  17. $(add_frameworks_dep kcompletion)
  18. $(add_frameworks_dep kconfig)
  19. $(add_frameworks_dep kconfigwidgets)
  20. $(add_frameworks_dep kcoreaddons)
  21. $(add_frameworks_dep kdbusaddons)
  22. $(add_frameworks_dep ki18n)
  23. $(add_frameworks_dep kiconthemes)
  24. $(add_frameworks_dep kio)
  25. $(add_frameworks_dep kitemviews)
  26. $(add_frameworks_dep kjobwidgets)
  27. $(add_frameworks_dep knotifications)
  28. $(add_frameworks_dep kparts)
  29. $(add_frameworks_dep kservice)
  30. $(add_frameworks_dep ktextwidgets)
  31. $(add_frameworks_dep kwallet)
  32. $(add_frameworks_dep kwidgetsaddons)
  33. $(add_frameworks_dep kxmlgui)
  34. $(add_qt_dep qtdbus)
  35. $(add_qt_dep qtgui)
  36. $(add_qt_dep qtsql 'sqlite')
  37. $(add_qt_dep qtwidgets)
  38. $(add_qt_dep qtxml)
  39. dev-libs/apr:1
  40. dev-libs/apr-util:1
  41. dev-vcs/subversion
  42. "
  43. RDEPEND="${DEPEND}
  44. !dev-vcs/kdesvn:4
  45. !kde-apps/kdesdk-kioslaves:4[subversion(-)]
  46. "
  47. PATCHES=(
  48. "${FILESDIR}/${P}-desktop.patch"
  49. "${FILESDIR}/${P}-deps.patch"
  50. )
  51. src_prepare(){
  52. kde5_src_prepare
  53. if ! use man ; then
  54. sed -i -e "/kdoctools_create_manpage/ s/^/#/" doc/CMakeLists.txt || die
  55. fi
  56. }