1 |
commit: b93320426242a4e1c4a6d7d623c4fda0bb944e93 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 6 12:26:16 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 7 20:38:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9332042 |
7 |
|
8 |
kde-frameworks/ktexteditor: Drop unused dependency |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
.../files/ktexteditor-5.96.0-unused-dep.patch | 24 ++++++++++ |
13 |
.../ktexteditor/ktexteditor-5.96.0-r1.ebuild | 56 ++++++++++++++++++++++ |
14 |
2 files changed, 80 insertions(+) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 000000000000..8107b3cbc12f |
19 |
--- /dev/null |
20 |
+++ b/kde-frameworks/ktexteditor/files/ktexteditor-5.96.0-unused-dep.patch |
21 |
@@ -0,0 +1,24 @@ |
22 |
+From 509ca8a46ff46ef3e06407b90a8b48af9655fcce Mon Sep 17 00:00:00 2001 |
23 |
+From: Christoph Cullmann <cullmann@×××.org> |
24 |
+Date: Sat, 2 Jul 2022 22:34:15 +0200 |
25 |
+Subject: [PATCH] remove unused library |
26 |
+ |
27 |
+--- |
28 |
+ CMakeLists.txt | 1 - |
29 |
+ 1 file changed, 1 deletion(-) |
30 |
+ |
31 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
32 |
+index 2e9d77e8..c6d9a327 100644 |
33 |
+--- a/CMakeLists.txt |
34 |
++++ b/CMakeLists.txt |
35 |
+@@ -69,7 +69,6 @@ find_package(KF5KIO ${KF_DEP_VERSION} REQUIRED) |
36 |
+ find_package(KF5Parts ${KF_DEP_VERSION} REQUIRED) |
37 |
+ find_package(KF5Sonnet ${KF_DEP_VERSION} REQUIRED) |
38 |
+ find_package(KF5SyntaxHighlighting ${KF_DEP_VERSION} REQUIRED) |
39 |
+-find_package(KF5TextWidgets ${KF_DEP_VERSION} REQUIRED) |
40 |
+ |
41 |
+ if (ENABLE_KAUTH) |
42 |
+ find_package(KF5Auth ${KF_DEP_VERSION} REQUIRED) |
43 |
+-- |
44 |
+GitLab |
45 |
+ |
46 |
|
47 |
diff --git a/kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild b/kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild |
48 |
new file mode 100644 |
49 |
index 000000000000..851a891a7b6a |
50 |
--- /dev/null |
51 |
+++ b/kde-frameworks/ktexteditor/ktexteditor-5.96.0-r1.ebuild |
52 |
@@ -0,0 +1,56 @@ |
53 |
+# Copyright 1999-2022 Gentoo Authors |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=8 |
57 |
+ |
58 |
+PVCUT=$(ver_cut 1-2) |
59 |
+QTMIN=5.15.4 |
60 |
+VIRTUALX_REQUIRED="test" |
61 |
+inherit ecm frameworks.kde.org |
62 |
+ |
63 |
+DESCRIPTION="Framework providing a full text editor component" |
64 |
+ |
65 |
+LICENSE="LGPL-2+" |
66 |
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86" |
67 |
+IUSE="+editorconfig" |
68 |
+ |
69 |
+RESTRICT="test" |
70 |
+ |
71 |
+DEPEND=" |
72 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
73 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
74 |
+ >=dev-qt/qtprintsupport-${QTMIN}:5 |
75 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
76 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
77 |
+ =kde-frameworks/karchive-${PVCUT}*:5 |
78 |
+ =kde-frameworks/kauth-${PVCUT}*:5 |
79 |
+ =kde-frameworks/kcodecs-${PVCUT}*:5 |
80 |
+ =kde-frameworks/kcompletion-${PVCUT}*:5 |
81 |
+ =kde-frameworks/kconfig-${PVCUT}*:5 |
82 |
+ =kde-frameworks/kconfigwidgets-${PVCUT}*:5 |
83 |
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5 |
84 |
+ =kde-frameworks/kguiaddons-${PVCUT}*:5 |
85 |
+ =kde-frameworks/ki18n-${PVCUT}*:5 |
86 |
+ =kde-frameworks/kiconthemes-${PVCUT}*:5 |
87 |
+ =kde-frameworks/kio-${PVCUT}*:5 |
88 |
+ =kde-frameworks/kitemviews-${PVCUT}*:5 |
89 |
+ =kde-frameworks/kjobwidgets-${PVCUT}*:5 |
90 |
+ =kde-frameworks/kparts-${PVCUT}*:5 |
91 |
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 |
92 |
+ =kde-frameworks/kxmlgui-${PVCUT}*:5 |
93 |
+ =kde-frameworks/sonnet-${PVCUT}*:5 |
94 |
+ =kde-frameworks/syntax-highlighting-${PVCUT}*:5 |
95 |
+ editorconfig? ( app-text/editorconfig-core-c ) |
96 |
+" |
97 |
+RDEPEND="${DEPEND}" |
98 |
+BDEPEND="test? ( >=kde-frameworks/kservice-${PVCUT}:5 )" |
99 |
+ |
100 |
+PATCHES=( "${FILESDIR}/${P}-unused-dep.patch" ) |
101 |
+ |
102 |
+src_configure() { |
103 |
+ local mycmakeargs=( |
104 |
+ $(cmake_use_find_package editorconfig EditorConfig) |
105 |
+ ) |
106 |
+ |
107 |
+ ecm_src_configure |
108 |
+} |