diff options
Diffstat (limited to 'media-gfx/pstoedit/pstoedit-3.61.ebuild')
-rw-r--r-- | media-gfx/pstoedit/pstoedit-3.61.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
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 +} |