aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-02-21 13:47:11 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-02-24 01:15:19 +1100
commitf21d78c799e95b6b2829659188d611a4b6fe67c8 (patch)
tree4c1c0c5f21b4dc0a137f871bccafd52bfd1cbdec
parentkde-apps/artikulate: Add DEPENDs (diff)
downloadkde-f21d78c799e95b6b2829659188d611a4b6fe67c8.tar.gz
kde-f21d78c799e95b6b2829659188d611a4b6fe67c8.tar.bz2
kde-f21d78c799e95b6b2829659188d611a4b6fe67c8.zip
dev-vcs/kdesvn: Use frameworks branch
Package-Manager: portage-2.2.27
-rw-r--r--dev-vcs/kdesvn/kdesvn-9999.ebuild45
-rw-r--r--dev-vcs/kdesvn/metadata.xml3
2 files changed, 34 insertions, 14 deletions
diff --git a/dev-vcs/kdesvn/kdesvn-9999.ebuild b/dev-vcs/kdesvn/kdesvn-9999.ebuild
index 2e23ce4761..646886d3c9 100644
--- a/dev-vcs/kdesvn/kdesvn-9999.ebuild
+++ b/dev-vcs/kdesvn/kdesvn-9999.ebuild
@@ -2,38 +2,55 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-KDE_HANDBOOK="optional"
-KDE_LINGUAS="cs de el es fr it ja lt pt_BR ro ru"
-inherit flag-o-matic kde4-base
+CMAKE_MIN_VERSION="3.1.0"
+EGIT_BRANCH="frameworks"
+KDE_HANDBOOK="forceoptional"
+inherit kde5
DESCRIPTION="A frontend to the subversion vcs"
-HOMEPAGE="http://kdesvn.alwins-world.de/"
+HOMEPAGE="http://kdesvn.alwins-world.de/ https://projects.kde.org/projects/extragear/sdk/kdesvn"
if [[ ${PV} != 9999* ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
fi
LICENSE="GPL-2"
KEYWORDS=""
-SLOT="4"
-IUSE="debug"
+IUSE="+man"
DEPEND="
+ $(add_frameworks_dep kbookmarks)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsql 'sqlite')
+ $(add_qt_dep qtwidgets)
dev-libs/apr:1
dev-libs/apr-util:1
- dev-qt/qtsql:4[sqlite]
>=dev-vcs/subversion-1.7
- sys-devel/gettext
"
RDEPEND="${DEPEND}
+ !dev-vcs/kdesvn:4
!kde-apps/kdesdk-kioslaves:4[subversion(+)]
"
-src_configure() {
- append-cppflags -DQT_THREAD_SUPPORT
+src_prepare(){
+ kde5_src_prepare
- [[ ${PV} = 9999* ]] && local mycmakeargs=(-DDAILY_BUILD=ON)
-
- kde4-base_src_configure
+ if ! use man ; then
+ sed -i -e "/kdoctools_create_manpage/ s/^/#/" doc/CMakeLists.txt || die
+ fi
}
diff --git a/dev-vcs/kdesvn/metadata.xml b/dev-vcs/kdesvn/metadata.xml
index 2fdbf33d96..ac7f14a78a 100644
--- a/dev-vcs/kdesvn/metadata.xml
+++ b/dev-vcs/kdesvn/metadata.xml
@@ -5,4 +5,7 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="man">Build and install man pages</flag>
+ </use>
</pkgmetadata>