/[gentoo-x86]/app-office/abiword/abiword-3.0.0.ebuild
Gentoo

Contents of /app-office/abiword/abiword-3.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Oct 17 20:41:51 2013 UTC (7 years, 1 month ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Apply upstream fix to solve abiword-docs building in the right way

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/abiword/abiword-3.0.0.ebuild,v 1.3 2013/10/15 20:47:47 pacho Exp $
4
5 EAPI=5
6 GCONF_DEBUG="yes"
7 GNOME2_LA_PUNT="yes"
8
9 inherit eutils gnome2
10
11 DESCRIPTION="Fully featured yet light and fast cross platform word processor"
12 HOMEPAGE="http://www.abisource.com/"
13 SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="2"
17 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
18 IUSE="calendar collab cups eds +goffice grammar +introspection latex map math ots openxml +plugins readline redland spell wordperfect wmf thesaurus"
19
20 # You need 'plugins' enabled if want to enable the extra plugins
21 REQUIRED_USE="!plugins? ( !collab !grammar !latex !math !openxml !ots !readline !thesaurus !wordperfect !wmf )"
22
23 RDEPEND="
24 >=app-text/wv-1.2
25 dev-lang/perl
26 >=dev-libs/boost-1.40.0
27 >=dev-libs/fribidi-0.10.4
28 >=dev-libs/glib-2.16:2
29 >=dev-libs/libgcrypt-1.4.5
30 >=gnome-base/librsvg-2.16:2
31 >=gnome-extra/libgsf-1.14.18
32 >=media-libs/libpng-1.2
33 virtual/jpeg
34 >=x11-libs/cairo-1.10[X]
35 >=x11-libs/gtk+-3.0.8:3[cups?]
36 calendar? ( >=dev-libs/libical-0.46 )
37 eds? ( gnome-extra/evolution-data-server )
38 goffice? ( >=x11-libs/goffice-0.10.0:0.10 )
39 introspection? ( >=dev-libs/gobject-introspection-1.0.0 )
40 map? ( >=media-libs/libchamplain-0.12 )
41 plugins? (
42 collab? (
43 >=dev-libs/libxml2-2.4
44 >=net-libs/loudmouth-1
45 net-libs/libsoup:2.4
46 net-libs/gnutls )
47 grammar? ( >=dev-libs/link-grammar-4.2.1 )
48 latex? ( dev-libs/libxslt )
49 math? ( >=x11-libs/gtkmathview-0.7.5 )
50 ots? ( >=app-text/ots-0.5-r1 )
51 readline? ( sys-libs/readline )
52 thesaurus? ( >=app-text/aiksaurus-1.2[gtk] )
53 wordperfect? (
54 app-text/libwpd:0.9
55 app-text/libwpg:0.2 )
56 wmf? ( >=media-libs/libwmf-0.2.8 )
57 )
58 redland? (
59 >=dev-libs/redland-1.0.10
60 >=dev-libs/rasqal-0.9.17 )
61 spell? ( >=app-text/enchant-1.2 )
62 !<app-office/abiword-plugins-2.8
63 "
64 DEPEND="${RDEPEND}
65 virtual/pkgconfig
66 collab? ( dev-cpp/asio )
67 "
68
69 src_prepare() {
70 # readme.txt will be installed using dodoc
71 sed '/readme\.txt\|abw/d' \
72 -i user/wp/Makefile.am user/wp/Makefile.in || die
73
74 # http://bugzilla.abisource.com/show_bug.cgi?id=13532
75 epatch "${FILESDIR}/${PN}-3.0.0-eds-3.6.patch"
76
77 gnome2_src_prepare
78 }
79
80 src_configure() {
81 local plugins=""
82
83 if use plugins; then
84 # Plugins depending on libgsf
85 plugins="t602 docbook clarisworks wml kword hancom openwriter pdf
86 loadbindings mswrite garble pdb applix opendocument sdw xslfo"
87
88 # Plugins depending on librsvg
89 # But doesn't build: http://bugzilla.abisource.com/show_bug.cgi?id=13563
90 #plugins="${plugins} svg"
91
92 # Plugins not depending on anything
93 plugins="${plugins} gimp bmp freetranslation iscii s5 babelfish opml eml
94 wikipedia gdict passepartout google presentation urldict hrtext mif"
95
96 # inter7eps: eps.h
97 # libtidy: gsf + tidy.h
98 # paint: windows only ?
99 use collab && plugins="${plugins} collab"
100 use goffice && plugins="${plugins} goffice"
101 use latex && plugins="${plugins} latex"
102 use math && plugins="${plugins} mathview"
103 use openxml && plugins="${plugins} openxml"
104 use ots && plugins="${plugins} ots"
105 # psion: >=psiconv-0.9.4
106 use readline && plugins="${plugins} command"
107 use thesaurus && plugins="${plugins} aiksaurus"
108 use wmf && plugins="${plugins} wmf"
109 # wordperfect: >=wpd-0.9 >=wpg-0.2
110 use wordperfect && plugins="${plugins} wpg"
111 fi
112
113 gnome2_src_configure \
114 --enable-plugins="$(echo ${plugins})" \
115 --disable-static \
116 --disable-default-plugins \
117 --disable-builtin-plugins \
118 --disable-collab-backend-telepathy \
119 --enable-clipart \
120 --enable-statusbar \
121 --enable-templates \
122 --with-gio \
123 --without-gnomevfs \
124 --without-gtk2 \
125 $(use_with goffice goffice) \
126 $(use_with calendar libical) \
127 $(use_enable cups print) \
128 $(use_enable collab collab-backend-xmpp) \
129 $(use_enable collab collab-backend-tcp) \
130 $(use_enable collab collab-backend-service) \
131 $(use_with eds evolution-data-server) \
132 $(use_enable introspection) \
133 $(use_with map champlain) \
134 $(use_with redland) \
135 $(use_enable spell)
136 }
137
138 src_install() {
139 gnome2_src_install
140 dodoc user/wp/readme.txt
141 }

  ViewVC Help
Powered by ViewVC 1.1.20