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