1 |
commit: 4c50f6a78847e466c4233fb99564f4fd0064c647 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Sep 24 20:44:11 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 22:08:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c50f6a7 |
7 |
|
8 |
media-libs/libzmf: New package |
9 |
|
10 |
Required by >=app-office/libreoffice-5.3 |
11 |
|
12 |
Gentoo-bug: 587980 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
media-libs/libzmf/libzmf-9999.ebuild | 52 ++++++++++++++++++++++++++++++++++++ |
17 |
media-libs/libzmf/metadata.xml | 11 ++++++++ |
18 |
2 files changed, 63 insertions(+) |
19 |
|
20 |
diff --git a/media-libs/libzmf/libzmf-9999.ebuild b/media-libs/libzmf/libzmf-9999.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000..12a3836 |
23 |
--- /dev/null |
24 |
+++ b/media-libs/libzmf/libzmf-9999.ebuild |
25 |
@@ -0,0 +1,52 @@ |
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="git://gerrit.libreoffice.org/libzmf" |
33 |
+ |
34 |
+[[ ${PV} == 9999 ]] && GITECLASS="git-r3 autotools" |
35 |
+inherit eutils ${GITECLASS} |
36 |
+unset GITECLASS |
37 |
+ |
38 |
+DESCRIPTION="Library for parsing Zoner Callisto/Draw documents" |
39 |
+HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libzmf" |
40 |
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="MPL-2.0" |
43 |
+SLOT="0" |
44 |
+[[ ${PV} == 9999 ]] || \ |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+IUSE="debug doc test tools" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/icu:= |
51 |
+ dev-libs/librevenge |
52 |
+ media-libs/libpng:0= |
53 |
+ sys-libs/zlib |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ dev-libs/boost |
57 |
+ doc? ( app-doc/doxygen ) |
58 |
+ test? ( dev-util/cppunit ) |
59 |
+" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ econf \ |
68 |
+ $(use_enable debug) \ |
69 |
+ $(use_with doc docs) \ |
70 |
+ $(use_enable test tests) \ |
71 |
+ $(use_enable tools) |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ default |
76 |
+ prune_libtool_files --all |
77 |
+} |
78 |
|
79 |
diff --git a/media-libs/libzmf/metadata.xml b/media-libs/libzmf/metadata.xml |
80 |
new file mode 100644 |
81 |
index 00000000..9a942b1 |
82 |
--- /dev/null |
83 |
+++ b/media-libs/libzmf/metadata.xml |
84 |
@@ -0,0 +1,11 @@ |
85 |
+<?xml version="1.0" encoding="UTF-8"?> |
86 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
87 |
+<pkgmetadata> |
88 |
+ <maintainer type="project"> |
89 |
+ <email>office@g.o</email> |
90 |
+ <name>Gentoo Office project</name> |
91 |
+ </maintainer> |
92 |
+ <use> |
93 |
+ <flag name="tools">Build conversion tools</flag> |
94 |
+ </use> |
95 |
+</pkgmetadata> |