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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.9
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/Attic/libreoffice-bin-3.4.3.2-r1.ebuild,v 1.3 2011/10/19 09:26:01 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/Attic/libreoffice-bin-3.4.3.2-r1.ebuild,v 1.9 2012/01/26 03:23:37 floppym Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7KDE_REQUIRED="optional" 7KDE_REQUIRED="optional"
8CMAKE_REQUIRED="never" 8CMAKE_REQUIRED="never"
11 11
12inherit kde4-base java-pkg-opt-2 pax-utils 12inherit kde4-base java-pkg-opt-2 pax-utils
13 13
14DESCRIPTION="LibreOffice, a full office productivity suite. Binary package" 14DESCRIPTION="LibreOffice, a full office productivity suite. Binary package"
15HOMEPAGE="http://www.libreoffice.org" 15HOMEPAGE="http://www.libreoffice.org"
16SRC_URI=" 16SRC_URI_AMD64="
17 kde? ( 17 kde? (
18 !java? ( ${BASE_URI}/${PN/-bin}-kde-${PVR}.tbz2 ) 18 !java? ( ${BASE_URI}/amd64/${PN/-bin}-kde-${PVR}.tbz2 -> ${PN/-bin}-kde-amd64-${PVR}.tbz2 )
19 java? ( ${BASE_URI}/${PN/-bin}-kde-java-${PVR}.tbz2 ) 19 java? ( ${BASE_URI}/amd64/${PN/-bin}-kde-java-${PVR}.tbz2 -> ${PN/-bin}-kde-java-amd64-${PVR}.tbz2 )
20 ) 20 )
21 gnome? ( 21 gnome? (
22 !java? ( ${BASE_URI}/${PN/-bin}-gnome-${PVR}.tbz2 ) 22 !java? ( ${BASE_URI}/amd64/${PN/-bin}-gnome-${PVR}.tbz2 -> ${PN/-bin}-gnome-amd64-${PVR}.tbz2 )
23 java? ( ${BASE_URI}/${PN/-bin}-gnome-java-${PVR}.tbz2 ) 23 java? ( ${BASE_URI}/amd64/${PN/-bin}-gnome-java-${PVR}.tbz2 -> ${PN/-bin}-gnome-java-amd64-${PVR}.tbz2 )
24 ) 24 )
25 !kde? ( !gnome? ( 25 !kde? ( !gnome? (
26 !java? ( ${BASE_URI}/${PN/-bin}-base-${PVR}.tbz2 ) 26 !java? ( ${BASE_URI}/amd64/${PN/-bin}-base-${PVR}.tbz2 -> ${PN/-bin}-base-amd64-${PVR}.tbz2 )
27 java? ( ${BASE_URI}/${PN/-bin}-base-java-${PVR}.tbz2 ) 27 java? ( ${BASE_URI}/amd64/${PN/-bin}-base-java-${PVR}.tbz2 -> ${PN/-bin}-base-java-amd64-${PVR}.tbz2 )
28 ) ) 28 ) )
29"
30
31SRC_URI_X86="
32 kde? (
33 !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 )
36 gnome? (
37 !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 )
40 !kde? ( !gnome? (
41 !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 ) )
44"
45
46SRC_URI="
47 amd64? ( ${SRC_URI_AMD64} )
48 x86? ( ${SRC_URI_X86} )
29" 49"
30 50
31IUSE="gnome java kde" 51IUSE="gnome java kde"
32LICENSE="LGPL-3" 52LICENSE="LGPL-3"
33SLOT="0" 53SLOT="0"
34KEYWORDS="~amd64" 54KEYWORDS="amd64 ~x86"
35 55
36COMMON_DEPEND=" 56COMMON_DEPEND="
37 app-arch/zip 57 app-arch/zip
38 app-arch/unzip 58 app-arch/unzip
39 >=app-text/hunspell-1.3.2-r1 59 >=app-text/hunspell-1.3.2-r1
50 >=dev-lang/perl-5.0 70 >=dev-lang/perl-5.0
51 >=dev-libs/openssl-1.0.0e 71 >=dev-libs/openssl-1.0.0e
52 dev-libs/redland[ssl] 72 dev-libs/redland[ssl]
53 media-libs/freetype:2 73 media-libs/freetype:2
54 >=media-libs/fontconfig-2.8.0 74 >=media-libs/fontconfig-2.8.0
55 >=media-libs/vigra-1.7
56 >=media-libs/libpng-1.5 75 >=media-libs/libpng-1.5
57 net-print/cups 76 net-print/cups
58 sci-mathematics/lpsolve 77 sci-mathematics/lpsolve
59 >=sys-libs/db-4.8 78 >=sys-libs/db-4.8
60 virtual/jpeg 79 virtual/jpeg
89 !app-office/openoffice 108 !app-office/openoffice
90 java? ( >=virtual/jre-1.6 ) 109 java? ( >=virtual/jre-1.6 )
91" 110"
92 111
93PDEPEND=" 112PDEPEND="
94 >=app-office/libreoffice-l10n-$(get_version_component_range 1-2) 113 =app-office/libreoffice-l10n-$(get_version_component_range 1-3)*
95" 114"
96 115
97DEPEND="${COMMON_DEPEND}" 116DEPEND="${COMMON_DEPEND}"
98 117
99# only one flavor at a time 118# only one flavor at a time
100REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )" 119REQUIRED_USE="kde? ( !gnome ) gnome? ( !kde )"
101 120
102RESTRICT="test strip" 121RESTRICT="test strip"
103 122
104S="${WORKDIR}" 123S="${WORKDIR}"
124
125PYTHON_UPDATER_IGNORE="1"
105 126
106pkg_pretend() { 127pkg_pretend() {
107 [[ $(gcc-major-version) -lt 4 ]] || \ 128 [[ $(gcc-major-version) -lt 4 ]] || \
108 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \ 129 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 4 ]] ) \
109 && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)." 130 && die "Sorry, but gcc-4.4 and earlier won't work for libreoffice-bin package (see bug #387515)."

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20