1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
9 HOMEPAGE="https://sourceforge.net/projects/pstoedit/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14 KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
15 IUSE="emf imagemagick plotutils pptx static-libs"
18 >=media-libs/gd-2.0.35-r1:=
19 >=app-text/ghostscript-gpl-8.71-r1
20 emf? ( >=media-libs/libemf-1.0.3 )
21 imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
22 plotutils? ( media-libs/plotutils )
23 pptx? ( dev-libs/libzip )
30 "${FILESDIR}"/${PN}-3.60-libdl.patch
31 "${FILESDIR}"/${PN}-3.70-pkgconfig.patch
38 -e '/CXXFLAGS="-g"/d' \
47 $(use_enable static-libs static) \
49 $(use_with imagemagick magick) \
50 $(use_with plotutils libplot) \
62 find "${ED}" -name '*.la' -delete