/[gentoo-x86]/app-office/libreoffice-bin/libreoffice-bin-3.4.3.2-r1.ebuild
Gentoo

Contents of /app-office/libreoffice-bin/libreoffice-bin-3.4.3.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Wed Feb 15 10:03:11 2012 UTC (2 years, 7 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Bump to 3.4.5.

(Portage version: 2.2.0_alpha86/cvs/Linux x86_64, RepoMan options: --force)

1 floppym 1.9 # Copyright 1999-2012 Gentoo Foundation
2 scarabeus 1.1 # Distributed under the terms of the GNU General Public License v2
3 scarabeus 1.10 # $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3.2-r1.ebuild,v 1.9 2012/01/26 03:23:37 floppym Exp $
4 scarabeus 1.1
5     EAPI=4
6    
7     KDE_REQUIRED="optional"
8     CMAKE_REQUIRED="never"
9    
10 scarabeus 1.5 BASE_URI="http://dev.gentooexperimental.org/~scarabeus/libreo_binary/"
11 scarabeus 1.1
12     inherit kde4-base java-pkg-opt-2 pax-utils
13    
14     DESCRIPTION="LibreOffice, a full office productivity suite. Binary package"
15     HOMEPAGE="http://www.libreoffice.org"
16 scarabeus 1.5 SRC_URI_AMD64="
17     kde? (
18     !java? ( ${BASE_URI}/amd64/${PN/-bin}-kde-${PVR}.tbz2 -> ${PN/-bin}-kde-amd64-${PVR}.tbz2 )
19     java? ( ${BASE_URI}/amd64/${PN/-bin}-kde-java-${PVR}.tbz2 -> ${PN/-bin}-kde-java-amd64-${PVR}.tbz2 )
20     )
21     gnome? (
22     !java? ( ${BASE_URI}/amd64/${PN/-bin}-gnome-${PVR}.tbz2 -> ${PN/-bin}-gnome-amd64-${PVR}.tbz2 )
23     java? ( ${BASE_URI}/amd64/${PN/-bin}-gnome-java-${PVR}.tbz2 -> ${PN/-bin}-gnome-java-amd64-${PVR}.tbz2 )
24     )
25     !kde? ( !gnome? (
26     !java? ( ${BASE_URI}/amd64/${PN/-bin}-base-${PVR}.tbz2 -> ${PN/-bin}-base-amd64-${PVR}.tbz2 )
27     java? ( ${BASE_URI}/amd64/${PN/-bin}-base-java-${PVR}.tbz2 -> ${PN/-bin}-base-java-amd64-${PVR}.tbz2 )
28     ) )
29     "
30    
31     SRC_URI_X86="
32 scarabeus 1.1 kde? (
33 scarabeus 1.5 !java? ( ${BASE_URI}/x86/${PN/-bin}-kde-${PVR}.tbz2 -> ${PN/-bin}-kde-x86-${PVR}.tbz2 )
34     java? ( ${BASE_URI}/x86/${PN/-bin}-kde-java-${PVR}.tbz2 -> ${PN/-bin}-kde-java-x86-${PVR}.tbz2 )
35 scarabeus 1.1 )
36     gnome? (
37 scarabeus 1.5 !java? ( ${BASE_URI}/x86/${PN/-bin}-gnome-${PVR}.tbz2 -> ${PN/-bin}-gnome-x86-${PVR}.tbz2 )
38     java? ( ${BASE_URI}/x86/${PN/-bin}-gnome-java-${PVR}.tbz2 -> ${PN/-bin}-gnome-java-x86-${PVR}.tbz2 )
39 scarabeus 1.1 )
40     !kde? ( !gnome? (
41 scarabeus 1.5 !java? ( ${BASE_URI}/x86/${PN/-bin}-base-${PVR}.tbz2 -> ${PN/-bin}-base-x86-${PVR}.tbz2 )
42     java? ( ${BASE_URI}/x86/${PN/-bin}-base-java-${PVR}.tbz2 -> ${PN/-bin}-base-java-x86-${PVR}.tbz2 )
43 scarabeus 1.1 ) )
44     "
45    
46 scarabeus 1.5 SRC_URI="
47     amd64? ( ${SRC_URI_AMD64} )
48     x86? ( ${SRC_URI_X86} )
49     "
50    
51 scarabeus 1.1 IUSE="gnome java kde"
52     LICENSE="LGPL-3"
53     SLOT="0"
54 chainsaw 1.6 KEYWORDS="amd64 ~x86"
55 scarabeus 1.1
56     COMMON_DEPEND="
57     app-arch/zip
58     app-arch/unzip
59     >=app-text/hunspell-1.3.2-r1
60     app-text/mythes
61     app-text/libwpd:0.9[tools]
62     app-text/libwpg:0.2
63     >=app-text/libwps-0.2.2
64     >=app-text/poppler-0.12.3-r3[xpdf-headers,cairo]
65     dev-db/unixODBC
66     dev-libs/expat
67     >=dev-libs/glib-2.28
68     >=dev-libs/hyphen-2.7.1
69     >=dev-libs/icu-4.8.1-r1
70     >=dev-lang/perl-5.0
71     >=dev-libs/openssl-1.0.0e
72     dev-libs/redland[ssl]
73     media-libs/freetype:2
74     >=media-libs/fontconfig-2.8.0
75     >=media-libs/libpng-1.5
76     net-print/cups
77     sci-mathematics/lpsolve
78     >=sys-libs/db-4.8
79     virtual/jpeg
80     >=x11-libs/cairo-1.10.0
81     x11-libs/libXaw
82     x11-libs/libXinerama
83     x11-libs/libXrandr
84     x11-libs/libXrender
85     >=dev-libs/dbus-glib-0.92
86     gnome? (
87     gnome-base/gconf:2
88     gnome-extra/evolution-data-server
89     )
90     >=x11-libs/gtk+-2.24:2
91     media-gfx/graphite2
92     >=media-libs/gstreamer-0.10
93     >=media-libs/gst-plugins-base-0.10
94     java? (
95     >=dev-java/bsh-2.0_beta4
96     dev-java/lucene:2.9
97     dev-java/lucene-analyzers:2.3
98     dev-java/saxon:0
99     )
100     net-nds/openldap
101     virtual/opengl
102     net-libs/neon
103     "
104    
105     RDEPEND="${COMMON_DEPEND}
106 scarabeus 1.2 !app-office/libreoffice
107 scarabeus 1.1 !app-office/openoffice-bin
108     !app-office/openoffice
109     java? ( >=virtual/jre-1.6 )
110     "
111    
112     PDEPEND="
113 scarabeus 1.8 =app-office/libreoffice-l10n-$(get_version_component_range 1-3)*
114 scarabeus 1.1 "
115    
116     DEPEND="${COMMON_DEPEND}"
117    
118     # only one flavor at a time
119     REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
120    
121     RESTRICT="test strip"
122    
123     S="${WORKDIR}"
124    
125 floppym 1.9 PYTHON_UPDATER_IGNORE="1"
126    
127 scarabeus 1.3 pkg_pretend() {
128     [[ $(gcc-major-version) -lt 4 ]] || \
129     ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
130     && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."
131     }
132    
133 scarabeus 1.1 pkg_setup() {
134     kde4-base_pkg_setup
135     }
136    
137     src_unpack() {
138     default
139     }
140    
141     src_configure() { :; }
142    
143     src_compile() { :; }
144    
145     src_install() {
146     dodir /usr
147     cp -aR "${S}"/usr/* "${ED}"/usr/
148     }
149    
150     pkg_preinst() {
151     # Cache updates - all handled by kde eclass for all environments
152     kde4-base_pkg_preinst
153     }
154    
155     pkg_postinst() {
156     kde4-base_pkg_postinst
157    
158     pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
159     }
160    
161     pkg_postrm() {
162     kde4-base_pkg_postrm
163     }

  ViewVC Help
Powered by ViewVC 1.1.20