From: Andreas Sturmlechner Date: Tue, 11 Feb 2020 15:58:18 +0000 (+0100) Subject: kde-apps/umbrello: Add USE php, dropping ~arm64 keyword X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38f2b95f0c1128c12572129808aad3ace92e46b9;p=gentoo.git kde-apps/umbrello: Add USE php, dropping ~arm64 keyword Upstream commit bfe073542e03bb9aee8dc7c5a58f8de33f17feef Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- diff --git a/kde-apps/umbrello/metadata.xml b/kde-apps/umbrello/metadata.xml index 2fdbf33d963d..c81c6f761d85 100644 --- a/kde-apps/umbrello/metadata.xml +++ b/kde-apps/umbrello/metadata.xml @@ -5,4 +5,7 @@ kde@gentoo.org Gentoo KDE Project + + Enable PHP import support using dev-util/kdevelop and dev-util/kdevelop-pg-qt + 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 index 000000000000..a74776b17caa --- /dev/null +++ b/kde-apps/umbrello/umbrello-19.12.2-r1.ebuild @@ -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 +}