Gentoo Archives: gentoo-commits

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