diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-22 10:16:19 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-22 11:12:34 +0200 |
commit | 151610f2442c3c8f7c58a38a181426aea2f0bdc6 (patch) | |
tree | 09a989bc3a9c8de5ef371da1f8e7bdad98c30a40 /kde-apps | |
parent | kde-apps/poxml: 23.04.0 version bump (diff) | |
download | gentoo-151610f2442c3c8f7c58a38a181426aea2f0bdc6.tar.gz gentoo-151610f2442c3c8f7c58a38a181426aea2f0bdc6.tar.bz2 gentoo-151610f2442c3c8f7c58a38a181426aea2f0bdc6.zip |
kde-apps/umbrello: 23.04.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/umbrello/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/umbrello/files/umbrello-23.03.80-gentoo-docbundledir.patch | 41 | ||||
-rw-r--r-- | kde-apps/umbrello/umbrello-23.04.0.ebuild | 72 |
3 files changed, 114 insertions, 0 deletions
diff --git a/kde-apps/umbrello/Manifest b/kde-apps/umbrello/Manifest index 6d99e00fd105..1c90a1103078 100644 --- a/kde-apps/umbrello/Manifest +++ b/kde-apps/umbrello/Manifest @@ -1 +1,2 @@ DIST umbrello-22.12.3.tar.xz 5801500 BLAKE2B 5ac29cf8c3e994dae896ee12f430423c53a95682d23a6f2833d889c125107cd3a8691516ab5e2b1295d0da7504dae2501030e15374945b3b40b23792702c483b SHA512 a88984c79f176f2589e83f8e94434ef641f35dd4b0a9f361a2d7b1c117c416c898a3b26aa419a2b8c4746dd5f2eab9c6a35c81b34441e0471051962017744cf8 +DIST umbrello-23.04.0.tar.xz 5774008 BLAKE2B 25b8ab6c63c5d5813e3348da7d7e08bbdb4b3648891d769f2a6c590935b52eee29f08014f5944fdd76080bb286ed9df1ae437f04dc9967ff0b37b584f79f9094 SHA512 aca07d2bdea918ed3d3b12cc3a8dd0bbd875200f7326e6a1d011ee04a98feefb49e23b015aa0bb089b3f1e9bc0d05029fad597ec8206020bb7f8e72bf20127fd diff --git a/kde-apps/umbrello/files/umbrello-23.03.80-gentoo-docbundledir.patch b/kde-apps/umbrello/files/umbrello-23.03.80-gentoo-docbundledir.patch new file mode 100644 index 000000000000..c577a72f74a1 --- /dev/null +++ b/kde-apps/umbrello/files/umbrello-23.03.80-gentoo-docbundledir.patch @@ -0,0 +1,41 @@ +From 20e7b4e1cf4e150e7de2d9fa3f0ee43f434e8ec3 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Thu, 5 Nov 2020 14:39:51 +0100 +Subject: [PATCH] Fix hardcoded docbook install paths for Gentoo + +Gentoo sets KDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help". + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + umbrello/umlappprivate.cpp | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/umbrello/umlappprivate.cpp b/umbrello/umlappprivate.cpp +index 08c138518..28e5d3086 100644 +--- a/umbrello/umlappprivate.cpp ++++ b/umbrello/umlappprivate.cpp +@@ -33,17 +33,17 @@ QString UMLAppPrivate::findWelcomeFile() + + // from custom install + foreach(const QString &lang, langList) { +- dirList.append(QCoreApplication::applicationDirPath() + QString(QStringLiteral("/../share/doc/HTML/%1/umbrello/apphelp")).arg(lang)); ++ dirList.append(QCoreApplication::applicationDirPath() + QString(QStringLiteral("/../share/help/%1/umbrello/apphelp")).arg(lang)); + } +- dirList.append(QCoreApplication::applicationDirPath() + QStringLiteral("/../share/doc/HTML/en/umbrello/apphelp")); ++ dirList.append(QCoreApplication::applicationDirPath() + QStringLiteral("/../share/help/en/umbrello/apphelp")); + + QStringList locations = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation); + // from real installation + foreach(const QString &location, locations) { + foreach(const QString &lang, langList) { +- dirList.append(QString(QStringLiteral("%1/doc/HTML/%2/umbrello/apphelp")).arg(location).arg(lang)); ++ dirList.append(QString(QStringLiteral("%1/help/%2/umbrello/apphelp")).arg(location).arg(lang)); + } +- dirList.append(QString(QStringLiteral("%1/doc/HTML/en/umbrello/apphelp")).arg(location)); ++ dirList.append(QString(QStringLiteral("%1/help/en/umbrello/apphelp")).arg(location)); + } + foreach(const QString &dir, dirList) { + QString filePath = dir + QStringLiteral("/index.cache.bz2"); +-- +2.40.0 + diff --git a/kde-apps/umbrello/umbrello-23.04.0.ebuild b/kde-apps/umbrello/umbrello-23.04.0.ebuild new file mode 100644 index 000000000000..eda602e7f8ca --- /dev/null +++ b/kde-apps/umbrello/umbrello-23.04.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 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.104.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +inherit ecm gear.kde.org + +DESCRIPTION="KDE UML Modeller" +HOMEPAGE="https://apps.kde.org/umbrello/ https://umbrello.kde.org" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="php" + +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 + php? ( + dev-util/kdevelop:5= + dev-util/kdevelop-pg-qt:5 + dev-util/kdevelop-php: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_KF5=ON + -DBUILD_PHP_IMPORT=$(usex php) + -DBUILD_unittests=$(usex test) + ) + use test && mycmakeargs+=( + -DCMAKE_DISABLE_FIND_PACKAGE_LLVM=ON + -DCMAKE_DISABLE_FIND_PACKAGE_Clang=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CLANG=ON + ) + + ecm_src_configure +} |