commit: b75be2852e70e83586bc9168d1cdee999e41c3f6
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Thu Feb 5 18:07:49 2015 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Thu Feb 5 18:07:49 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=b75be285
[kde-apps/umbrello] Add KF5 version
Package-Manager: portage-2.2.15
---
.../files/umbrello-5.9999-tests-optional.patch | 33 +++++++++++++++
kde-apps/umbrello/umbrello-5.9999.ebuild | 49 ++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/kde-apps/umbrello/files/umbrello-5.9999-tests-optional.patch
b/kde-apps/umbrello/files/umbrello-5.9999-tests-optional.patch
new file mode 100644
index 0000000..e9bb603
--- /dev/null
+++ b/kde-apps/umbrello/files/umbrello-5.9999-tests-optional.patch
@@ -0,0 +1,33 @@
+--- a/CMakeLists.txt 2015-02-03 20:04:23.900153480 +0100
++++ b/CMakeLists.txt 2015-02-03 20:25:08.164973819 +0100
+@@ -26,11 +26,19 @@
+ Gui
+ PrintSupport
+ Svg
+- Test
+ Widgets
+ Xml
+ )
+
++find_package(Qt5Test ${QT_MIN_VERSION} QUIET)
++set_package_properties(Qt5Test PROPERTIES
++ PURPOSE "Required for tests"
++ TYPE OPTIONAL)
++add_feature_info("Qt5Test" Qt5Test_FOUND "Required for building tests")
++if (NOT Qt5Test_FOUND)
++ set(BUILD_TESTING OFF CACHE BOOL "Build the testing tree.")
++endif()
++
+ # search packages used by KDE
+ find_package(KF5 REQUIRED COMPONENTS
+ Archive
+@@ -105,6 +113,8 @@
+ endif(LIBXSLT_FOUND AND LIBXML2_FOUND)
+
+ # for automatic unit tests
+-ecm_optional_add_subdirectory(unittests)
++if (BUILD_TESTING)
++ ecm_optional_add_subdirectory(unittests)
++endif()
+
+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/kde-apps/umbrello/umbrello-5.9999.ebuild
b/kde-apps/umbrello/umbrello-5.9999.ebuild
new file mode 100644
index 0000000..5bb65ad
--- /dev/null
+++ b/kde-apps/umbrello/umbrello-5.9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_BRANCH="frameworks"
+KDE_HANDBOOK="true"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="KDE UML Modeller"
+HOMEPAGE="
+ http://www.kde.org/applications/development/umbrello
+ http://umbrello.kde.org
+"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kauth)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdoctools)
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kinit)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktexteditor)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}"-5.9999-tests-optional.patch )