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.5.2.2-r1.ebuild
Date: Sun, 13 May 2012 16:12:25
Message-Id: 20120513161215.CC2492004B@flycatcher.gentoo.org
1 dilfridge 12/05/13 16:12:15
2
3 Modified: ChangeLog
4 Added: libreoffice-bin-3.5.2.2-r1.ebuild
5 Log:
6 Fresh x86 binpackages for icu-49
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.69 app-office/libreoffice-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 9 May 2012 20:35:17 -0000 1.68
24 +++ ChangeLog 13 May 2012 16:12:15 -0000 1.69
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-office/libreoffice-bin
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.68 2012/05/09 20:35:17 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.69 2012/05/13 16:12:15 dilfridge Exp $
30 +
31 +*libreoffice-bin-3.5.2.2-r1 (13 May 2012)
32 +
33 + 13 May 2012; Andreas K. Huettel <dilfridge@g.o>
34 + +libreoffice-bin-3.5.2.2-r1.ebuild:
35 + Fresh x86 binpackages for icu-49
36
37 09 May 2012; Tomáš Chvátal <scarabeus@g.o>
38 libreoffice-bin-3.5.2.2.ebuild:
39
40
41
42 1.1 app-office/libreoffice-bin/libreoffice-bin-3.5.2.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.2.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.5.2.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libreoffice-bin-3.5.2.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.5.2.2-r1.ebuild,v 1.1 2012/05/13 16:12:15 dilfridge Exp $
52
53 EAPI=4
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
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 x86? ( ${SRC_URI_X86} )
96 "
97
98 IUSE="+cups debug gnome java kde"
99 LICENSE="LGPL-3"
100 SLOT="0"
101 KEYWORDS="-* ~x86"
102
103 BIN_COMMON_DEPEND="
104 >=sys-libs/glibc-2.14.1-r3
105 >=dev-libs/icu-49.1.1-r1
106 "
107 COMMON_DEPEND="
108 ${BIN_COMMON_DEPEND}
109 app-arch/zip
110 app-arch/unzip
111 >=app-text/hunspell-1.3.2-r3
112 app-text/mythes
113 >=app-text/libexttextcat-3.2
114 app-text/libwpd:0.9[tools]
115 app-text/libwpg:0.2
116 >=app-text/libwps-0.2.2
117 dev-cpp/libcmis
118 dev-db/unixODBC
119 dev-libs/expat
120 >=dev-libs/glib-2.28
121 >=dev-libs/hyphen-2.7.1
122 >=dev-libs/icu-4.8.1.1
123 >=dev-lang/perl-5.0
124 >=dev-libs/openssl-1.0.0d
125 >=dev-libs/redland-1.0.14[ssl]
126 >=media-libs/fontconfig-2.8.0
127 media-libs/freetype:2
128 >=media-libs/libpng-1.4
129 media-libs/libvisio
130 >=net-misc/curl-7.24.0
131 sci-mathematics/lpsolve
132 >=sys-libs/db-4.8
133 virtual/jpeg
134 >=x11-libs/cairo-1.10.0[X]
135 x11-libs/libXinerama
136 x11-libs/libXrandr
137 x11-libs/libXrender
138 >=dev-libs/dbus-glib-0.92
139 gnome? ( gnome-extra/evolution-data-server )
140 gnome? (
141 gnome-base/gconf:2
142 gnome-base/orbit
143 )
144 >=x11-libs/gtk+-2.24:2
145 media-gfx/graphite2
146 >=media-libs/gstreamer-0.10
147 >=media-libs/gst-plugins-base-0.10
148 java? (
149 >=dev-java/bsh-2.0_beta4
150 dev-java/lucene:2.9
151 dev-java/lucene-analyzers:2.3
152 )
153 net-libs/neon
154 "
155
156 RDEPEND="${COMMON_DEPEND}
157 !app-office/libreoffice
158 !app-office/openoffice-bin
159 !app-office/openoffice
160 media-fonts/libertine-ttf
161 media-fonts/liberation-fonts
162 media-fonts/urw-fonts
163 cups? ( net-print/cups )
164 java? ( >=virtual/jre-1.6 )
165 "
166
167 PDEPEND="
168 >=app-office/libreoffice-l10n-3.5.2
169 "
170
171 # after all it's a binary package
172 DEPEND=""
173
174 # only one flavor at a time
175 REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
176
177 RESTRICT="test strip"
178
179 S="${WORKDIR}"
180
181 PYTHON_UPDATER_IGNORE="1"
182
183 pkg_pretend() {
184 [[ $(gcc-major-version) -lt 4 ]] || \
185 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
186 && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
187 }
188
189 pkg_setup() {
190 kde4-base_pkg_setup
191 }
192
193 src_unpack() {
194 default
195 }
196
197 src_prepare() {
198 cp "${FILESDIR}"/50-${PN} "${T}"
199 eprefixify "${T}"/50-${PN}
200 }
201
202 src_configure() { :; }
203
204 src_compile() { :; }
205
206 src_install() {
207 dodir /usr
208 cp -aR "${S}"/usr/* "${ED}"/usr/
209
210 # prevent revdep-rebuild from attempting to rebuild all the time
211 insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
212 }
213
214 pkg_preinst() {
215 # Cache updates - all handled by kde eclass for all environments
216 kde4-base_pkg_preinst
217 }
218
219 pkg_postinst() {
220 kde4-base_pkg_postinst
221
222 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
223
224 use cups || \
225 ewarn 'You will need net-print/cups to be able to print and export to PDF with libreoffice.'
226
227 use java || \
228 ewarn 'If you plan to use lbase aplication you should enable java or you will get various crashes.'
229 }
230
231 pkg_postrm() {
232 kde4-base_pkg_postrm
233 }