/[gentoo-x86]/app-office/calligra/calligra-2.5.5.ebuild
Gentoo

Contents of /app-office/calligra/calligra-2.5.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jan 25 09:34:43 2013 UTC (14 months, 3 weeks ago) by patrick
Branch: MAIN
Bump

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.5.3.ebuild,v 1.2 2012/11/16 20:10:32 ago Exp $
4
5 # note: files that need to be checked for dependencies etc:
6 # CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
7 # krita/CMakeLists.txt
8
9 EAPI=4
10
11 EGIT_BRANCH="calligra/2.5"
12
13 KDE_SCM=git
14 KDE_MINIMAL=4.6.4
15 QT_MINIMAL=4.8.1
16 OPENGL_REQUIRED=optional
17
18 KDE_HANDBOOK=optional
19
20 KDE_LINGUAS_LIVE_OVERRIDE=true
21 inherit kde4-base versionator
22
23 DESCRIPTION="KDE Office Suite"
24 HOMEPAGE="http://www.calligra.org/"
25
26 case ${PV} in
27 2.[456789].[789]?)
28 # beta or rc releases
29 SRC_URI="mirror://kde/unstable/${P}/${P}.tar.bz2" ;;
30 2.[456789].?)
31 # stable releases
32 SRC_URI="mirror://kde/stable/${P}/${P}.tar.bz2" ;;
33 2.[456789].9999)
34 # stable branch live ebuild
35 SRC_URI="" ;;
36 9999)
37 # master branch live ebuild
38 SRC_URI="" ;;
39 esac
40
41 LICENSE="GPL-2"
42 SLOT="4"
43
44 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
45 [[ ${PV} == *9999 ]] || \
46 KEYWORDS="~amd64 ~x86"
47
48 IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif glew +glib +gsf
49 gsl +jpeg jpeg2k +kdcraw kdepim +lcms marble mysql +okular opengtl openexr
50 +pdf postgres +semantic-desktop spacenav +ssl sybase test tiff +threads +truetype
51 word-perfect xbase +xml +xslt"
52
53 # please do not sort here, order is same as in CMakeLists.txt
54 CAL_FTS="kexi words flow plan stage sheets krita karbon braindump"
55 for cal_ft in ${CAL_FTS}; do
56 IUSE+=" calligra_features_${cal_ft}"
57 done
58 unset cal_ft
59
60 REQUIRED_USE="
61 calligra_features_kexi? ( calligra_features_sheets )
62 calligra_features_words? ( calligra_features_sheets )
63 calligra_features_krita? ( eigen exif lcms )
64 calligra_features_plan? ( kdepim semantic-desktop )
65 calligra_features_sheets? ( eigen )
66 test? ( calligra_features_karbon )
67 "
68
69 RDEPEND="
70 !app-office/karbon
71 !app-office/kexi
72 !app-office/koffice-data
73 !app-office/koffice-l10n
74 !app-office/koffice-libs
75 !app-office/koffice-meta
76 !app-office/kplato
77 !app-office/kpresenter
78 !app-office/krita
79 !app-office/kspread
80 !app-office/kword
81 dev-lang/perl
82 dev-libs/boost
83 dev-libs/libxml2
84 $(add_kdebase_dep knewstuff)
85 media-libs/libpng
86 sys-libs/zlib
87 >=x11-libs/qt-gui-4.8.1-r1:4
88 virtual/libiconv
89 attica? ( dev-libs/libattica )
90 crypt? ( app-crypt/qca:2 )
91 eigen? ( dev-cpp/eigen:2 )
92 exif? ( media-gfx/exiv2 )
93 fftw? ( sci-libs/fftw:3.0 )
94 fontconfig? ( media-libs/fontconfig )
95 freetds? ( dev-db/freetds )
96 gif? ( media-libs/giflib )
97 glew? ( media-libs/glew )
98 glib? ( dev-libs/glib:2 )
99 gsf? ( gnome-extra/libgsf )
100 gsl? ( sci-libs/gsl )
101 jpeg? ( virtual/jpeg )
102 jpeg2k? ( media-libs/openjpeg )
103 kdcraw? ( $(add_kdebase_dep libkdcraw) )
104 kdepim? ( $(add_kdebase_dep kdepimlibs 'semantic-desktop') )
105 lcms? ( media-libs/lcms:2 )
106 marble? ( $(add_kdebase_dep marble) )
107 mysql? ( virtual/mysql )
108 okular? ( $(add_kdebase_dep okular) )
109 opengl? ( virtual/glu )
110 opengtl? ( >=media-libs/opengtl-0.9.15 )
111 openexr? ( media-libs/openexr )
112 pdf? (
113 app-text/poppler
114 media-gfx/pstoedit
115 )
116 postgres? (
117 dev-db/postgresql-base
118 dev-libs/libpqxx
119 )
120 semantic-desktop? ( dev-libs/soprano $(add_kdebase_dep kdelibs semantic-desktop) )
121 spacenav? ( dev-libs/libspnav )
122 ssl? ( dev-libs/openssl )
123 sybase? ( dev-db/freetds )
124 tiff? ( media-libs/tiff )
125 truetype? ( media-libs/freetype:2 )
126 word-perfect? (
127 app-text/libwpd
128 app-text/libwps
129 app-text/libwpg
130 )
131 xbase? ( dev-db/xbase )
132 xslt? ( dev-libs/libxslt )
133 calligra_features_kexi? (
134 >=dev-db/sqlite-3.7.9:3[extensions]
135 dev-libs/icu
136 )
137 "
138 DEPEND="${RDEPEND}"
139
140 [[ ${PV} == 9999 ]] && LANGVERSION="2.4" || LANGVERSION="$(get_version_component_range 1-2)"
141 PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
142
143 RESTRICT=test
144 # bug 394273
145
146 src_configure() {
147 local cal_ft
148
149 # first write out things we want to hard-enable
150 local mycmakeargs=(
151 "-DIHAVEPATCHEDQT=ON"
152 "-DWITH_Boost=ON"
153 "-DWITH_LibXml2=ON"
154 "-DWITH_PNG=ON"
155 "-DWITH_ZLIB=ON"
156 "-DGHNS=ON"
157 "-DWITH_X11=ON"
158 "-DWITH_Qt4=ON"
159 "-DBUILD_libmsooxml=ON" # only internal code, no deps
160 "-DWITH_Iconv=ON" # available on all supported arches and many more
161 "-DQT3SUPPORT=ON" # kde4-base.eclass pulls this in anyway
162 )
163
164 # default disablers
165 mycmakeargs+=(
166 "-DBUILD_mobile=OFF" # we dont support mobile gui, maybe arm could
167 "-DBUILD_active=OFF" # we dont support active gui, maybe arm could
168 "-DWITH_LCMS=OFF" # we use lcms:2
169 "-DCREATIVEONLY=OFF"
170 "-DWITH_TINY=OFF"
171 "-DWITH_CreateResources=OFF" # NOT PACKAGED: http://create.freedesktop.org/
172 "-DWITH_DCMTK=OFF" # NOT PACKAGED: http://www.dcmtk.org/dcmtk.php.en
173 )
174
175 # regular options
176 mycmakeargs+=(
177 $(cmake-utils_use_with attica LibAttica)
178 $(cmake-utils_use_with crypt QCA2)
179 $(cmake-utils_use_with eigen Eigen2)
180 $(cmake-utils_use_with exif Exiv2)
181 $(cmake-utils_use_with fftw FFTW3)
182 $(cmake-utils_use_with fontconfig Fontconfig)
183 $(cmake-utils_use_with freetds FreeTDS)
184 $(cmake-utils_use_with gif GIF2)
185 $(cmake-utils_use_with glew GLEW)
186 $(cmake-utils_use_with glib GLIB2)
187 $(cmake-utils_use_with glib GObject)
188 $(cmake-utils_use_with gsf LIBGSF)
189 $(cmake-utils_use_with gsl GSL)
190 $(cmake-utils_use_with jpeg JPEG)
191 $(cmake-utils_use_with jpeg2k OpenJPEG)
192 $(cmake-utils_use_with kdcraw Kdcraw)
193 $(cmake-utils_use_with kdepim KdepimLibs)
194 $(cmake-utils_use_with lcms LCMS2)
195 $(cmake-utils_use_with marble Marble)
196 $(cmake-utils_use_with mysql MySQL)
197 $(cmake-utils_use_build mysql mySQL)
198 $(cmake-utils_use_with okular Okular)
199 $(cmake-utils_use_with opengtl OpenCTL)
200 $(cmake-utils_use_with openexr OpenEXR)
201 $(cmake-utils_use_with opengl OpenGL)
202 $(cmake-utils_use_with pdf Poppler)
203 $(cmake-utils_use_with pdf Pstoedit)
204 $(cmake-utils_use_with postgres PostgreSQL)
205 $(cmake-utils_use_build postgres pqxx)
206 $(cmake-utils_use_with semantic-desktop Soprano)
207 $(cmake-utils_use semantic-desktop NEPOMUK)
208 $(cmake-utils_use_with spacenav Spnav)
209 $(cmake-utils_use_with ssl OpenSSL)
210 $(cmake-utils_use_with sybase FreeTDS)
211 $(cmake-utils_use_build sybase sybase)
212 $(cmake-utils_use_with tiff TIFF)
213 $(cmake-utils_use_with threads Threads)
214 $(cmake-utils_use_with truetype Freetype)
215 $(cmake-utils_use_with word-perfect WPD)
216 $(cmake-utils_use_with word-perfect WPG)
217 $(cmake-utils_use_with xbase XBase)
218 $(cmake-utils_use_build xbase xbase)
219 $(cmake-utils_use_with xslt LibXslt)
220 )
221
222 # applications
223 for cal_ft in ${CAL_FTS}; do
224 mycmakeargs+=( $(cmake-utils_use_build calligra_features_${cal_ft} ${cal_ft}) )
225 done
226 mycmakeargs+=( $(cmake-utils_use_build test cstester) )
227
228 # filters
229
230 kde4-base_src_configure
231 }

  ViewVC Help
Powered by ViewVC 1.1.20