diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-06 14:26:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-07 22:38:43 +0200 |
commit | b93320426242a4e1c4a6d7d623c4fda0bb944e93 (patch) | |
tree | d33a974598b430184059cd5eb84a6609b59aa900 /kde-frameworks/ktexteditor | |
parent | sys-kernel/zen-sources: Version bump 5.18.16 (diff) | |
download | gentoo-b93320426242a4e1c4a6d7d623c4fda0bb944e93.tar.gz gentoo-b93320426242a4e1c4a6d7d623c4fda0bb944e93.tar.bz2 gentoo-b93320426242a4e1c4a6d7d623c4fda0bb944e93.zip |
kde-frameworks/ktexteditor: Drop unused dependency
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/ktexteditor')
-rw-r--r-- | kde-frameworks/ktexteditor/files/ktexteditor-5.96.0-unused-dep.patch | 24 | ||||
-rw-r--r-- | kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild | 56 |
2 files changed, 80 insertions, 0 deletions
diff --git a/kde-frameworks/ktexteditor/files/ktexteditor-5.96.0-unused-dep.patch b/kde-frameworks/ktexteditor/files/ktexteditor-5.96.0-unused-dep.patch new file mode 100644 index 000000000000..8107b3cbc12f --- /dev/null +++ b/kde-frameworks/ktexteditor/files/ktexteditor-5.96.0-unused-dep.patch @@ -0,0 +1,24 @@ +From 509ca8a46ff46ef3e06407b90a8b48af9655fcce Mon Sep 17 00:00:00 2001 +From: Christoph Cullmann <cullmann@kde.org> +Date: Sat, 2 Jul 2022 22:34:15 +0200 +Subject: [PATCH] remove unused library + +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2e9d77e8..c6d9a327 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -69,7 +69,6 @@ find_package(KF5KIO ${KF_DEP_VERSION} REQUIRED) + find_package(KF5Parts ${KF_DEP_VERSION} REQUIRED) + find_package(KF5Sonnet ${KF_DEP_VERSION} REQUIRED) + find_package(KF5SyntaxHighlighting ${KF_DEP_VERSION} REQUIRED) +-find_package(KF5TextWidgets ${KF_DEP_VERSION} REQUIRED) + + if (ENABLE_KAUTH) + find_package(KF5Auth ${KF_DEP_VERSION} REQUIRED) +-- +GitLab + diff --git a/kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild b/kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild new file mode 100644 index 000000000000..851a891a7b6a --- /dev/null +++ b/kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.4 +VIRTUALX_REQUIRED="test" +inherit ecm frameworks.kde.org + +DESCRIPTION="Framework providing a full text editor component" + +LICENSE="LGPL-2+" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" +IUSE="+editorconfig" + +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + =kde-frameworks/karchive-${PVCUT}*:5 + =kde-frameworks/kauth-${PVCUT}*:5 + =kde-frameworks/kcodecs-${PVCUT}*:5 + =kde-frameworks/kcompletion-${PVCUT}*:5 + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kconfigwidgets-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/kguiaddons-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + =kde-frameworks/kiconthemes-${PVCUT}*:5 + =kde-frameworks/kio-${PVCUT}*:5 + =kde-frameworks/kitemviews-${PVCUT}*:5 + =kde-frameworks/kjobwidgets-${PVCUT}*:5 + =kde-frameworks/kparts-${PVCUT}*:5 + =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 + =kde-frameworks/kxmlgui-${PVCUT}*:5 + =kde-frameworks/sonnet-${PVCUT}*:5 + =kde-frameworks/syntax-highlighting-${PVCUT}*:5 + editorconfig? ( app-text/editorconfig-core-c ) +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( >=kde-frameworks/kservice-${PVCUT}:5 )" + +PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package editorconfig EditorConfig) + ) + + ecm_src_configure +} |