/[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.1 - (show annotations) (download)
Mon Oct 17 14:21:01 2011 UTC (3 years, 2 months ago) by scarabeus
Branch: MAIN
Add the gentoo built version (for now just amd64)

(Portage version: 2.2.0_alpha68/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20