1 |
commit: bed633c32548357ac0a53135269a9558252b6935 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 29 02:36:40 2016 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 00:24:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed633c3 |
7 |
|
8 |
app-office/calligra: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
app-office/calligra/calligra-3.0.0.ebuild | 232 ------------------------------ |
13 |
1 file changed, 232 deletions(-) |
14 |
|
15 |
diff --git a/app-office/calligra/calligra-3.0.0.ebuild b/app-office/calligra/calligra-3.0.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 9d1016c..00000000 |
18 |
--- a/app-office/calligra/calligra-3.0.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,232 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-CHECKREQS_DISK_BUILD="4G" |
28 |
-KDE_HANDBOOK="forceoptional" |
29 |
-KDE_TEST="forceoptional" |
30 |
-inherit check-reqs kde5 versionator |
31 |
- |
32 |
-DESCRIPTION="KDE Office Suite" |
33 |
-HOMEPAGE="http://www.calligra.org/" |
34 |
- |
35 |
-case ${PV} in |
36 |
- 3.[0123456789].[789]?) |
37 |
- # beta or rc releases |
38 |
- SRC_URI="mirror://kde/unstable/${P}/${P}.tar.gz" ;; |
39 |
- 3.[0123456789].?) |
40 |
- # stable releases |
41 |
- SRC_URI="mirror://kde/stable/${P}/${P}.tar.gz" |
42 |
-esac |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
- |
46 |
-[[ ${KDE_BUILD_TYPE} == release ]] && \ |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
- |
49 |
-CAL_FTS=( karbon plan sheets words ) |
50 |
-CAL_EXP_FTS=( braindump stage ) |
51 |
- |
52 |
-IUSE="activities +crypt +eigen +fontconfig gsl import-filter +lcms pim marble okular |
53 |
- openexr +pdf spacenav +truetype vc +xml X $(printf 'calligra_features_%s ' ${CAL_FTS[@]}) |
54 |
- $(printf 'calligra_experimental_features_%s ' ${CAL_EXP_FTS[@]})" |
55 |
- |
56 |
-REQUIRED_USE="calligra_features_sheets? ( eigen )" |
57 |
- |
58 |
-# TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy) |
59 |
-# Required for the matlab/octave formula tool |
60 |
-# drop qtcore subslot operator when QT_MINIMAL >= 5.7.0 |
61 |
-COMMON_DEPEND=" |
62 |
- $(add_frameworks_dep karchive) |
63 |
- $(add_frameworks_dep kcmutils) |
64 |
- $(add_frameworks_dep kcodecs) |
65 |
- $(add_frameworks_dep kcompletion) |
66 |
- $(add_frameworks_dep kconfig) |
67 |
- $(add_frameworks_dep kconfigwidgets) |
68 |
- $(add_frameworks_dep kcoreaddons) |
69 |
- $(add_frameworks_dep kdelibs4support) |
70 |
- $(add_frameworks_dep kemoticons) |
71 |
- $(add_frameworks_dep kglobalaccel) |
72 |
- $(add_frameworks_dep kguiaddons) |
73 |
- $(add_frameworks_dep ki18n) |
74 |
- $(add_frameworks_dep kiconthemes) |
75 |
- $(add_frameworks_dep kio) |
76 |
- $(add_frameworks_dep kitemmodels) |
77 |
- $(add_frameworks_dep kitemviews) |
78 |
- $(add_frameworks_dep knotifications) |
79 |
- $(add_frameworks_dep knotifyconfig) |
80 |
- $(add_frameworks_dep kparts) |
81 |
- $(add_frameworks_dep kross) |
82 |
- $(add_frameworks_dep ktexteditor) |
83 |
- $(add_frameworks_dep ktextwidgets) |
84 |
- $(add_frameworks_dep kwallet) |
85 |
- $(add_frameworks_dep kwidgetsaddons) |
86 |
- $(add_frameworks_dep kwindowsystem) |
87 |
- $(add_frameworks_dep kxmlgui) |
88 |
- $(add_frameworks_dep sonnet) |
89 |
- $(add_frameworks_dep threadweaver) |
90 |
- $(add_qt_dep designer) |
91 |
- $(add_qt_dep qtconcurrent) |
92 |
- $(add_qt_dep qtdbus) |
93 |
- $(add_qt_dep qtdeclarative) |
94 |
- $(add_qt_dep qtgui) |
95 |
- $(add_qt_dep qtnetwork) |
96 |
- $(add_qt_dep qtprintsupport) |
97 |
- $(add_qt_dep qtscript) |
98 |
- $(add_qt_dep qtsvg) |
99 |
- $(add_qt_dep qtwidgets) |
100 |
- $(add_qt_dep qtxml) |
101 |
- dev-lang/perl |
102 |
- dev-libs/boost |
103 |
- media-libs/libpng:0 |
104 |
- sys-libs/zlib |
105 |
- virtual/libiconv |
106 |
- activities? ( $(add_frameworks_dep kactivities) ) |
107 |
- crypt? ( app-crypt/qca:2[qt5] ) |
108 |
- eigen? ( dev-cpp/eigen:3 ) |
109 |
- fontconfig? ( media-libs/fontconfig ) |
110 |
- gsl? ( sci-libs/gsl ) |
111 |
- import-filter? ( |
112 |
- $(add_frameworks_dep khtml) |
113 |
- app-text/libetonyek |
114 |
- app-text/libodfgen |
115 |
- app-text/libwpd:* |
116 |
- app-text/libwpg:* |
117 |
- >=app-text/libwps-0.4 |
118 |
- dev-libs/librevenge |
119 |
- media-libs/libvisio |
120 |
- ) |
121 |
- lcms? ( media-libs/lcms:2 ) |
122 |
- marble? ( $(add_kdeapps_dep marble) ) |
123 |
- openexr? ( media-libs/openexr ) |
124 |
- pdf? ( app-text/poppler:=[qt5] ) |
125 |
- spacenav? ( dev-libs/libspnav ) |
126 |
- truetype? ( media-libs/freetype:2 ) |
127 |
- X? ( |
128 |
- $(add_qt_dep qtx11extras) |
129 |
- x11-libs/libX11 |
130 |
- ) |
131 |
- calligra_experimental_features_braindump? ( $(add_qt_dep qtwebkit) ) |
132 |
- calligra_experimental_features_stage? ( |
133 |
- $(add_qt_dep qtwebkit) |
134 |
- okular? ( $(add_kdeapps_dep okular) ) |
135 |
- ) |
136 |
- calligra_features_plan? ( |
137 |
- $(add_qt_dep qtcore '' '' '5=') |
138 |
- dev-libs/kdiagram:5 |
139 |
- dev-libs/kproperty:5 |
140 |
- dev-libs/kreport:5 |
141 |
- pim? ( |
142 |
- $(add_kdeapps_dep akonadi) |
143 |
- $(add_kdeapps_dep akonadi-contacts) |
144 |
- $(add_kdeapps_dep kcalcore) |
145 |
- $(add_kdeapps_dep kcontacts) |
146 |
- ) |
147 |
- ) |
148 |
- calligra_features_words? ( |
149 |
- dev-libs/libxslt |
150 |
- okular? ( $(add_kdeapps_dep okular) ) |
151 |
- ) |
152 |
-" |
153 |
-DEPEND="${COMMON_DEPEND} |
154 |
- sys-devel/gettext |
155 |
- x11-misc/shared-mime-info |
156 |
- vc? ( >=dev-libs/vc-1.1.0 ) |
157 |
-" |
158 |
-RDEPEND="${COMMON_DEPEND} |
159 |
- calligra_features_karbon? ( media-gfx/pstoedit[plotutils] ) |
160 |
- !app-office/calligra:4 |
161 |
-" |
162 |
-RESTRICT+=" test" |
163 |
- |
164 |
-PATCHES=( "${FILESDIR}/${P}-no-arch-detection.patch" ) |
165 |
- |
166 |
-pkg_pretend() { |
167 |
- check-reqs_pkg_pretend |
168 |
-} |
169 |
- |
170 |
-pkg_setup() { |
171 |
- kde5_pkg_setup |
172 |
- check-reqs_pkg_setup |
173 |
-} |
174 |
- |
175 |
-src_prepare() { |
176 |
- kde5_src_prepare |
177 |
- |
178 |
- # Unconditionally disable deprecated deps (required by QtQuick1) |
179 |
- punt_bogus_dep Qt5 Declarative |
180 |
- punt_bogus_dep Qt5 OpenGL |
181 |
- |
182 |
- if ! use calligra_experimental_features_stage && \ |
183 |
- ! use calligra_experimental_features_braindump; then |
184 |
- punt_bogus_dep Qt5 WebKitWidgets |
185 |
- punt_bogus_dep Qt5 WebKit |
186 |
- fi |
187 |
- |
188 |
- # Hack around the excessive use of CMake macros |
189 |
- if use okular && ! use calligra_features_words; then |
190 |
- sed -i -e "/add_subdirectory( *okularodtgenerator *)/ s/^/#DONT/" \ |
191 |
- extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODT" |
192 |
- fi |
193 |
- |
194 |
- if use okular && ! use calligra_experimental_features_stage; then |
195 |
- sed -i -e "/add_subdirectory( *okularodpgenerator *)/ s/^/#DONT/" \ |
196 |
- extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODP" |
197 |
- fi |
198 |
-} |
199 |
- |
200 |
-src_configure() { |
201 |
- local cal_ft myproducts experimental=OFF |
202 |
- |
203 |
- # applications |
204 |
- for cal_ft in ${CAL_FTS[@]}; do |
205 |
- if use calligra_features_${cal_ft} ; then |
206 |
- myproducts+=( "${cal_ft^^}" ) |
207 |
- fi |
208 |
- done |
209 |
- # experimental/unmaintained applications |
210 |
- for cal_ft in ${CAL_EXP_FTS[@]}; do |
211 |
- if use calligra_experimental_features_${cal_ft} ; then |
212 |
- experimental=ON |
213 |
- myproducts+=( "${cal_ft^^}" ) |
214 |
- fi |
215 |
- done |
216 |
- |
217 |
- local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" ) |
218 |
- |
219 |
- mycmakeargs+=( |
220 |
- -DPACKAGERS_BUILD=OFF |
221 |
- -DBUILD_UNMAINTAINED=${experimental} |
222 |
- -DWITH_Iconv=ON |
223 |
- -DWITH_Qca-qt5=$(usex crypt) |
224 |
- -DWITH_Eigen3=$(usex eigen) |
225 |
- -DWITH_Fontconfig=$(usex fontconfig) |
226 |
- -DWITH_GSL=$(usex gsl) |
227 |
- -DWITH_LibEtonyek=$(usex import-filter) |
228 |
- -DWITH_LibOdfGen=$(usex import-filter) |
229 |
- -DWITH_LibRevenge=$(usex import-filter) |
230 |
- -DWITH_LibVisio=$(usex import-filter) |
231 |
- -DWITH_LibWpd=$(usex import-filter) |
232 |
- -DWITH_LibWpg=$(usex import-filter) |
233 |
- -DWITH_LibWps=$(usex import-filter) |
234 |
- $(cmake-utils_use_find_package pim KF5Akonadi) |
235 |
- $(cmake-utils_use_find_package pim KF5AkonadiContact) |
236 |
- $(cmake-utils_use_find_package pim KF5CalendarCore) |
237 |
- $(cmake-utils_use_find_package pim KF5Contacts) |
238 |
- -DWITH_LCMS2=$(usex lcms) |
239 |
- $(cmake-utils_use_find_package marble Marble) |
240 |
- -DWITH_Okular5=$(usex okular) |
241 |
- -DWITH_OpenEXR=$(usex openexr) |
242 |
- -DWITH_Poppler=$(usex pdf) |
243 |
- $(cmake-utils_use_find_package spacenav Spnav) |
244 |
- -ENABLE_CSTESTER_TESTING=$(usex test) |
245 |
- -DWITH_Freetype=$(usex truetype) |
246 |
- -DWITH_Vc=$(usex vc) |
247 |
- -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON |
248 |
- -DCMAKE_DISABLE_FIND_PACKAGE_Libqgit2=ON |
249 |
- ) |
250 |
- |
251 |
- kde5_src_configure |
252 |
-} |