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