diff options
Diffstat (limited to 'app-text/writerperfect')
-rw-r--r-- | app-text/writerperfect/Manifest | 1 | ||||
-rw-r--r-- | app-text/writerperfect/metadata.xml | 3 | ||||
-rw-r--r-- | app-text/writerperfect/writerperfect-0.9.6.ebuild | 69 |
3 files changed, 73 insertions, 0 deletions
diff --git a/app-text/writerperfect/Manifest b/app-text/writerperfect/Manifest index d55504ff086b..e616fc12c940 100644 --- a/app-text/writerperfect/Manifest +++ b/app-text/writerperfect/Manifest @@ -1 +1,2 @@ DIST writerperfect-0.9.5.tar.xz 302176 BLAKE2B 4ef8fd72f01e3c208a59c520440975f38dcf1edc353134721b7f06d042752adad9c825503f5756a74bede2307f7317c28e054dbcb6c5c1000a606822e97d2c8b SHA512 7467a798da362883101780b598e9a673c10f86f29c01ece1438ea524a0413a00928274f87895f3a8ae26f6784cdcc34e0e84039ca591dc3f75b2e25c53744ccc +DIST writerperfect-0.9.6.tar.xz 330360 BLAKE2B da566fb8e1aae3708646b49b695cf26c5b64aeda1ca1df08ced2549ca8718840744ab011cb7567d1e371ac8e7ee6cfef6a67ee9837cf38b570a3794dc4682f81 SHA512 4a86a23ae2caa133066279994255d8ca7ee16f40ad646bd8ff434c7e4e1a29cf23db7e811b8eca1823dcf9e2456b2e8dbacf03bd5bc0377638fc52fc7d4495a5 diff --git a/app-text/writerperfect/metadata.xml b/app-text/writerperfect/metadata.xml index 7fa1a1d665d1..14c2a0236a37 100644 --- a/app-text/writerperfect/metadata.xml +++ b/app-text/writerperfect/metadata.xml @@ -8,16 +8,19 @@ <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="epub">Add support for conversion to ePub format using <pkg>app-text/libepubgen</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="qxp">Add support for QuarkXpress documents using <pkg>app-text/libqxp</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> + <flag name="zmf">Add support for Zoner Callisto/Draw documents format using <pkg>media-libs/libzmf</pkg></flag> </use> <upstream> <remote-id type="sourceforge">libwpd</remote-id> diff --git a/app-text/writerperfect/writerperfect-0.9.6.ebuild b/app-text/writerperfect/writerperfect-0.9.6.ebuild new file mode 100644 index 000000000000..5630e1a0c9a5 --- /dev/null +++ b/app-text/writerperfect/writerperfect-0.9.6.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 epub freehand gsf keynote +mspub +mwaw pagemaker qxp +visio +wpd +wpg +wps zmf" + +# FIXME: librvngabw +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + =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* ) + epub? ( app-text/libepubgen ) + 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 ) + qxp? ( app-text/libqxp ) + visio? ( =media-libs/libvisio-0.1* ) + wpd? ( app-text/libwpd:0.10 ) + wpg? ( =app-text/libwpg-0.3* ) + wps? ( =app-text/libwps-0.4* ) + zmf? ( media-libs/libzmf ) +" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + || ( abiword cdr ebook freehand keynote mspub mwaw pagemaker qxp visio wpd wpg wps zmf ) +" +# configure fails if no import library is selected... + +src_configure() { + local myeconfargs=( + --disable-werror + $(use_with abiword libabw) + $(use_with cdr libcdr) + $(use_enable debug) + $(use_with ebook libebook) + $(use_with epub libepubgen) + $(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 qxp libqxp) + $(use_with visio libvisio) + $(use_with wpd libwpd) + $(use_with wpg libwpg) + $(use_with wps libwps) + $(use_with zmf libzmf) + ) + econf "${myeconfargs[@]}" +} |