diff options
Diffstat (limited to 'app-text/writerperfect')
-rw-r--r-- | app-text/writerperfect/Manifest | 3 | ||||
-rw-r--r-- | app-text/writerperfect/metadata.xml | 25 | ||||
-rw-r--r-- | app-text/writerperfect/writerperfect-0.9.5.ebuild | 65 |
3 files changed, 93 insertions, 0 deletions
diff --git a/app-text/writerperfect/Manifest b/app-text/writerperfect/Manifest new file mode 100644 index 000000000000..3ec38d46ddae --- /dev/null +++ b/app-text/writerperfect/Manifest @@ -0,0 +1,3 @@ +DIST writerperfect-0.9.5.tar.xz 302176 BLAKE2B 4ef8fd72f01e3c208a59c520440975f38dcf1edc353134721b7f06d042752adad9c825503f5756a74bede2307f7317c28e054dbcb6c5c1000a606822e97d2c8b SHA512 7467a798da362883101780b598e9a673c10f86f29c01ece1438ea524a0413a00928274f87895f3a8ae26f6784cdcc34e0e84039ca591dc3f75b2e25c53744ccc +EBUILD writerperfect-0.9.5.ebuild 1761 BLAKE2B ef4e87d22c7ab182cb1f3e9677bbfa12498f2fade4c353bf1ba0093a4c00ae4cb90d2926b99e799e2dc0304e60102f593126cb0da0f3ee2b4746ef43a6fc1e1b SHA512 95591cec04441b34a37e60460eab58ea69641c9876e7074bcdb1dcd25aa1b7fd438dc52c98f61674b151b82eacdc18cc42c6c844390c6f78ccbd299c07b04fd6 +MISC metadata.xml 1475 BLAKE2B 930b7d6e8f9204281ca5a01d55a66fa635b3ea7680405a16a55ef85dbe572fc82a6ea00dc9a0ba2b98ce2c854b738bff02dd4e99d62e923b42bce9069fce1070 SHA512 759c262d939b9d6aa57d7de21447492d3771f6af011de6a5de83dd81cc115df14a25e20b71ba5643d0089e2b62953312fcf17ca91d67f4b5c046ecd145747450 diff --git a/app-text/writerperfect/metadata.xml b/app-text/writerperfect/metadata.xml new file mode 100644 index 000000000000..7fa1a1d665d1 --- /dev/null +++ b/app-text/writerperfect/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <use> + <flag name="abiword">Add support for abiword format using <pkg>app-text/libabw</pkg></flag> + <flag name="ebook">Add support for various ebook formats using <pkg>app-text/libebook</pkg></flag> + <flag name="freehand">Add support for freehand format using <pkg>media-libs/libfreehand</pkg></flag> + <flag name="gsf">Add support for structured files using <pkg>gnome-extra/libgsf</pkg></flag> + <flag name="keynote">Add support for keynote format using <pkg>app-text/libetonyek</pkg></flag> + <flag name="mspub">Add support to mspub format using <pkg>app-text/libmspub</pkg></flag> + <flag name="mwaw">Add support to mwaw formats using <pkg>app-text/libmwaw</pkg></flag> + <flag name="pagemaker">Add support to pagemaker formats using <pkg>media-libs/libpagemaker</pkg></flag> + <flag name="visio">Add support for visio format using <pkg>media-libs/libvisio</pkg></flag> + <flag name="wpd">Add support for wpd format using <pkg>app-text/libwpd</pkg></flag> + <flag name="wpg">Add support for wpg format using <pkg>app-text/libwpg</pkg></flag> + <flag name="wps">Add support for wps format using <pkg>app-text/libwps</pkg></flag> + </use> + <upstream> + <remote-id type="sourceforge">libwpd</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/writerperfect/writerperfect-0.9.5.ebuild b/app-text/writerperfect/writerperfect-0.9.5.ebuild new file mode 100644 index 000000000000..ebcd8a970359 --- /dev/null +++ b/app-text/writerperfect/writerperfect-0.9.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic + +DESCRIPTION="Various formats to Open document format converter" +HOMEPAGE="http://libwpd.sf.net" +SRC_URI="mirror://sourceforge/libwpd/${P}.tar.xz" + +LICENSE="|| ( LGPL-2.1 MPL-2.0 )" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-linux ~x86-solaris" +IUSE="abiword +cdr debug ebook freehand gsf keynote +mspub +mwaw pagemaker +visio +wpd +wpg +wps" + +# FIXME: libepubgen, librvngabw +RDEPEND=" + =app-text/libodfgen-0.1* + >=dev-libs/librevenge-0.0.1 + media-libs/libeot + abiword? ( =app-text/libabw-0.1* ) + cdr? ( =media-libs/libcdr-0.1* ) + ebook? ( =app-text/libebook-0.1* ) + freehand? ( =media-libs/libfreehand-0.1* ) + gsf? ( gnome-extra/libgsf ) + keynote? ( =app-text/libetonyek-0.1* ) + mspub? ( =app-text/libmspub-0.1* ) + mwaw? ( =app-text/libmwaw-0.3* ) + pagemaker? ( media-libs/libpagemaker ) + visio? ( =media-libs/libvisio-0.1* ) + wpd? ( app-text/libwpd:0.10 ) + wpg? ( =app-text/libwpg-0.3* ) + wps? ( =app-text/libwps-0.4* ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +REQUIRED_USE=" + || ( abiword cdr ebook freehand keynote mspub mwaw pagemaker visio wpd wpg wps ) +" +# configure fails if no import library is selected... + +src_configure() { + # bug 651620 + append-cxxflags -std=c++11 + + econf \ + --disable-werror \ + $(use_enable debug) \ + $(use_with abiword libabw) \ + $(use_with cdr libcdr) \ + $(use_with ebook libebook) \ + $(use_with freehand libfreehand) \ + $(use_with gsf libgsf) \ + $(use_with keynote libetonyek) \ + $(use_with mspub libmspub) \ + $(use_with mwaw libmwaw) \ + $(use_with pagemaker libpagemaker) \ + $(use_with visio libvisio) \ + $(use_with wpd libwpd) \ + $(use_with wpg libwpg) \ + $(use_with wps libwps) +} |