kde-apps/umbrello: Add USE php, dropping ~arm64 keyword
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 11 Feb 2020 15:58:18 +0000 (16:58 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 11 Feb 2020 15:58:18 +0000 (16:58 +0100)
Upstream commit bfe073542e03bb9aee8dc7c5a58f8de33f17feef

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-apps/umbrello/metadata.xml
kde-apps/umbrello/umbrello-19.12.2-r1.ebuild [new file with mode: 0644]

index 2fdbf33d963db81228cb30a4f1abf67dbe9c29f1..c81c6f761d857254494e28e55ad6364f34abf35e 100644 (file)
@@ -5,4 +5,7 @@
                <email>kde@gentoo.org</email>
                <name>Gentoo KDE Project</name>
        </maintainer>
+       <use>
+               <flag name="php">Enable PHP import support using <pkg>dev-util/kdevelop</pkg> and <pkg>dev-util/kdevelop-pg-qt</pkg></flag>
+       </use>
 </pkgmetadata>
diff --git a/kde-apps/umbrello/umbrello-19.12.2-r1.ebuild b/kde-apps/umbrello/umbrello-19.12.2-r1.ebuild
new file mode 100644 (file)
index 0000000..a74776b
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.63.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="KDE UML Modeller"
+HOMEPAGE="https://kde.org/applications/development/org.kde.umbrello
+https://umbrello.kde.org"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+IUSE="php"
+
+RDEPEND="
+       >=kde-frameworks/karchive-${KFMIN}:5
+       >=kde-frameworks/kcompletion-${KFMIN}:5
+       >=kde-frameworks/kconfig-${KFMIN}:5
+       >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+       >=kde-frameworks/kcoreaddons-${KFMIN}:5
+       >=kde-frameworks/kcrash-${KFMIN}:5
+       >=kde-frameworks/ki18n-${KFMIN}:5
+       >=kde-frameworks/kiconthemes-${KFMIN}:5
+       >=kde-frameworks/kio-${KFMIN}:5
+       >=kde-frameworks/kjobwidgets-${KFMIN}:5
+       >=kde-frameworks/ktexteditor-${KFMIN}:5
+       >=kde-frameworks/ktextwidgets-${KFMIN}:5
+       >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+       >=kde-frameworks/kwindowsystem-${KFMIN}:5
+       >=kde-frameworks/kxmlgui-${KFMIN}:5
+       >=dev-qt/qtgui-${QTMIN}:5
+       >=dev-qt/qtprintsupport-${QTMIN}:5
+       >=dev-qt/qtsvg-${QTMIN}:5
+       >=dev-qt/qtwidgets-${QTMIN}:5
+       >=dev-qt/qtxml-${QTMIN}:5
+       dev-libs/libxml2
+       dev-libs/libxslt
+       >=dev-qt/qtwebkit-5.212.0_pre20180120:5
+       php? (
+               dev-util/kdevelop:5=
+               dev-util/kdevelop-pg-qt
+       )
+"
+DEPEND="${RDEPEND}
+       >=kde-frameworks/kdelibs4support-${KFMIN}:5
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_KF5=ON
+               -DBUILD_PHP_IMPORT=$(usex php)
+               -DBUILD_unittests=$(usex test)
+       )
+       use test && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_LLVM=ON )
+
+       ecm_src_configure
+}