1 |
commit: ce0ee6f51ac7ecc94609ddd5bfa930de79d49916 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Sep 24 20:28:49 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 22:08:34 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0ee6f5 |
7 |
|
8 |
app-text/libstaroffice: New package |
9 |
|
10 |
Required by >=app-office/libreoffice-5.3 |
11 |
|
12 |
Gentoo-bug: 592354 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
app-text/libstaroffice/libstaroffice-9999.ebuild | 48 ++++++++++++++++++++++++ |
17 |
app-text/libstaroffice/metadata.xml | 15 ++++++++ |
18 |
2 files changed, 63 insertions(+) |
19 |
|
20 |
diff --git a/app-text/libstaroffice/libstaroffice-9999.ebuild b/app-text/libstaroffice/libstaroffice-9999.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000..e5d61b8 |
23 |
--- /dev/null |
24 |
+++ b/app-text/libstaroffice/libstaroffice-9999.ebuild |
25 |
@@ -0,0 +1,48 @@ |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+EAPI=6 |
31 |
+ |
32 |
+EGIT_REPO_URI="https://github.com/fosnola/libstaroffice.git" |
33 |
+ |
34 |
+[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" |
35 |
+inherit eutils ${GITECLASS} |
36 |
+unset GITECLASS |
37 |
+ |
38 |
+DESCRIPTION="Import filter for old StarOffice documents" |
39 |
+HOMEPAGE="https://github.com/fosnola/libstaroffice" |
40 |
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="|| ( LGPL-2.1+ MPL-2.0 )" |
43 |
+SLOT="0" |
44 |
+[[ ${PV} == 9999 ]] || \ |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+IUSE="debug doc tools +zlib" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/librevenge |
51 |
+ zlib? ( sys-libs/zlib ) |
52 |
+" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ doc? ( app-doc/doxygen ) |
55 |
+" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ econf \ |
64 |
+ $(use_enable debug) \ |
65 |
+ $(use_with doc docs) \ |
66 |
+ $(use_enable tools) \ |
67 |
+ $(use_enable zlib zip) |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ prune_libtool_files --all |
73 |
+} |
74 |
|
75 |
diff --git a/app-text/libstaroffice/metadata.xml b/app-text/libstaroffice/metadata.xml |
76 |
new file mode 100644 |
77 |
index 00000000..27a1e93 |
78 |
--- /dev/null |
79 |
+++ b/app-text/libstaroffice/metadata.xml |
80 |
@@ -0,0 +1,15 @@ |
81 |
+<?xml version="1.0" encoding="UTF-8"?> |
82 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
83 |
+<pkgmetadata> |
84 |
+ <maintainer type="project"> |
85 |
+ <email>office@g.o</email> |
86 |
+ <name>Gentoo Office project</name> |
87 |
+ </maintainer> |
88 |
+ <use> |
89 |
+ <flag name="tools">Build conversion tools</flag> |
90 |
+ <flag name="zlib">Enable support for compressed data</flag> |
91 |
+ </use> |
92 |
+ <upstream> |
93 |
+ <remote-id type="github">fosnola/libstaroffice</remote-id> |
94 |
+ </upstream> |
95 |
+</pkgmetadata> |