aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/umbrello/Manifest1
-rw-r--r--kde-apps/umbrello/umbrello-24.08.0.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-apps/umbrello/Manifest b/kde-apps/umbrello/Manifest
index 76499fff4e..c6e189b55a 100644
--- a/kde-apps/umbrello/Manifest
+++ b/kde-apps/umbrello/Manifest
@@ -1 +1,2 @@
DIST umbrello-24.07.90.tar.xz 5615632 BLAKE2B 10480b9e3f43a52ffca95f903809bb427c9df03574d8d18f32c6fff7cee06bf3fc74f0b032f91aeafa1011d734d174ab97e3f9ea0b04766b5ba4223eb0359f67 SHA512 7aac6f9666f077cc6832695ae1b626d53ac8944090099b768c8f36b115308e1e1f1619c288bdc2ff0cdb9027b0cd118810fd2e8b4e9f940b4a8eacd7685e812a
+DIST umbrello-24.08.0.tar.xz 5615964 BLAKE2B 0539ca53743f57b1d543862a3e450d6aa2b28c652f34989945660a7086fc12c2667b58d9722a87b2e287dac673793e0d0b44e66026c6f9e22fe9b9332e4f7bc5 SHA512 50c2d35cbe33fad39e55ddfaa4d64f9899596dd8eca6d4c45f1b7b04e1320c7de422ae07647b2895d7f4c6e85a408f0a043d4b277144d76cde860dbef72150de
diff --git a/kde-apps/umbrello/umbrello-24.08.0.ebuild b/kde-apps/umbrello/umbrello-24.08.0.ebuild
new file mode 100644
index 0000000000..e988cb09e2
--- /dev/null
+++ b/kde-apps/umbrello/umbrello-24.08.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_QTHELP="false" # TODO: figure out install error
+ECM_TEST="forceoptional"
+KFMIN=5.115.0
+QTMIN=5.15.12
+inherit ecm gear.kde.org
+
+DESCRIPTION="KDE UML Modeller"
+HOMEPAGE="https://apps.kde.org/umbrello/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# TODO: Re-enable when ported to KF6
+# IUSE="php"
+# php? (
+# dev-util/kdevelop:5=
+# dev-util/kdevelop-pg-qt:5
+# dev-util/kdevelop-php:5
+# )
+
+RDEPEND="
+ dev-libs/libxml2
+ dev-libs/libxslt
+ >=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
+ >=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
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-23.03.80-gentoo-docbundledir.patch # fix hardcoded path
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON # broken, re-enable w/ ECM_QTHELP
+ -DBUILD_APIDOC=OFF
+ -DBUILD_PHP_IMPORT=OFF # $(usex php)
+ )
+ use test && mycmakeargs+=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_LLVM=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_Clang=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_CLANG=ON
+ )
+
+ ecm_src_configure
+}