Gentoo Archives: gentoo-commits

From: "Andreas HAttel (dilfridge)" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-bin: ChangeLog libreoffice-bin-3.6.6.2.ebuild
Date: Mon, 20 May 2013 20:12:35
Message-Id: 20130520201232.29F3C2171D@flycatcher.gentoo.org
1 dilfridge 13/05/20 20:12:32
2
3 Modified: ChangeLog
4 Added: libreoffice-bin-3.6.6.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
9
10 Revision Changes Path
11 1.105 app-office/libreoffice-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.105&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.105&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?r1=1.104&r2=1.105
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v
20 retrieving revision 1.104
21 retrieving revision 1.105
22 diff -u -r1.104 -r1.105
23 --- ChangeLog 11 Apr 2013 09:24:54 -0000 1.104
24 +++ ChangeLog 20 May 2013 20:12:32 -0000 1.105
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/libreoffice-bin
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.104 2013/04/11 09:24:54 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.105 2013/05/20 20:12:32 dilfridge Exp $
30 +
31 +*libreoffice-bin-3.6.6.2 (20 May 2013)
32 +
33 + 20 May 2013; Andreas K. Huettel <dilfridge@g.o>
34 + +libreoffice-bin-3.6.6.2.ebuild:
35 + Version bump
36
37 11 Apr 2013; Samuli Suominen <ssuominen@g.o>
38 libreoffice-bin-3.6.4.3.ebuild:
39
40
41
42 1.1 app-office/libreoffice-bin/libreoffice-bin-3.6.6.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.6.6.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.6.6.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libreoffice-bin-3.6.6.2.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.6.6.2.ebuild,v 1.1 2013/05/20 20:12:32 dilfridge Exp $
52
53 EAPI=5
54
55 KDE_REQUIRED="optional"
56 CMAKE_REQUIRED="never"
57
58 BASE_AMD64_URI="mirror://gentoo/amd64-bin-"
59 BASE_X86_URI="mirror://gentoo/x86-bin-"
60
61 inherit kde4-base java-pkg-opt-2 pax-utils prefix versionator
62
63 DESCRIPTION="LibreOffice, a full office productivity suite. Binary package."
64 HOMEPAGE="http://www.libreoffice.org"
65 SRC_URI_AMD64="
66 kde? (
67 !java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-${PVR}.tar.xz )
68 java? ( ${BASE_AMD64_URI}${PN/-bin}-kde-java-${PVR}.tar.xz )
69 )
70 gnome? (
71 !java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-${PVR}.tar.xz )
72 java? ( ${BASE_AMD64_URI}${PN/-bin}-gnome-java-${PVR}.tar.xz )
73 )
74 !kde? ( !gnome? (
75 !java? ( ${BASE_AMD64_URI}${PN/-bin}-base-${PVR}.tar.xz )
76 java? ( ${BASE_AMD64_URI}${PN/-bin}-base-java-${PVR}.tar.xz )
77 ) )
78 "
79 SRC_URI_X86="
80 kde? (
81 !java? ( ${BASE_X86_URI}${PN/-bin}-kde-${PVR}.tar.xz )
82 java? ( ${BASE_X86_URI}${PN/-bin}-kde-java-${PVR}.tar.xz )
83 )
84 gnome? (
85 !java? ( ${BASE_X86_URI}${PN/-bin}-gnome-${PVR}.tar.xz )
86 java? ( ${BASE_X86_URI}${PN/-bin}-gnome-java-${PVR}.tar.xz )
87 )
88 !kde? ( !gnome? (
89 !java? ( ${BASE_X86_URI}${PN/-bin}-base-${PVR}.tar.xz )
90 java? ( ${BASE_X86_URI}${PN/-bin}-base-java-${PVR}.tar.xz )
91 ) )
92 "
93
94 SRC_URI="
95 amd64? ( ${SRC_URI_AMD64} )
96 x86? ( ${SRC_URI_X86} )
97 "
98
99 IUSE="+cups debug gnome java kde"
100 LICENSE="LGPL-3"
101 SLOT="0"
102 KEYWORDS="-* ~amd64 ~x86"
103
104 BIN_COMMON_DEPEND="
105 =app-text/libexttextcat-3.4*
106 =dev-cpp/libcmis-0.2*
107 dev-libs/icu:0/51.1
108 =media-gfx/graphite2-1.2*
109 =media-libs/libpng-1.5*
110 >=sys-libs/glibc-2.15-r3
111 kde? ( >=kde-base/kdelibs-4.10.2:4 >=dev-qt/qtcore-4.8.4-r4:4 )
112 "
113
114 # PLEASE place any restrictions that are specific to the binary builds
115 # into the BIN_COMMON_DEPEND block above.
116 # All dependencies below this point should remain identical to those in
117 # the source ebuilds.
118
119 COMMON_DEPEND="
120 ${BIN_COMMON_DEPEND}
121 app-arch/zip
122 app-arch/unzip
123 >=app-text/hunspell-1.3.2-r3
124 app-text/mythes
125 >=app-text/libexttextcat-3.2
126 app-text/libwpd:0.9[tools]
127 app-text/libwpg:0.2
128 >=app-text/libwps-0.2.2
129 >=dev-cpp/clucene-2.3.3.4-r2
130 >=dev-cpp/libcmis-0.2:0.2
131 dev-db/unixODBC
132 dev-libs/expat
133 >=dev-libs/glib-2.28
134 >=dev-libs/hyphen-2.7.1
135 >=dev-libs/icu-4.8.1.1
136 >=dev-libs/nspr-4.8.8
137 >=dev-libs/nss-3.12.9
138 >=dev-lang/perl-5.0
139 >=dev-libs/openssl-1.0.0d
140 >=dev-libs/redland-1.0.14[ssl]
141 gnome-base/librsvg
142 media-gfx/graphite2
143 >=media-libs/fontconfig-2.8.0
144 media-libs/freetype:2
145 media-libs/lcms:2
146 >=media-libs/libpng-1.4
147 >=media-libs/libcdr-0.0.5
148 media-libs/libvisio
149 >=net-misc/curl-7.21.4
150 net-nds/openldap
151 sci-mathematics/lpsolve
152 >=sys-libs/db-4.8
153 virtual/jpeg
154 >=x11-libs/cairo-1.10.0[X]
155 x11-libs/libXinerama
156 x11-libs/libXrandr
157 x11-libs/libXrender
158 cups? ( net-print/cups )
159 >=dev-libs/dbus-glib-0.92
160 gnome? ( gnome-extra/evolution-data-server )
161 gnome? ( gnome-base/gconf:2 )
162 x11-libs/gdk-pixbuf[X]
163 >=x11-libs/gtk+-2.24:2
164 >=media-libs/gstreamer-0.10:0.10
165 >=media-libs/gst-plugins-base-0.10:0.10
166 net-libs/neon
167 "
168
169 RDEPEND="${COMMON_DEPEND}
170 !app-office/libreoffice
171 !<app-office/openoffice-bin-3.4.0-r1
172 !app-office/openoffice
173 media-fonts/libertine-ttf
174 media-fonts/liberation-fonts
175 media-fonts/urw-fonts
176 java? ( >=virtual/jre-1.6 )
177 "
178
179 PDEPEND="
180 =app-office/libreoffice-l10n-3.6*
181 "
182
183 DEPEND=""
184
185 # only one flavor at a time
186 REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
187
188 RESTRICT="test strip"
189
190 S="${WORKDIR}"
191
192 PYTHON_UPDATER_IGNORE="1"
193
194 pkg_pretend() {
195 [[ $(gcc-major-version) -lt 4 ]] || \
196 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
197 && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
198 }
199
200 pkg_setup() {
201 kde4-base_pkg_setup
202 }
203
204 src_unpack() {
205 default
206 }
207
208 src_prepare() {
209 cp "${FILESDIR}"/50-${PN} "${T}"
210 eprefixify "${T}"/50-${PN}
211 }
212
213 src_configure() { :; }
214
215 src_compile() { :; }
216
217 src_install() {
218 dodir /usr
219 cp -aR "${S}"/usr/* "${ED}"/usr/
220
221 # prevent revdep-rebuild from attempting to rebuild all the time
222 insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
223 }
224
225 pkg_preinst() {
226 # Cache updates - all handled by kde eclass for all environments
227 kde4-base_pkg_preinst
228 }
229
230 pkg_postinst() {
231 kde4-base_pkg_postinst
232
233 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
234 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
235
236 use cups && ! has_version net-print/cups || \
237 ewarn 'You will need net-print/cups to be able to print and export to PDF with libreoffice.'
238
239 use java || \
240 ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
241 }
242
243 pkg_postrm() {
244 kde4-base_pkg_postrm
245 }