Gentoo Archives: gentoo-commits

From: "Michael Palimaka (kensington)" <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/calligra: calligra-2.8.6.ebuild ChangeLog calligra-2.8.3.ebuild
Date: Thu, 27 Nov 2014 10:15:47
Message-Id: 20141127101544.88445B033@oystercatcher.gentoo.org
1 kensington 14/11/27 10:15:44
2
3 Modified: ChangeLog
4 Added: calligra-2.8.6.ebuild
5 Removed: calligra-2.8.3.ebuild
6 Log:
7 Version bump wrt bug #523694. Remove old.
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
10
11 Revision Changes Path
12 1.114 app-office/calligra/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/ChangeLog?rev=1.114&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/ChangeLog?rev=1.114&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/ChangeLog?r1=1.113&r2=1.114
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v
21 retrieving revision 1.113
22 retrieving revision 1.114
23 diff -u -r1.113 -r1.114
24 --- ChangeLog 3 Nov 2014 11:15:35 -0000 1.113
25 +++ ChangeLog 27 Nov 2014 10:15:44 -0000 1.114
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-office/calligra
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.113 2014/11/03 11:15:35 titanofold Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.114 2014/11/27 10:15:44 kensington Exp $
31 +
32 +*calligra-2.8.6 (27 Nov 2014)
33 +
34 + 27 Nov 2014; Michael Palimaka <kensington@g.o> +calligra-2.8.6.ebuild,
35 + -calligra-2.8.3.ebuild:
36 + Version bump wrt bug #523694. Remove old.
37
38 03 Nov 2014; Aaron W. Swenson <titanofold@g.o> calligra-2.7.5.ebuild,
39 calligra-2.8.3.ebuild, calligra-2.8.5.ebuild, calligra-9999.ebuild:
40
41
42
43 1.1 app-office/calligra/calligra-2.8.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/calligra-2.8.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/calligra-2.8.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: calligra-2.8.6.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.8.6.ebuild,v 1.1 2014/11/27 10:15:44 kensington Exp $
53
54 # note: files that need to be checked for dependencies etc:
55 # CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
56 # krita/CMakeLists.txt
57
58 EAPI=5
59
60 CHECKREQS_DISK_BUILD="4G"
61 KDE_HANDBOOK="optional"
62 KDE_LINGUAS_LIVE_OVERRIDE="true"
63 KDE_MINIMAL="4.13.1"
64 OPENGL_REQUIRED="optional"
65 inherit check-reqs kde4-base versionator
66
67 DESCRIPTION="KDE Office Suite"
68 HOMEPAGE="http://www.calligra.org/"
69
70 case ${PV} in
71 2.[456789].[789]?)
72 # beta or rc releases
73 SRC_URI="mirror://kde/unstable/${P}/${P}.tar.xz" ;;
74 2.[456789].?)
75 # stable releases
76 SRC_URI="mirror://kde/stable/${P}/${P}.tar.xz" ;;
77 2.[456789].9999)
78 # stable branch live ebuild
79 SRC_URI="" ;;
80 9999)
81 # master branch live ebuild
82 SRC_URI="" ;;
83 esac
84
85 LICENSE="GPL-2"
86 SLOT="4"
87
88 if [[ ${KDE_BUILD_TYPE} == release ]] ; then
89 KEYWORDS="~amd64 ~arm ~x86"
90 fi
91
92 IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +glew +glib +gsf gsl
93 import-filter +jpeg jpeg2k +kdcraw kde +kdepim +lcms marble mysql nepomuk
94 +okular openexr +pdf postgres spacenav sybase test tiff +threads +truetype vc
95 xbase +xml"
96
97 # please do not sort here, order is same as in CMakeLists.txt
98 CAL_FTS="words stage sheets author karbon krita kexi flow plan braindump"
99 for cal_ft in ${CAL_FTS}; do
100 IUSE+=" calligra_features_${cal_ft}"
101 done
102 unset cal_ft
103
104 REQUIRED_USE="
105 calligra_features_author? ( calligra_features_words )
106 calligra_features_krita? ( eigen exif lcms )
107 calligra_features_plan? ( kdepim )
108 calligra_features_sheets? ( eigen )
109 vc? ( calligra_features_krita )
110 test? ( calligra_features_karbon )
111 "
112
113 RDEPEND="
114 !app-office/karbon
115 !app-office/kexi
116 !app-office/koffice-data
117 !app-office/koffice-l10n
118 !app-office/koffice-libs
119 !app-office/koffice-meta
120 !app-office/kplato
121 !app-office/kpresenter
122 !app-office/krita
123 !app-office/kspread
124 !app-office/kword
125 $(add_kdebase_dep kdelibs 'nepomuk?')
126 dev-lang/perl
127 dev-libs/boost
128 $(add_kdebase_dep knewstuff)
129 media-libs/libpng
130 sys-libs/zlib
131 >=dev-qt/qtgui-4.8.1-r1:4
132 virtual/libiconv
133 attica? ( dev-libs/libattica )
134 crypt? ( app-crypt/qca:2 )
135 eigen? ( dev-cpp/eigen:2 )
136 exif? ( media-gfx/exiv2:= )
137 fftw? ( sci-libs/fftw:3.0 )
138 fontconfig? ( media-libs/fontconfig )
139 freetds? ( dev-db/freetds )
140 glew? ( media-libs/glew )
141 glib? ( dev-libs/glib:2 )
142 gsf? ( gnome-extra/libgsf )
143 gsl? ( sci-libs/gsl )
144 import-filter? (
145 app-text/libetonyek
146 app-text/libodfgen
147 app-text/libwpd
148 app-text/libwpg
149 app-text/libwps
150 media-libs/libvisio
151 )
152 jpeg? ( virtual/jpeg:0 )
153 jpeg2k? ( media-libs/openjpeg:0 )
154 kdcraw? ( $(add_kdebase_dep libkdcraw) )
155 kde? ( $(add_kdebase_dep kactivities) )
156 kdepim? ( $(add_kdebase_dep kdepimlibs) )
157 lcms? (
158 media-libs/lcms:2
159 x11-libs/libX11
160 )
161 marble? ( $(add_kdebase_dep marble) )
162 mysql? ( virtual/mysql )
163 nepomuk? ( dev-libs/soprano )
164 okular? ( $(add_kdebase_dep okular) )
165 opengl? ( virtual/glu )
166 openexr? ( media-libs/openexr )
167 pdf? (
168 app-text/poppler:=
169 media-gfx/pstoedit
170 )
171 postgres? (
172 virtual/postgresql
173 dev-libs/libpqxx
174 )
175 spacenav? ( dev-libs/libspnav )
176 sybase? ( dev-db/freetds )
177 tiff? ( media-libs/tiff )
178 truetype? ( media-libs/freetype:2 )
179 vc? ( dev-libs/vc )
180 xbase? ( dev-db/xbase )
181 calligra_features_kexi? (
182 >=dev-db/sqlite-3.7.9:3[extensions(+)]
183 dev-libs/icu:=
184 )
185 calligra_features_krita? (
186 dev-qt/qtdeclarative:4
187 x11-libs/libX11
188 x11-libs/libXi
189 )
190 calligra_features_words? ( dev-libs/libxslt )
191 "
192 DEPEND="${RDEPEND}"
193
194 [[ ${PV} == 9999 ]] && LANGVERSION="2.4" || LANGVERSION="$(get_version_component_range 1-2)"
195 PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
196
197 RESTRICT=test
198 # bug 394273
199
200 pkg_pretend() {
201 check-reqs_pkg_pretend
202 }
203
204 pkg_setup() {
205 kde4-base_pkg_setup
206 check-reqs_pkg_setup
207 }
208
209 src_configure() {
210 local cal_ft
211
212 # first write out things we want to hard-enable
213 local mycmakeargs=(
214 "-DWITH_PNG=ON"
215 "-DWITH_ZLIB=ON"
216 "-DGHNS=ON"
217 "-DWITH_Iconv=ON" # available on all supported arches and many more
218 )
219
220 # default disablers
221 mycmakeargs+=(
222 "-DBUILD_active=OFF" # we dont support active gui, maybe arm could
223 "-DCREATIVEONLY=OFF"
224 "-DPACKAGERS_BUILD=OFF"
225 )
226
227 # regular options
228 mycmakeargs+=(
229 $(cmake-utils_use_with attica LibAttica)
230 $(cmake-utils_use_with crypt QCA2)
231 $(cmake-utils_use_with eigen Eigen2)
232 $(cmake-utils_use_with exif Exiv2)
233 $(cmake-utils_use_with fftw FFTW3)
234 $(cmake-utils_use_with fontconfig Fontconfig)
235 $(cmake-utils_use_with freetds FreeTDS)
236 $(cmake-utils_use_with glew GLEW)
237 $(cmake-utils_use_with glib GLIB2)
238 $(cmake-utils_use_with gsl GSL)
239 $(cmake-utils_use_with import-filter LibEtonyek)
240 $(cmake-utils_use_with import-filter LibOdfGen)
241 $(cmake-utils_use_with import-filter LibVisio)
242 $(cmake-utils_use_with import-filter LibWpd)
243 $(cmake-utils_use_with import-filter LibWpg)
244 $(cmake-utils_use_with import-filter LibWps)
245 $(cmake-utils_use_with jpeg JPEG)
246 $(cmake-utils_use_with jpeg2k OpenJPEG)
247 $(cmake-utils_use_with kdcraw Kdcraw)
248 $(cmake-utils_use_with kde KActivities)
249 $(cmake-utils_use_with kdepim KdepimLibs)
250 $(cmake-utils_use_with lcms LCMS2)
251 $(cmake-utils_use_with marble Marble)
252 $(cmake-utils_use_with mysql MySQL)
253 $(cmake-utils_use_with nepomuk Soprano)
254 $(cmake-utils_use_with okular Okular)
255 $(cmake-utils_use_with openexr OpenEXR)
256 $(cmake-utils_use_with opengl OpenGL)
257 $(cmake-utils_use_with pdf Poppler)
258 $(cmake-utils_use_with pdf Pstoedit)
259 $(cmake-utils_use_with postgres PostgreSQL)
260 $(cmake-utils_use_build postgres pqxx)
261 $(cmake-utils_use_with spacenav Spnav)
262 $(cmake-utils_use_with sybase FreeTDS)
263 $(cmake-utils_use_with tiff TIFF)
264 $(cmake-utils_use_with threads Threads)
265 $(cmake-utils_use_with truetype Freetype)
266 $(cmake-utils_use_with vc Vc)
267 $(cmake-utils_use_with xbase XBase)
268 )
269
270 # applications
271 for cal_ft in ${CAL_FTS}; do
272 mycmakeargs+=( $(cmake-utils_use_build calligra_features_${cal_ft} ${cal_ft}) )
273 done
274 mycmakeargs+=( $(cmake-utils_use_build test cstester) )
275
276 # filters
277
278 kde4-base_src_configure
279 }