app-editors/okteta: add Qt6-based 0.26.60_pre20251211 w/o KEYWORDS

Bug: https://bugs.gentoo.org/962280
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-11-04 23:23:38 +01:00
parent ce602fb6ea
commit 596686e703
3 changed files with 118 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST okteta-0.26.24-drop-qca.patch.xz 4464 BLAKE2B 2a42919cad534b4cc1b3b16243578747a33e7050d22f8a84fbd01740c1b8d60288e1a107064c7ed6c235a28d940266232ac59e7a85be049a54836234db8e8c9c SHA512 db9b1e3401dc1109e545e51bb6754f031f6c62bb9a45068ad9fe1453e2b1ea3463e77684638e688d815182f42d92d7e7bc4af8e6543f65ed826066213bac09e2
DIST okteta-0.26.24.tar.xz 1109380 BLAKE2B cb10f89f87504ab1041d6bdc1ac0a76a179ae01f7bbb80b20d6c2516a438cddd5c5e0908bb3639c7c30e960d2c73400cc822d4fcb4a919da2ce2a44bae46470b SHA512 e6d053e0530a75c8134c44ce99a070d16ae1abbdc5c31cf3e6faec57cd4fdd011b3619cd0f7ed23ee40e5506e22b286119678d381e7d1c506cd92adf7878877b
DIST okteta-0.26.60-ecm-6.21.patch.xz 5484 BLAKE2B 5d8e29febf260aaa13cb33dcc3f4c3ae9e190de5748ed9f2439f8e3fc96fba1f39a2fa28ff6704d58a08ccde500cbe8185c61ec62d703ff097636813b4dbe7eb SHA512 8cb4ddd71996e21b460c4b2a9d6e63f138e276a4c6fcd359544c57c04dfcf7692a955db50d8e6d3ba391ec856bb25c2d8bd08d97ccd4b7fc421c336f8276cfbb
DIST okteta-0.26.60_pre20251211-d5035b25.tar.gz 2620049 BLAKE2B 090c09d8ee78c2a8426cb0e8cf914087e3c51870ffbc2753304e321cb988a8464ba8f8e97f86cffc84b3c5e7b24accab47e29092284d102d9c09b6526294ef2a SHA512 d338cc03af548ee06f46fb854c364d59a53b56a902a7fa0b95def1b1398b7d774b77b599e0c68a9039629fc1f1076b35b5ae39037a53cb9f25a10fb0bbc376a2

View File

@@ -0,0 +1,35 @@
From 5ca1bc18272c0ddbb3496fa29076ac2d65c034cf Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 27 Aug 2023 21:55:17 +0200
Subject: [PATCH] Search for KF5DocTools individually
Makes our ECM_HANDBOOK=forceoptional facility work while upstream is against it.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17203b22f..3c914f178 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -93,7 +93,6 @@ if( BUILD_DESKTOPPROGRAM )
list(APPEND ADDITIONAL_REQUIRED_KF_COMPONENTS
Crash
DBusAddons
- DocTools
)
endif()
find_package(KF5 ${REQUIRED_KF_VERSION} REQUIRED
@@ -117,6 +116,7 @@ ecm_set_disabled_deprecation_versions(
# helper libs
add_subdirectory( libs )
if( BUILD_DESKTOPPROGRAM )
+ find_package(KF6DocTools ${REQUIRED_KF_VERSION} REQUIRED)
add_subdirectory( doc )
endif()
--
2.42.0

View File

@@ -0,0 +1,81 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KDE_ORG_COMMIT=d5035b2540e16d4c94aff601bbceb3f94a82d8cd
ECM_DESIGNERPLUGIN="true"
ECM_HANDBOOK="forceoptional"
ECM_TEST="true"
EGIT_BRANCH="work/kossebau/kf6"
KFMIN=6.21.0
QTMIN=6.8.1
inherit ecm kde.org optfeature xdg
DESCRIPTION="Hex editor by KDE"
HOMEPAGE="https://apps.kde.org/okteta/"
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/kde/${KDE_ORG_NAME}-${PV}-${KDE_ORG_COMMIT:0:8}.tar.gz
https://dev.gentoo.org/~asturm/distfiles/kde/${KDE_ORG_NAME}-0.26.60-ecm-6.21.patch.xz"
LICENSE="GPL-2 handbook? ( FDL-1.2 )"
SLOT="0/4"
# KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE=""
DEPEND="
>=dev-qt/qt5compat-${QTMIN}:6
>=dev-qt/qtbase-${QTMIN}:6[gui,network,widgets,xml]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=kde-frameworks/kbookmarks-${KFMIN}:6
>=kde-frameworks/kcolorscheme-${KFMIN}:6
>=kde-frameworks/kcompletion-${KFMIN}:6
>=kde-frameworks/kconfig-${KFMIN}:6
>=kde-frameworks/kconfigwidgets-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/kdbusaddons-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kio-${KFMIN}:6
>=kde-frameworks/kitemviews-${KFMIN}:6
>=kde-frameworks/kjobwidgets-${KFMIN}:6
>=kde-frameworks/knewstuff-${KFMIN}:6
>=kde-frameworks/kparts-${KFMIN}:6
>=kde-frameworks/kservice-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
"
RDEPEND="${DEPEND}
!${CATEGORY}/${PN}:5
"
PATCHES=(
"${WORKDIR}/${PN}-0.26.60-ecm-6.21.patch" # part-revert
"${FILESDIR}/${PN}-0.26.60-doctools-optional.patch" # downstream
)
pkg_setup() {
einfo "This ebuild is building upstream's work/kossebau/kf6 branch, which:"
einfo "- contains the complete dump of the \"it builds, starts and does not crash"
einfo " on simple usage\" changes"
einfo "- [is] continuously rebased to master branch, the latest current Qt5/KF5-based"
einfo "- [has] Structures tool disabled from build, needs QtScript port - so do NOT"
einfo " file a bug about that missing."
}
src_configure() {
local mycmakeargs=(
-DOMIT_EXAMPLES=ON
-DBUILD_TERMINALTOOL=ON
)
ecm_src_configure
}
src_test() {
ecm_src_test -j1
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "terminal tool" "kde-apps/konsole:6"
}