commit: acc2b5e7c249599cd2b940245ef15caa73ac3ef6 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Jan 7 15:58:06 2026 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Jan 7 15:58:06 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc2b5e7
app-office/kraft: add 2.0.0 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-office/kraft/Manifest | 1 + .../kraft-2.0.0-no-git-or-buildhost-info.patch | 38 ++++++++++++++++ app-office/kraft/kraft-2.0.0.ebuild | 51 ++++++++++++++++++++++ 3 files changed, 90 insertions(+) diff --git a/app-office/kraft/Manifest b/app-office/kraft/Manifest index 53a91b79d88d..23afa1385ff8 100644 --- a/app-office/kraft/Manifest +++ b/app-office/kraft/Manifest @@ -1 +1,2 @@ +DIST kraft-2.0.0.tar.gz 6077275 BLAKE2B f04c1eb005fc05a21f7692216abca64920618abefd2b0e7fad1624040715387852d4dadef96e9431512ff198cdbc387aa56f04e9eed2e527b161ddce44a5992c SHA512 00fc8e977bb60c32f9c3b3d19b58d4edfa75337916555b16831a6d0bdb094d6b96fbc65f6b953c33bfca547fb4b8d16fed7f269131052a93e4bbc38b10ce8dbf DIST kraft-2.0_pre20250810-3aee920c.tar.gz 5967352 BLAKE2B 868e04e918bdfa4c467d20bb5d5ccdcec241af358b05e3e37dd57973808483810051444c4c5e5a6daee6b56cf5455dfc65b17e229337caf6520426f57b5300a1 SHA512 36c060bd0ca60c78ec17de72c6adb17e6b4bc54c2f86555177b48efea3360d486753edbb57d01334f89c664cc392e46fc003ac445493585b21850fe31da526ce diff --git a/app-office/kraft/files/kraft-2.0.0-no-git-or-buildhost-info.patch b/app-office/kraft/files/kraft-2.0.0-no-git-or-buildhost-info.patch new file mode 100644 index 000000000000..89ccfce7faa8 --- /dev/null +++ b/app-office/kraft/files/kraft-2.0.0-no-git-or-buildhost-info.patch @@ -0,0 +1,38 @@ +From 9349b722b23382204d88c4dfb8da654e43e9b3d5 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <[email protected]> +Date: Sat, 19 Apr 2025 22:19:39 +0200 +Subject: [PATCH] Disable git usage, disable build host info + +Signed-off-by: Andreas Sturmlechner <[email protected]> +--- + CMakeLists.txt | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8d1ba9e0..9a679a2c 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -22,6 +22,7 @@ set(AKO_PREFIX "KPim6") + + message("Akonadi Prefix is ${AKO_PREFIX}") + ++if(0) + find_package(Git QUIET) + if (Git_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.git") + include(GetGitRevisionDescription) +@@ -66,6 +67,12 @@ if(${CMAKE_VERSION} VERSION_GREATER "3.22.0") + else () + set(BUILD_HOST_DISTRI "unknown distribution") + endif() ++else() ++ message("GIT_SHA1: ${GIT_SHA1}") ++ message("GIT_BRANCH: ${GIT_BRANCH}") ++ set(BUILD_HOST_NAME "denied") ++ set(BUILD_HOST_DISTRI "Gentoo Linux") ++endif() + message("Build host name: ${BUILD_HOST_NAME}") + message("Build host distribution: ${BUILD_HOST_DISTRI}") + +-- +2.52.0 + diff --git a/app-office/kraft/kraft-2.0.0.ebuild b/app-office/kraft/kraft-2.0.0.ebuild new file mode 100644 index 000000000000..6fff2eef9610 --- /dev/null +++ b/app-office/kraft/kraft-2.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KFMIN=6.9.0 +inherit ecm xdg + +DESCRIPTION="Quotes and invoices manager for small enterprises" +HOMEPAGE="https://www.volle-kraft-voraus.de/" +SRC_URI="https://github.com/dragotin/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="pim" + +RESTRICT="test" # requires package installed, bug 745408 + +DEPEND=" + dev-qt/qtbase:6[concurrent,gui,network,sql,widgets,xml] + dev-qt/qtsvg:6 + kde-frameworks/kconfig:6 + kde-frameworks/kcontacts:6 + kde-frameworks/ki18n:6 + kde-frameworks/ktexttemplate:6 + pim? ( + kde-apps/akonadi:6 + kde-apps/akonadi-contacts:6 + kde-frameworks/kcoreaddons:6 + ) +" +RDEPEND="${DEPEND} + !${CATEGORY}/${PN}:5 +" + +DOCS=( AUTHORS Changes.txt README.md ) + +PATCHES=( + "${FILESDIR}/${P}-no-git-or-buildhost-info.patch" +) + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Asciidoctor=ON # using prebuilt html + -DGIT_SHA1=${COMMIT} + -DGIT_BRANCH=master + -DBUILD_WITH_AKONADI=$(usex pim) + ) + ecm_src_configure +}
