1 |
commit: dae79b9c349228887c34be2ea2590ac8903d9541 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 16 12:23:00 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 16 14:40:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae79b9c |
7 |
|
8 |
app-office/calligra: Drop 3.1.0-r3 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-office/calligra/calligra-3.1.0-r3.ebuild | 208 --------------------------- |
14 |
app-office/calligra/metadata.xml | 1 - |
15 |
2 files changed, 209 deletions(-) |
16 |
|
17 |
diff --git a/app-office/calligra/calligra-3.1.0-r3.ebuild b/app-office/calligra/calligra-3.1.0-r3.ebuild |
18 |
deleted file mode 100644 |
19 |
index c5fa5d75177..00000000000 |
20 |
--- a/app-office/calligra/calligra-3.1.0-r3.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,208 +0,0 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=6 |
27 |
- |
28 |
-CHECKREQS_DISK_BUILD="4G" |
29 |
-KDE_DOC_DIR="xxx" # contains no language subdirs |
30 |
-KDE_HANDBOOK="forceoptional" |
31 |
-KDE_TEST="forceoptional" |
32 |
-inherit check-reqs kde5 |
33 |
- |
34 |
-DESCRIPTION="KDE Office Suite" |
35 |
-HOMEPAGE="https://www.calligra.org/" |
36 |
-SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" |
37 |
- |
38 |
-LICENSE="GPL-2" |
39 |
-KEYWORDS="amd64 x86" |
40 |
- |
41 |
-CAL_FTS=( karbon sheets stage words ) |
42 |
- |
43 |
-IUSE="activities +charts +crypt +fontconfig gemini gsl import-filter +lcms okular openexr +pdf |
44 |
- phonon pim spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})" |
45 |
- |
46 |
-# TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy) |
47 |
-# Required for the matlab/octave formula tool |
48 |
-COMMON_DEPEND=" |
49 |
- $(add_frameworks_dep karchive) |
50 |
- $(add_frameworks_dep kcmutils) |
51 |
- $(add_frameworks_dep kcodecs) |
52 |
- $(add_frameworks_dep kcompletion) |
53 |
- $(add_frameworks_dep kconfig) |
54 |
- $(add_frameworks_dep kconfigwidgets) |
55 |
- $(add_frameworks_dep kcoreaddons) |
56 |
- $(add_frameworks_dep kdelibs4support) |
57 |
- $(add_frameworks_dep kemoticons) |
58 |
- $(add_frameworks_dep kglobalaccel) |
59 |
- $(add_frameworks_dep kguiaddons) |
60 |
- $(add_frameworks_dep ki18n) |
61 |
- $(add_frameworks_dep kiconthemes) |
62 |
- $(add_frameworks_dep kio) |
63 |
- $(add_frameworks_dep kitemmodels) |
64 |
- $(add_frameworks_dep kitemviews) |
65 |
- $(add_frameworks_dep kjobwidgets) |
66 |
- $(add_frameworks_dep knotifications) |
67 |
- $(add_frameworks_dep knotifyconfig) |
68 |
- $(add_frameworks_dep kparts) |
69 |
- $(add_frameworks_dep kross) |
70 |
- $(add_frameworks_dep ktextwidgets) |
71 |
- $(add_frameworks_dep kwallet) |
72 |
- $(add_frameworks_dep kwidgetsaddons) |
73 |
- $(add_frameworks_dep kwindowsystem) |
74 |
- $(add_frameworks_dep kxmlgui) |
75 |
- $(add_frameworks_dep sonnet) |
76 |
- $(add_qt_dep designer) |
77 |
- $(add_qt_dep qtdbus) |
78 |
- $(add_qt_dep qtdeclarative) |
79 |
- $(add_qt_dep qtgui) |
80 |
- $(add_qt_dep qtnetwork) |
81 |
- $(add_qt_dep qtprintsupport) |
82 |
- $(add_qt_dep qtscript) |
83 |
- $(add_qt_dep qtsvg) |
84 |
- $(add_qt_dep qtwidgets) |
85 |
- $(add_qt_dep qtxml) |
86 |
- dev-lang/perl |
87 |
- sys-libs/zlib |
88 |
- virtual/libiconv |
89 |
- activities? ( $(add_frameworks_dep kactivities) ) |
90 |
- charts? ( dev-libs/kreport ) |
91 |
- crypt? ( app-crypt/qca:2[qt5(+)] ) |
92 |
- fontconfig? ( media-libs/fontconfig ) |
93 |
- gemini? ( $(add_qt_dep qtdeclarative 'widgets') ) |
94 |
- gsl? ( sci-libs/gsl ) |
95 |
- import-filter? ( |
96 |
- $(add_frameworks_dep khtml) |
97 |
- app-text/libetonyek |
98 |
- app-text/libodfgen |
99 |
- app-text/libwpd:* |
100 |
- app-text/libwpg:* |
101 |
- >=app-text/libwps-0.4 |
102 |
- dev-libs/librevenge |
103 |
- media-libs/libvisio |
104 |
- ) |
105 |
- lcms? ( |
106 |
- media-libs/ilmbase:= |
107 |
- media-libs/lcms:2 |
108 |
- ) |
109 |
- openexr? ( media-libs/openexr ) |
110 |
- pdf? ( >=app-text/poppler-0.64:=[qt5] ) |
111 |
- phonon? ( media-libs/phonon[qt5(+)] ) |
112 |
- pim? ( <kde-apps/kcalcore-19.04.50:5 ) |
113 |
- spacenav? ( dev-libs/libspnav ) |
114 |
- truetype? ( media-libs/freetype:2 ) |
115 |
- X? ( |
116 |
- $(add_qt_dep qtx11extras) |
117 |
- x11-libs/libX11 |
118 |
- ) |
119 |
- calligra_features_sheets? ( dev-cpp/eigen:3 ) |
120 |
- calligra_features_stage? ( okular? ( $(add_kdeapps_dep okular) ) ) |
121 |
- calligra_features_words? ( |
122 |
- dev-libs/libxslt |
123 |
- okular? ( $(add_kdeapps_dep okular) ) |
124 |
- ) |
125 |
-" |
126 |
-DEPEND="${COMMON_DEPEND} |
127 |
- dev-libs/boost |
128 |
- sys-devel/gettext |
129 |
- test? ( $(add_frameworks_dep threadweaver) ) |
130 |
-" |
131 |
-RDEPEND="${COMMON_DEPEND} |
132 |
- calligra_features_karbon? ( media-gfx/pstoedit[plotutils] ) |
133 |
- !app-office/calligra:4 |
134 |
- !app-office/calligra-l10n:4 |
135 |
-" |
136 |
-RESTRICT+=" test" |
137 |
- |
138 |
-PATCHES=( |
139 |
- "${FILESDIR}"/${P}-no-arch-detection.patch |
140 |
- "${FILESDIR}"/${P}-doc.patch |
141 |
- "${FILESDIR}"/${P}-qt-5.11.patch |
142 |
- "${FILESDIR}"/${P}-stage-qt-5.11.patch |
143 |
- "${FILESDIR}"/${P}-poppler-0.69.patch |
144 |
- "${FILESDIR}"/${P}-poppler-0.71.patch |
145 |
- "${FILESDIR}"/${P}-no-webkit.patch |
146 |
- "${FILESDIR}"/${P}-missing-header.patch |
147 |
-) |
148 |
- |
149 |
-pkg_pretend() { |
150 |
- check-reqs_pkg_pretend |
151 |
-} |
152 |
- |
153 |
-pkg_setup() { |
154 |
- kde5_pkg_setup |
155 |
- check-reqs_pkg_setup |
156 |
-} |
157 |
- |
158 |
-src_prepare() { |
159 |
- kde5_src_prepare |
160 |
- |
161 |
- if has_version ">=app-text/poppler-0.72"; then |
162 |
- eapply "${FILESDIR}"/${P}-poppler-0.72.patch # not upstreamable |
163 |
- eapply "${FILESDIR}"/${P}-poppler-0.73.patch |
164 |
- fi |
165 |
- |
166 |
- if ! use test; then |
167 |
- sed -e "/add_subdirectory( *benchmarks *)/s/^/#DONT/" \ |
168 |
- -i libs/pigment/CMakeLists.txt || die |
169 |
- fi |
170 |
- |
171 |
- # Unconditionally disable deprecated deps (required by QtQuick1) |
172 |
- punt_bogus_dep Qt5 Declarative |
173 |
- punt_bogus_dep Qt5 OpenGL |
174 |
- |
175 |
- # Hack around the excessive use of CMake macros |
176 |
- if use okular && ! use calligra_features_words; then |
177 |
- sed -i -e "/add_subdirectory( *okularodtgenerator *)/ s/^/#DONT/" \ |
178 |
- extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODT" |
179 |
- fi |
180 |
- |
181 |
- if use okular && ! use calligra_features_stage; then |
182 |
- sed -i -e "/add_subdirectory( *okularodpgenerator *)/ s/^/#DONT/" \ |
183 |
- extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODP" |
184 |
- fi |
185 |
-} |
186 |
- |
187 |
-src_configure() { |
188 |
- local cal_ft myproducts |
189 |
- |
190 |
- # applications |
191 |
- for cal_ft in ${CAL_FTS[@]}; do |
192 |
- use calligra_features_${cal_ft} && myproducts+=( "${cal_ft^^}" ) |
193 |
- done |
194 |
- |
195 |
- use lcms && myproducts+=( PLUGIN_COLORENGINES ) |
196 |
- use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR ) |
197 |
- |
198 |
- local mycmakeargs=( |
199 |
- -DPACKAGERS_BUILD=OFF |
200 |
- -DRELEASE_BUILD=ON |
201 |
- -DWITH_Iconv=ON |
202 |
- -DPRODUCTSET="${myproducts[*]}" |
203 |
- $(cmake-utils_use_find_package activities KF5Activities) |
204 |
- $(cmake-utils_use_find_package charts KChart) |
205 |
- -DWITH_Qca-qt5=$(usex crypt) |
206 |
- -DWITH_Fontconfig=$(usex fontconfig) |
207 |
- $(cmake-utils_use_find_package gemini Libgit2) |
208 |
- $(cmake-utils_use_find_package gemini Qt5QuickWidgets) |
209 |
- -DWITH_GSL=$(usex gsl) |
210 |
- -DWITH_LibEtonyek=$(usex import-filter) |
211 |
- -DWITH_LibOdfGen=$(usex import-filter) |
212 |
- -DWITH_LibRevenge=$(usex import-filter) |
213 |
- -DWITH_LibVisio=$(usex import-filter) |
214 |
- -DWITH_LibWpd=$(usex import-filter) |
215 |
- -DWITH_LibWpg=$(usex import-filter) |
216 |
- -DWITH_LibWps=$(usex import-filter) |
217 |
- $(cmake-utils_use_find_package phonon Phonon4Qt5) |
218 |
- $(cmake-utils_use_find_package pim KF5CalendarCore) |
219 |
- -DWITH_LCMS2=$(usex lcms) |
220 |
- -DWITH_Okular5=$(usex okular) |
221 |
- -DWITH_OpenEXR=$(usex openexr) |
222 |
- -DWITH_Poppler=$(usex pdf) |
223 |
- -DWITH_Eigen3=$(usex calligra_features_sheets) |
224 |
- -DBUILD_UNMAINTAINED=$(usex calligra_features_stage) |
225 |
- -ENABLE_CSTESTER_TESTING=$(usex test) |
226 |
- -DWITH_Freetype=$(usex truetype) |
227 |
- ) |
228 |
- |
229 |
- kde5_src_configure |
230 |
-} |
231 |
|
232 |
diff --git a/app-office/calligra/metadata.xml b/app-office/calligra/metadata.xml |
233 |
index 6fda5aa811c..f31dd00ff91 100644 |
234 |
--- a/app-office/calligra/metadata.xml |
235 |
+++ b/app-office/calligra/metadata.xml |
236 |
@@ -17,7 +17,6 @@ |
237 |
<flag name="lcms">Build colorengine plugins using <pkg>media-libs/lcms</pkg></flag> |
238 |
<flag name="okular">Enable bindings for <pkg>kde-apps/okular</pkg></flag> |
239 |
<flag name="phonon">Build stage/eventplugins and videoshape plugin using <pkg>media-libs/phonon</pkg></flag> |
240 |
- <flag name="pim">Enable support for KDE PIM resources integration</flag> |
241 |
<flag name="spacenav">Enable support for the 3Dconnexion spacenav input device via <pkg>dev-libs/libspnav</pkg></flag> |
242 |
</use> |
243 |
</pkgmetadata> |