1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 ECM_HANDBOOK="forceoptional"
11 DESCRIPTION="Frontend to the subversion vcs"
12 HOMEPAGE="https://apps.kde.org/kdesvn/"
14 if [[ ${PV} != 9999* ]]; then
15 SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz
16 https://dev.gentoo.org/~asturm/distfiles/${P}-patchset-1.tar.xz"
27 >=dev-qt/qtdbus-${QTMIN}:5
28 >=dev-qt/qtgui-${QTMIN}:5
29 >=dev-qt/qtsql-${QTMIN}:5[sqlite]
30 >=dev-qt/qtwidgets-${QTMIN}:5
31 >=dev-qt/qtxml-${QTMIN}:5
33 >=kde-frameworks/kbookmarks-${KFMIN}:5
34 >=kde-frameworks/kcodecs-${KFMIN}:5
35 >=kde-frameworks/kcompletion-${KFMIN}:5
36 >=kde-frameworks/kconfig-${KFMIN}:5
37 >=kde-frameworks/kconfigwidgets-${KFMIN}:5
38 >=kde-frameworks/kcoreaddons-${KFMIN}:5
39 >=kde-frameworks/kdbusaddons-${KFMIN}:5
40 >=kde-frameworks/ki18n-${KFMIN}:5
41 >=kde-frameworks/kiconthemes-${KFMIN}:5
42 >=kde-frameworks/kio-${KFMIN}:5
43 >=kde-frameworks/kitemviews-${KFMIN}:5
44 >=kde-frameworks/kjobwidgets-${KFMIN}:5
45 >=kde-frameworks/knotifications-${KFMIN}:5
46 >=kde-frameworks/kparts-${KFMIN}:5
47 >=kde-frameworks/kservice-${KFMIN}:5
48 >=kde-frameworks/ktextwidgets-${KFMIN}:5
49 >=kde-frameworks/kwallet-${KFMIN}:5
50 >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
51 >=kde-frameworks/kxmlgui-${KFMIN}:5
55 man? ( >=kde-frameworks/kdoctools-${KFMIN}:5 )
59 "${WORKDIR}"/${P}-remove-help-button.patch # KDE-bug 410566
60 "${WORKDIR}"/${P}-fix-openwith-context-menu.patch # KDE-bug 410585
61 "${WORKDIR}"/${P}-fix-dupl-cli-options.patch
62 "${WORKDIR}"/${P}-crashfix-w-o-local-checkout-path.patch # KDE-bug 419906
63 "${WORKDIR}"/${P}-crashfix-closing-repo.patch # KDE-bug 437948
64 "${WORKDIR}"/${P}-hidpi-{1,2}.patch
65 "${WORKDIR}"/${P}-fix-deprecated.patch
72 sed -i -e "/kdoctools_create_manpage/ s/^/#/" doc/CMakeLists.txt || die