summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/pstoedit
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/pstoedit')
-rw-r--r--media-gfx/pstoedit/Manifest3
-rw-r--r--media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch13
-rw-r--r--media-gfx/pstoedit/files/pstoedit-3.60-parallel.patch49
-rw-r--r--media-gfx/pstoedit/files/pstoedit-3.62-parallel.patch54
-rw-r--r--media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch14
-rw-r--r--media-gfx/pstoedit/metadata.xml14
-rw-r--r--media-gfx/pstoedit/pstoedit-3.61.ebuild56
-rw-r--r--media-gfx/pstoedit/pstoedit-3.62.ebuild61
-rw-r--r--media-gfx/pstoedit/pstoedit-3.70-r1.ebuild60
-rw-r--r--media-gfx/pstoedit/pstoedit-3.70.ebuild59
10 files changed, 383 insertions, 0 deletions
diff --git a/media-gfx/pstoedit/Manifest b/media-gfx/pstoedit/Manifest
new file mode 100644
index 000000000000..fd14e1b28b13
--- /dev/null
+++ b/media-gfx/pstoedit/Manifest
@@ -0,0 +1,3 @@
+DIST pstoedit-3.61.tar.gz 989480 SHA256 e9935f5510fc5a3227bd31a74e88911f02a4c8516f3e0fe9fbc0dc780f2460db SHA512 fa7ca567ea5acc95000b9d7582c22605725f5893d2f00412f6e9e59ead1efc6cafbbb019df0a4ae4f849ed50df59cf1f4d187fdd3b560d62173287d6f7e3db72 WHIRLPOOL cf7b252afce0c65ccb9d739df5e4c4b419f7f39f9a76a5ad3f1dfc78cb9a0549b4ac0881dde7400fa51d9f75d479aa0669da76d8c01a628c2d4676cbe56e5287
+DIST pstoedit-3.62.tar.gz 1013477 SHA256 8074c44637d48fa1a9253b263b18a61258bab904df473f803d8a639b6a038148 SHA512 f8c8643c873066026d0ef15a845006cf13928410e1c4b822bdd9a727d5d80f703d3ddabbcde249c72395c3b013dd2e1ef020f4a74f239b118035372ba5e4dda4 WHIRLPOOL 1cd36f55786e060bb66b5f41461edd38b40a5222c0abe9442a7b7223b781922f875271cda99397928ddc137725e236ef53cfb15f070510a770364d822df90ec9
+DIST pstoedit-3.70.tar.gz 1013949 SHA256 06b86113f7847cbcfd4e0623921a8763143bbcaef9f9098e6def650d1ff8138c SHA512 63668ea039fdf988ba007bafb8dc1f23f06d4eb430a92b97fb93c71b819f63e2708b99476ec9b096598db2ddd30d29a69101f078e7d4fdfec314677f50293cf9 WHIRLPOOL b1538ddc6fdebd150e79e3c574b41941077863e14eff1b9e74baf0bffe6d4ef8419bff551bf88e6e4e98550648d7a050e18b0df8627373351074ff434de8a571
diff --git a/media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch b/media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch
new file mode 100644
index 000000000000..279ed715f53a
--- /dev/null
+++ b/media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 6b33220..30c9f2e 100755
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -139,7 +139,7 @@ libpstoedit_la_SOURCES = \
+ genericints.h \
+ version.h
+
+-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm
++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} ${LIBLD_LDFLAGS} -lm
+ libpstoedit_la_LDFLAGS = -no-undefined
+
+ pstoedit_SOURCES = cmdmain.cpp
diff --git a/media-gfx/pstoedit/files/pstoedit-3.60-parallel.patch b/media-gfx/pstoedit/files/pstoedit-3.60-parallel.patch
new file mode 100644
index 000000000000..0ad8c7cd9aa8
--- /dev/null
+++ b/media-gfx/pstoedit/files/pstoedit-3.60-parallel.patch
@@ -0,0 +1,49 @@
+--- pstoedit-3.60/src/Makefile.am.orig
++++ pstoedit-3.60/src/Makefile.am
+@@ -87,6 +87,7 @@
+ $(sample_drivers_src)
+ libp2edrvstd_la_LIBADD=libpstoedit.la
+ libp2edrvstd_la_LDFLAGS=-no-undefined -module
++libp2edrvstd_la_DEPENDENCIES = libpstoedit.la
+
+ #libp2edrvplugins_la_SOURCES=drvmif.cpp drvcgm.cpp drvrtf.cpp drvwwmf.cpp
+ #libp2edrvplugins_la_LIBADD=
+@@ -96,25 +97,30 @@
+ libp2edrvlplot_la_SOURCES=drvlplot.cpp drvlplot.h initlibrary.cpp
+ libp2edrvlplot_la_LIBADD=$(LIBPLOTTER_LDFLAGS) libpstoedit.la
+ libp2edrvlplot_la_LDFLAGS=-no-undefined -module
++libp2edrvlplot_la_DEPENDENCIES = libpstoedit.la
+
+ libp2edrvswf_la_SOURCES=drvswf.cpp drvswf.h initlibrary.cpp
+ libp2edrvswf_la_LIBADD=$(LIBMING_LDFLAGS) libpstoedit.la
+ libp2edrvswf_la_LDFLAGS=-no-undefined -module
++libp2edrvswf_la_DEPENDENCIES = libpstoedit.la
+
+ # note the __ stand for ++ - automake treats all no alphanums chars as _
+ libp2edrvmagick___la_SOURCES=drvmagick++.cpp drvmagick++.h initlibrary.cpp
+ libp2edrvmagick___la_LIBADD=${LIBMAGICK_LDFLAGS} libpstoedit.la
+ libp2edrvmagick___la_LDFLAGS=-no-undefined -module
++libp2edrvmagick___la_DEPENDENCIES = libpstoedit.la
+ # moved to configure.ac because needed only for g++ libp2edrvmagick___la_CPPFLAGS=$(LIBMAGICK_CFLAGS) $(AM_CPPFLAGS) -Wno-long-long
+
+ if USE_EMFBYSOURCE
+ libp2edrvwmf_la_SOURCES=emflib.cpp drvwmf.cpp drvwmf.h initlibrary.cpp
+ libp2edrvwmf_la_LIBADD=libpstoedit.la
+ libp2edrvwmf_la_LDFLAGS=-no-undefined -module
++libp2edrvwmf_la_DEPENDENCIES = libpstoedit.la
+ else
+ libp2edrvwmf_la_SOURCES=drvwmf.cpp drvwmf.h initlibrary.cpp
+ libp2edrvwmf_la_LIBADD=$(LIBEMF_LDFLAGS) libpstoedit.la
+ libp2edrvwmf_la_LDFLAGS=-no-undefined -module
++libp2edrvwmf_la_DEPENDENCIES = libpstoedit.la
+ endif
+
+ libpstoedit_la_SOURCES = \
+@@ -139,6 +145,7 @@
+ pstoedit_SOURCES = cmdmain.cpp
+ pstoedit_LDADD = libpstoedit.la ${LIBLD_LDFLAGS}
+ pstoedit_LDFLAGS = -no-undefined
++pstoedit_DEPENDENCIES = libpstoedit.la
+
+ pkginclude_HEADERS = \
+ pstoedit.h \
diff --git a/media-gfx/pstoedit/files/pstoedit-3.62-parallel.patch b/media-gfx/pstoedit/files/pstoedit-3.62-parallel.patch
new file mode 100644
index 000000000000..e20324e2fd81
--- /dev/null
+++ b/media-gfx/pstoedit/files/pstoedit-3.62-parallel.patch
@@ -0,0 +1,54 @@
+--- pstoedit-3.62.orig/src/Makefile.am
++++ pstoedit-3.62/src/Makefile.am
+@@ -92,6 +92,7 @@
+ $(sample_drivers_src)
+ libp2edrvstd_la_LIBADD=libpstoedit.la
+ libp2edrvstd_la_LDFLAGS=-no-undefined -module
++libp2edrvstd_la_DEPENDENCIES = libpstoedit.la
+
+ #libp2edrvplugins_la_SOURCES=drvmif.cpp drvcgm.cpp drvrtf.cpp drvwwmf.cpp
+ #libp2edrvplugins_la_LIBADD=
+@@ -101,29 +102,35 @@
+ libp2edrvlplot_la_SOURCES=drvlplot.cpp drvlplot.h initlibrary.cpp
+ libp2edrvlplot_la_LIBADD=$(LIBPLOTTER_LDFLAGS) libpstoedit.la
+ libp2edrvlplot_la_LDFLAGS=-no-undefined -module
++libp2edrvlplot_la_DEPENDENCIES = libpstoedit.la
+
+ libp2edrvpptx_la_SOURCES=drvpptx.cpp drvpptx.h initlibrary.cpp
+ libp2edrvpptx_la_LIBADD=$(LIBPPTX_LDFLAGS) libpstoedit.la
+ libp2edrvpptx_la_LDFLAGS=-no-undefined -module
++libp2edrvpptx_la_DEPENDENCIES = libpstoedit.la
+
+ libp2edrvswf_la_SOURCES=drvswf.cpp drvswf.h initlibrary.cpp
+ libp2edrvswf_la_LIBADD=$(LIBMING_LDFLAGS) libpstoedit.la
+ libp2edrvswf_la_LDFLAGS=-no-undefined -module
++libp2edrvswf_la_DEPENDENCIES = libpstoedit.la
+
+ # note the __ stand for ++ - automake treats all no alphanums chars as _
+ libp2edrvmagick___la_SOURCES=drvmagick++.cpp drvmagick++.h initlibrary.cpp
+ libp2edrvmagick___la_LIBADD=${LIBMAGICK_LDFLAGS} libpstoedit.la
+ libp2edrvmagick___la_LDFLAGS=-no-undefined -module
++libp2edrvmagick___la_DEPENDENCIES = libpstoedit.la
+ # moved to configure.ac because needed only for g++ libp2edrvmagick___la_CPPFLAGS=$(LIBMAGICK_CFLAGS) $(AM_CPPFLAGS) -Wno-long-long
+
+ if USE_EMFBYSOURCE
+ libp2edrvwmf_la_SOURCES=emflib.cpp drvwmf.cpp drvwmf.h initlibrary.cpp
+ libp2edrvwmf_la_LIBADD=libpstoedit.la
+ libp2edrvwmf_la_LDFLAGS=-no-undefined -module
++libp2edrvwmf_la_DEPENDENCIES = libpstoedit.la
+ else
+ libp2edrvwmf_la_SOURCES=drvwmf.cpp drvwmf.h initlibrary.cpp
+ libp2edrvwmf_la_LIBADD=$(LIBEMF_LDFLAGS) libpstoedit.la
+ libp2edrvwmf_la_LDFLAGS=-no-undefined -module
++libp2edrvwmf_la_DEPENDENCIES = libpstoedit.la
+ endif
+
+ libpstoedit_la_SOURCES = \
+@@ -148,6 +155,7 @@
+ pstoedit_SOURCES = cmdmain.cpp
+ pstoedit_LDADD = libpstoedit.la ${LIBLD_LDFLAGS}
+ pstoedit_LDFLAGS = -no-undefined
++pstoedit_DEPENDENCIES = libpstoedit.la
+
+ pkginclude_HEADERS = \
+ pstoedit.h \
diff --git a/media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch b/media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch
new file mode 100644
index 000000000000..c101077431e5
--- /dev/null
+++ b/media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch
@@ -0,0 +1,14 @@
+LIBPNG_LDFLAGS is never substituted...
+https://bugs.gentoo.org/show_bug.cgi?id=551208
+
+Index: pstoedit-3.70/config/pstoedit.pc.in
+===================================================================
+--- pstoedit-3.70.orig/config/pstoedit.pc.in
++++ pstoedit-3.70/config/pstoedit.pc.in
+@@ -7,5 +7,5 @@ Name: pstoedit
+ Description: converts PostScript(TM) and PDF files to other vector graphic formats
+ Version: @VERSION@.0
+ Requires:
+-Libs: -L@libdir@ -lpstoedit @LIBPNG_LDFLAGS@ @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@
++Libs: -L@libdir@ -lpstoedit @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@
+ Cflags: -I@includedir@
diff --git a/media-gfx/pstoedit/metadata.xml b/media-gfx/pstoedit/metadata.xml
new file mode 100644
index 000000000000..3ce910543639
--- /dev/null
+++ b/media-gfx/pstoedit/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>tex</herd>
+ <herd>printing</herd>
+ <use>
+ <flag name="emf">Enable <pkg>media-libs/libemf</pkg> support</flag>
+ <flag name="flash">Enable <pkg>media-libs/ming</pkg> SWF support</flag>
+ <flag name="pptx">Enable support for generating PowerPoint pptx files</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">pstoedit</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/pstoedit/pstoedit-3.61.ebuild b/media-gfx/pstoedit/pstoedit-3.61.ebuild
new file mode 100644
index 000000000000..e4275793fa59
--- /dev/null
+++ b/media-gfx/pstoedit/pstoedit-3.61.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit autotools eutils
+
+DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
+HOMEPAGE="http://sourceforge.net/projects/pstoedit/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="emf flash imagemagick plotutils"
+
+RDEPEND="
+ >=media-libs/libpng-1.4.3
+ >=media-libs/gd-2.0.35-r1
+ >=app-text/ghostscript-gpl-8.71-r1
+ emf? ( >=media-libs/libemf-1.0.3 )
+ flash? ( >=media-libs/ming-0.4.3 )
+ imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
+ plotutils? ( media-libs/plotutils )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i \
+ -e '/CXXFLAGS="-g"/d' \
+ -e 's:-pedantic::' \
+ configure.ac || die
+
+ epatch "${FILESDIR}"/${PN}-3.60-parallel.patch \
+ "${FILESDIR}"/${PN}-3.60-libdl.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with emf) \
+ $(use_with imagemagick magick) \
+ $(use_with plotutils libplot) \
+ $(use_with flash swf)
+}
+
+src_install() {
+ default
+ doman doc/pstoedit.1
+ dodoc doc/*.txt
+ dohtml doc/*.htm
+}
diff --git a/media-gfx/pstoedit/pstoedit-3.62.ebuild b/media-gfx/pstoedit/pstoedit-3.62.ebuild
new file mode 100644
index 000000000000..63ada4902991
--- /dev/null
+++ b/media-gfx/pstoedit/pstoedit-3.62.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
+HOMEPAGE="http://sourceforge.net/projects/pstoedit/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="emf flash imagemagick plotutils pptx static-libs"
+
+RDEPEND="
+ >=media-libs/libpng-1.4.3
+ >=media-libs/gd-2.0.35-r1
+ >=app-text/ghostscript-gpl-8.71-r1
+ emf? ( >=media-libs/libemf-1.0.3 )
+ flash? ( >=media-libs/ming-0.4.3 )
+ imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
+ plotutils? ( media-libs/plotutils )
+ pptx? ( dev-libs/libzip )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i \
+ -e '/CXXFLAGS="-g"/d' \
+ -e 's:-pedantic::' \
+ configure.ac || die
+
+ epatch "${FILESDIR}"/${PN}-3.62-parallel.patch
+ epatch "${FILESDIR}"/${PN}-3.60-libdl.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with emf) \
+ $(use_with imagemagick magick) \
+ $(use_with plotutils libplot) \
+ $(use_with flash swf) \
+ $(use_with pptx)
+}
+
+src_install() {
+ default
+ doman doc/pstoedit.1
+ dodoc doc/*.txt
+ dohtml doc/*.htm
+
+ prune_libtool_files
+}
diff --git a/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild
new file mode 100644
index 000000000000..b59c595d4658
--- /dev/null
+++ b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
+HOMEPAGE="http://sourceforge.net/projects/pstoedit/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="emf flash imagemagick plotutils pptx static-libs"
+
+RDEPEND="
+ >=media-libs/gd-2.0.35-r1
+ >=app-text/ghostscript-gpl-8.71-r1
+ emf? ( >=media-libs/libemf-1.0.3 )
+ flash? ( >=media-libs/ming-0.4.3 )
+ imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
+ plotutils? ( media-libs/plotutils )
+ pptx? ( dev-libs/libzip )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i \
+ -e '/CXXFLAGS="-g"/d' \
+ -e 's:-pedantic::' \
+ configure.ac || die
+
+ epatch "${FILESDIR}"/${PN}-3.60-libdl.patch
+ epatch "${FILESDIR}"/${PN}-3.70-pkgconfig.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with emf) \
+ $(use_with imagemagick magick) \
+ $(use_with plotutils libplot) \
+ $(use_with flash swf) \
+ $(use_with pptx)
+}
+
+src_install() {
+ default
+ doman doc/pstoedit.1
+ dodoc doc/*.txt
+ dohtml doc/*.htm
+
+ find "${ED}" -name '*.la' -delete
+}
diff --git a/media-gfx/pstoedit/pstoedit-3.70.ebuild b/media-gfx/pstoedit/pstoedit-3.70.ebuild
new file mode 100644
index 000000000000..561c4a1fab82
--- /dev/null
+++ b/media-gfx/pstoedit/pstoedit-3.70.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
+HOMEPAGE="http://sourceforge.net/projects/pstoedit/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="emf flash imagemagick plotutils pptx static-libs"
+
+RDEPEND="
+ >=media-libs/gd-2.0.35-r1
+ >=app-text/ghostscript-gpl-8.71-r1
+ emf? ( >=media-libs/libemf-1.0.3 )
+ flash? ( >=media-libs/ming-0.4.3 )
+ imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
+ plotutils? ( media-libs/plotutils )
+ pptx? ( dev-libs/libzip )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ sed -i \
+ -e '/CXXFLAGS="-g"/d' \
+ -e 's:-pedantic::' \
+ configure.ac || die
+
+ epatch "${FILESDIR}"/${PN}-3.60-libdl.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with emf) \
+ $(use_with imagemagick magick) \
+ $(use_with plotutils libplot) \
+ $(use_with flash swf) \
+ $(use_with pptx)
+}
+
+src_install() {
+ default
+ doman doc/pstoedit.1
+ dodoc doc/*.txt
+ dohtml doc/*.htm
+
+ find "${ED}" -name '*.la' -delete
+}