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.3.2.ebuild
Date: Sat, 24 Nov 2012 13:45:17
Message-Id: 20121124134505.36ECD20C65@flycatcher.gentoo.org
1 dilfridge 12/11/24 13:45:05
2
3 Modified: ChangeLog
4 Added: libreoffice-bin-3.6.3.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key B6C5F7DE)
9
10 Revision Changes Path
11 1.94 app-office/libreoffice-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 7 Nov 2012 21:08:03 -0000 1.93
24 +++ ChangeLog 24 Nov 2012 13:45:05 -0000 1.94
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.93 2012/11/07 21:08:03 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.94 2012/11/24 13:45:05 dilfridge Exp $
30 +
31 +*libreoffice-bin-3.6.3.2 (24 Nov 2012)
32 +
33 + 24 Nov 2012; Andreas K. Huettel <dilfridge@g.o>
34 + +libreoffice-bin-3.6.3.2.ebuild:
35 + Version bump
36
37 07 Nov 2012; Alexandre Rostovtsev <tetromino@g.o>
38 libreoffice-bin-3.5.5.3.ebuild:
39
40
41
42 1.1 app-office/libreoffice-bin/libreoffice-bin-3.6.3.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.6.3.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.3.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libreoffice-bin-3.6.3.2.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.6.3.2.ebuild,v 1.1 2012/11/24 13:45:05 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.3*
106 =dev-cpp/libcmis-0.2*
107 =dev-libs/icu-49*
108 =media-gfx/graphite2-1.2*
109 >=sys-libs/glibc-2.15-r3
110 kde? ( >=kde-base/kdelibs-4.8.5:4 >=x11-libs/qt-core-4.8.2:4 )
111 "
112
113 COMMON_DEPEND="
114 ${BIN_COMMON_DEPEND}
115 app-arch/zip
116 app-arch/unzip
117 >=app-text/hunspell-1.3.2-r3
118 app-text/mythes
119 >=app-text/libexttextcat-3.2
120 app-text/libwpd:0.9[tools]
121 app-text/libwpg:0.2
122 >=app-text/libwps-0.2.2
123 >=dev-cpp/clucene-2.3.3.4-r2
124 >=dev-cpp/libcmis-0.2:0.2
125 dev-db/unixODBC
126 dev-libs/expat
127 >=dev-libs/glib-2.28
128 >=dev-libs/hyphen-2.7.1
129 >=dev-libs/icu-4.8.1.1
130 >=dev-libs/nspr-4.8.8
131 >=dev-libs/nss-3.12.9
132 >=dev-lang/perl-5.0
133 >=dev-libs/openssl-1.0.0d
134 >=dev-libs/redland-1.0.14[ssl]
135 media-gfx/graphite2
136 >=media-libs/fontconfig-2.8.0
137 media-libs/freetype:2
138 media-libs/lcms:2
139 >=media-libs/libpng-1.4
140 >=media-libs/libcdr-0.0.5
141 media-libs/libvisio
142 >=net-misc/curl-7.21.4
143 sci-mathematics/lpsolve
144 >=sys-libs/db-4.8
145 virtual/jpeg
146 >=x11-libs/cairo-1.10.0[X]
147 x11-libs/libXinerama
148 x11-libs/libXrandr
149 x11-libs/libXrender
150 cups? ( net-print/cups )
151 >=dev-libs/dbus-glib-0.92
152 gnome? ( gnome-extra/evolution-data-server )
153 gnome? ( gnome-base/gconf:2 )
154 x11-libs/gdk-pixbuf[X]
155 >=x11-libs/gtk+-2.24:2
156 >=media-libs/gstreamer-0.10:0.10
157 >=media-libs/gst-plugins-base-0.10:0.10
158 net-libs/neon
159 "
160
161 RDEPEND="${COMMON_DEPEND}
162 !app-office/libreoffice
163 !<app-office/openoffice-bin-3.4.0-r1
164 !app-office/openoffice
165 media-fonts/libertine-ttf
166 media-fonts/liberation-fonts
167 media-fonts/urw-fonts
168 java? ( >=virtual/jre-1.6 )
169 "
170
171 PDEPEND="
172 =app-office/libreoffice-l10n-3.6*
173 "
174
175 DEPEND=""
176
177 # only one flavor at a time
178 REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
179
180 RESTRICT="test strip"
181
182 S="${WORKDIR}"
183
184 PYTHON_UPDATER_IGNORE="1"
185
186 pkg_pretend() {
187 [[ $(gcc-major-version) -lt 4 ]] || \
188 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
189 && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
190 }
191
192 pkg_setup() {
193 kde4-base_pkg_setup
194 }
195
196 src_unpack() {
197 default
198 }
199
200 src_prepare() {
201 cp "${FILESDIR}"/50-${PN} "${T}"
202 eprefixify "${T}"/50-${PN}
203 }
204
205 src_configure() { :; }
206
207 src_compile() { :; }
208
209 src_install() {
210 dodir /usr
211 cp -aR "${S}"/usr/* "${ED}"/usr/
212
213 # prevent revdep-rebuild from attempting to rebuild all the time
214 insinto /etc/revdep-rebuild && doins "${T}/50-${PN}"
215 }
216
217 pkg_preinst() {
218 # Cache updates - all handled by kde eclass for all environments
219 kde4-base_pkg_preinst
220 }
221
222 pkg_postinst() {
223 kde4-base_pkg_postinst
224
225 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
226 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
227
228 use cups || \
229 ewarn 'You will need net-print/cups to be able to print and export to PDF with libreoffice.'
230
231 use java || \
232 ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
233 }
234
235 pkg_postrm() {
236 kde4-base_pkg_postrm
237 }