diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2008-01-24 09:40:50 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2008-01-24 09:40:50 +0000 |
commit | 6b3b492567011aedd8c7a76435459b41b44eda33 (patch) | |
tree | b1309d9a149dce49c84358187b9451f5733d6d9f /media-gfx | |
parent | Add missing inherit for eutils. (diff) | |
download | historical-6b3b492567011aedd8c7a76435459b41b44eda33.tar.gz historical-6b3b492567011aedd8c7a76435459b41b44eda33.tar.bz2 historical-6b3b492567011aedd8c7a76435459b41b44eda33.zip |
version bump bug 199452 thanks carlo
Package-Manager: portage-2.1.4
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/pstoedit/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/pstoedit/Manifest | 50 | ||||
-rw-r--r-- | media-gfx/pstoedit/files/digest-pstoedit-3.33 | 3 | ||||
-rw-r--r-- | media-gfx/pstoedit/files/digest-pstoedit-3.40 | 3 | ||||
-rw-r--r-- | media-gfx/pstoedit/files/digest-pstoedit-3.42 | 3 | ||||
-rw-r--r-- | media-gfx/pstoedit/files/digest-pstoedit-3.45 | 3 | ||||
-rw-r--r-- | media-gfx/pstoedit/pstoedit-3.33.ebuild | 59 | ||||
-rw-r--r-- | media-gfx/pstoedit/pstoedit-3.40.ebuild | 60 | ||||
-rw-r--r-- | media-gfx/pstoedit/pstoedit-3.42.ebuild | 55 | ||||
-rw-r--r-- | media-gfx/pstoedit/pstoedit-3.45.ebuild | 54 |
10 files changed, 77 insertions, 223 deletions
diff --git a/media-gfx/pstoedit/ChangeLog b/media-gfx/pstoedit/ChangeLog index fbf6033d230d..4d69e10b0ea9 100644 --- a/media-gfx/pstoedit/ChangeLog +++ b/media-gfx/pstoedit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/pstoedit -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/ChangeLog,v 1.40 2007/04/09 19:46:46 cryos Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/ChangeLog,v 1.41 2008/01/24 09:40:49 genstef Exp $ + +*pstoedit-3.45 (24 Jan 2008) + + 24 Jan 2008; Stefan Schweizer <genstef@gentoo.org> -pstoedit-3.33.ebuild, + -pstoedit-3.40.ebuild, -pstoedit-3.42.ebuild, +pstoedit-3.45.ebuild: + version bump bug 199452 thanks carlo 09 Apr 2007; Marcus D. Hanwell <cryos@gentoo.org> pstoedit-3.44.ebuild: Stable on amd64. diff --git a/media-gfx/pstoedit/Manifest b/media-gfx/pstoedit/Manifest index 9c553cd0f3b0..8fce8e65f1dc 100644 --- a/media-gfx/pstoedit/Manifest +++ b/media-gfx/pstoedit/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 3.44-as-needed.patch 577 RMD160 5072cc5ccfcd4bcd58b7da2c28b11e8752c7cdd8 SHA1 6832cdd54ae0e2bd7322da8369e73d5d100fadca SHA256 d5073956857d7162ae15e359f269fabb89bc7c76b0f62d9e815f85d54001bf92 MD5 5076c843f0e4778ac3a9fab80ed12a66 files/3.44-as-needed.patch 577 RMD160 5072cc5ccfcd4bcd58b7da2c28b11e8752c7cdd8 files/3.44-as-needed.patch 577 @@ -9,50 +6,27 @@ AUX pstoedit-m4-quoting.patch 469 RMD160 398695f4bf3ebec83202fb5de9c096050f12ee6 MD5 3f295680df5273d98ed01e739e23b8cc files/pstoedit-m4-quoting.patch 469 RMD160 398695f4bf3ebec83202fb5de9c096050f12ee68 files/pstoedit-m4-quoting.patch 469 SHA256 5498f27174dc0dd117032b277f8a02d13b0a9ba441e43586f01935acafeabcc5 files/pstoedit-m4-quoting.patch 469 -DIST pstoedit-3.33.tar.gz 729661 RMD160 f2b9b3c7445210a0f68965d24de61849589ddd0b SHA1 7b60d1742828cbef3a4455ac37d7b91521bcfbf9 SHA256 f6d9e5d9800c1ec05ed7328d624ed995f608c40fa8c2e0dae39480881679a7b9 -DIST pstoedit-3.40.tar.gz 791425 RMD160 e55d6b5086a3fd76334ef488a081d8cbde023389 SHA1 9083f13257c988e7500a1ee3841e9836d58e5b1f SHA256 868b54e62de25628d3d4e038ec0543399f8f791dd9272620685bd88073518869 -DIST pstoedit-3.42.tar.gz 807598 RMD160 8ed9827bf7626cbeff07f050322cc60e48e091bc SHA1 fa29fa03826fabb9143d561518fe91a115743a83 SHA256 fcdddaee451c365b61c7f14e4b009b45b7d19ab4e09b6028b856bfa8b9ae3b6e DIST pstoedit-3.44.tar.gz 837147 RMD160 f745cc93ee681963a45f769955f574cfafc64ee9 SHA1 85785ca1b523795f61b44f1947250edcaae8b5a9 SHA256 84af13a39dde6e5fd224306d87090fb5350de52ee7fb412e0b1373207af1027e -EBUILD pstoedit-3.33.ebuild 1468 RMD160 4c3ec2d17c76ec3b7924f770e62e6891bf1da92a SHA1 ea501134a3c741f977866704328756a9d90b077f SHA256 df5ec259a32bf647a2018a763191f58089f4c0b13bf8d0bb5186e02fd8fd5f48 -MD5 86c19385f574e106c3f3f7c75fb98a64 pstoedit-3.33.ebuild 1468 -RMD160 4c3ec2d17c76ec3b7924f770e62e6891bf1da92a pstoedit-3.33.ebuild 1468 -SHA256 df5ec259a32bf647a2018a763191f58089f4c0b13bf8d0bb5186e02fd8fd5f48 pstoedit-3.33.ebuild 1468 -EBUILD pstoedit-3.40.ebuild 1518 RMD160 95ca6eb77619d6ca6500c46886df5b4dbf49bd4d SHA1 54f1b260cb02d3d8c93aa125501b26e9d23e262c SHA256 f93b06a53164d531e56d90a26667e4df0ce4243046fb9b8a012bc58427d23f75 -MD5 18dc2390e6b9460945c8d8b2ed493589 pstoedit-3.40.ebuild 1518 -RMD160 95ca6eb77619d6ca6500c46886df5b4dbf49bd4d pstoedit-3.40.ebuild 1518 -SHA256 f93b06a53164d531e56d90a26667e4df0ce4243046fb9b8a012bc58427d23f75 pstoedit-3.40.ebuild 1518 -EBUILD pstoedit-3.42.ebuild 1546 RMD160 2f9c38eb344296fd814042ef56843987c56cfbee SHA1 75b0942b38f96954a21e4f158d0b068f7f69014e SHA256 c0fcdaff1e5d909b24538e99be03dda3b5f705977167d5df748504eecb815395 -MD5 352855bb564f394a3e45958b272f55e2 pstoedit-3.42.ebuild 1546 -RMD160 2f9c38eb344296fd814042ef56843987c56cfbee pstoedit-3.42.ebuild 1546 -SHA256 c0fcdaff1e5d909b24538e99be03dda3b5f705977167d5df748504eecb815395 pstoedit-3.42.ebuild 1546 +DIST pstoedit-3.45.tar.gz 848922 RMD160 dbe610807dae3ece5d32979100795d3399beb23a SHA1 3eecd5efcd4f3d1752d13303a2d1b64346f74171 SHA256 a489e47e536c194d7fc3a8121a274156a3577d3d893ac4b54d79849bb29f7fd9 EBUILD pstoedit-3.44.ebuild 1692 RMD160 0671281802787c52811aa9d58fd73c0cfd9b9d3f SHA1 9d82ba0f3758a66b0d3fd6a3aaceabd90b0f9893 SHA256 c1eeb575f61c3b6eca80678b447dada68d41e89a83c4078ec21d472eb21f753c MD5 8c87bcd345641d17c481e08b027ffd9a pstoedit-3.44.ebuild 1692 RMD160 0671281802787c52811aa9d58fd73c0cfd9b9d3f pstoedit-3.44.ebuild 1692 SHA256 c1eeb575f61c3b6eca80678b447dada68d41e89a83c4078ec21d472eb21f753c pstoedit-3.44.ebuild 1692 -MISC ChangeLog 5654 RMD160 7ef3e3426fc3ca9e4b815f94002dc9f3a6252715 SHA1 2574ab86156afb07366733b917fa6b40f0f64f9c SHA256 d05cc524d31d68196cbd847df0b07ee2eade5e0b93d3422f1280fa96b14be10e -MD5 e446f8ecadfc14a3a61756284c0c2adc ChangeLog 5654 -RMD160 7ef3e3426fc3ca9e4b815f94002dc9f3a6252715 ChangeLog 5654 -SHA256 d05cc524d31d68196cbd847df0b07ee2eade5e0b93d3422f1280fa96b14be10e ChangeLog 5654 +EBUILD pstoedit-3.45.ebuild 1700 RMD160 036b711642c9b7f76059cf2408b5349d3d4f01e0 SHA1 40905681f007f012342f21353a2e29d0575256fe SHA256 734e75cb7813d54f6bf323403de81cda7990542df997ce61ab6d84f64a9ec56d +MD5 d8bc86c5589fbbc761fca293229d4f75 pstoedit-3.45.ebuild 1700 +RMD160 036b711642c9b7f76059cf2408b5349d3d4f01e0 pstoedit-3.45.ebuild 1700 +SHA256 734e75cb7813d54f6bf323403de81cda7990542df997ce61ab6d84f64a9ec56d pstoedit-3.45.ebuild 1700 +MISC ChangeLog 5873 RMD160 be0c2b0cbd7666e322be47991dede6714ac9753c SHA1 09907f3251c061d730daed61349c67a48abd8caa SHA256 c70b043e6868b91bfb4cc086e0081f68e26819e7dc9de01daeb91e71fb5645f7 +MD5 40f3ff3206bb36ca8d94bd8317e69a5b ChangeLog 5873 +RMD160 be0c2b0cbd7666e322be47991dede6714ac9753c ChangeLog 5873 +SHA256 c70b043e6868b91bfb4cc086e0081f68e26819e7dc9de01daeb91e71fb5645f7 ChangeLog 5873 MISC metadata.xml 178 RMD160 68a17e883f5d21f3caa47c1bc6df3ad317e7f1db SHA1 0a5cce32b234d6098c1a92749bba762eb63b6d9f SHA256 ebabe65a896a6964a474de7925b12594c0678da63fd9436b5ae8241cb0ab41d7 MD5 893079c395bccde0a0b1012e2bca45cf metadata.xml 178 RMD160 68a17e883f5d21f3caa47c1bc6df3ad317e7f1db metadata.xml 178 SHA256 ebabe65a896a6964a474de7925b12594c0678da63fd9436b5ae8241cb0ab41d7 metadata.xml 178 -MD5 e42908d3bf93b760affaf1f84ae7a445 files/digest-pstoedit-3.33 241 -RMD160 36b696f7b7073ad1f9aea77a469205cd5d23b8e6 files/digest-pstoedit-3.33 241 -SHA256 6d8c81d46c2ffd5629e692151649d434f82c22d23b047d943301851bd832c041 files/digest-pstoedit-3.33 241 -MD5 a2dccfec9323cfd1cd451624edfde101 files/digest-pstoedit-3.40 241 -RMD160 de4704ee74a2f28c01362bf0a436f50e42485285 files/digest-pstoedit-3.40 241 -SHA256 acc74f263083be57bba738873f3ac81420d3ace58aaa55bdbeb76fa871af7c07 files/digest-pstoedit-3.40 241 -MD5 82b93d5f23ce148465049abd258c3818 files/digest-pstoedit-3.42 241 -RMD160 1cd1e9bac1450f1c7d5003296173fc9f41b020ae files/digest-pstoedit-3.42 241 -SHA256 20458319695a5807b44e57c85fb3d02d9f4a8e4dbfbb134a4d77266397552dab files/digest-pstoedit-3.42 241 MD5 c8f2e51c1f66db198345abf335ec94bd files/digest-pstoedit-3.44 241 RMD160 9469f96d4db3bc4b8c4df97e4cde825a8640601d files/digest-pstoedit-3.44 241 SHA256 861e45403ad06356a80bc9295bec1b00a07e3af3c07fc616fd3c5753529457fd files/digest-pstoedit-3.44 241 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) - -iD8DBQFGGpgsntT9W3vfTuoRAt7xAKCYfamruEsBzz5FH8iqhdu4dC5vSQCgp8MV -oeiHGKeIvk1tZsn05ra5ehw= -=DcfR ------END PGP SIGNATURE----- +MD5 88533414784b585864b4060257d8ec0c files/digest-pstoedit-3.45 241 +RMD160 84274d871a4656d1823fd0f7cdd12c7d300b8baa files/digest-pstoedit-3.45 241 +SHA256 d466af07de52b8e19d601b9c21919baa4eea7cbebf044bbdc5355b2b5bce322e files/digest-pstoedit-3.45 241 diff --git a/media-gfx/pstoedit/files/digest-pstoedit-3.33 b/media-gfx/pstoedit/files/digest-pstoedit-3.33 deleted file mode 100644 index 27bd3b398a6c..000000000000 --- a/media-gfx/pstoedit/files/digest-pstoedit-3.33 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 6a671ef165bf7d1611a2ad3f0499ff5b pstoedit-3.33.tar.gz 729661 -RMD160 f2b9b3c7445210a0f68965d24de61849589ddd0b pstoedit-3.33.tar.gz 729661 -SHA256 f6d9e5d9800c1ec05ed7328d624ed995f608c40fa8c2e0dae39480881679a7b9 pstoedit-3.33.tar.gz 729661 diff --git a/media-gfx/pstoedit/files/digest-pstoedit-3.40 b/media-gfx/pstoedit/files/digest-pstoedit-3.40 deleted file mode 100644 index 37adbc152fc4..000000000000 --- a/media-gfx/pstoedit/files/digest-pstoedit-3.40 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 cfad18cec035a3b8a13c1e2b960a24fe pstoedit-3.40.tar.gz 791425 -RMD160 e55d6b5086a3fd76334ef488a081d8cbde023389 pstoedit-3.40.tar.gz 791425 -SHA256 868b54e62de25628d3d4e038ec0543399f8f791dd9272620685bd88073518869 pstoedit-3.40.tar.gz 791425 diff --git a/media-gfx/pstoedit/files/digest-pstoedit-3.42 b/media-gfx/pstoedit/files/digest-pstoedit-3.42 deleted file mode 100644 index 7f764b62eb99..000000000000 --- a/media-gfx/pstoedit/files/digest-pstoedit-3.42 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 be262030dd15bc18cac03fda98f9871b pstoedit-3.42.tar.gz 807598 -RMD160 8ed9827bf7626cbeff07f050322cc60e48e091bc pstoedit-3.42.tar.gz 807598 -SHA256 fcdddaee451c365b61c7f14e4b009b45b7d19ab4e09b6028b856bfa8b9ae3b6e pstoedit-3.42.tar.gz 807598 diff --git a/media-gfx/pstoedit/files/digest-pstoedit-3.45 b/media-gfx/pstoedit/files/digest-pstoedit-3.45 new file mode 100644 index 000000000000..801cdd497dd7 --- /dev/null +++ b/media-gfx/pstoedit/files/digest-pstoedit-3.45 @@ -0,0 +1,3 @@ +MD5 071efc64d9edf5d942b407348ac7451d pstoedit-3.45.tar.gz 848922 +RMD160 dbe610807dae3ece5d32979100795d3399beb23a pstoedit-3.45.tar.gz 848922 +SHA256 a489e47e536c194d7fc3a8121a274156a3577d3d893ac4b54d79849bb29f7fd9 pstoedit-3.45.tar.gz 848922 diff --git a/media-gfx/pstoedit/pstoedit-3.33.ebuild b/media-gfx/pstoedit/pstoedit-3.33.ebuild deleted file mode 100644 index 6592d25a2786..000000000000 --- a/media-gfx/pstoedit/pstoedit-3.33.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.33.ebuild,v 1.14 2006/04/13 19:17:45 chutzpah Exp $ - -inherit libtool - -# see bug #29724. please don't re-enable flash support until -# ming has the patches applied <obz@gentoo.org> -# secondly, we're not enabling libemf via a use flag, until it's -# actually switchable via configure, see bug #39557 -# IUSE="flash libemf" -IUSE="" - -DESCRIPTION="translates PostScript and PDF graphics into other vector formats" -SRC_URI="http://home.t-online.de/home/helga.glunz/wglunz/${PN}/${P}.tar.gz" -HOMEPAGE="http://www.pstoedit.net/pstoedit" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="ppc x86" - -DEPEND="sys-libs/zlib - media-libs/libemf - media-libs/libpng - media-libs/libexif" -# flash? ( media-libs/ming )" - -RDEPEND="${DEPEND} - virtual/ghostscript" - -src_unpack() { - - unpack ${A}; cd ${S} - # need to remove the pedantic flag, see bug #39557 - sed -i -e "s/\-pedantic//" configure - -} - -src_compile() { - - local myconf="" - # checking if libemf is previously installed, bug #29724 - [ -f /usr/include/libEMF/emf.h ] \ - && myconf="${myconf} --with-libemf-include=/usr/include/libEMF" - - elibtoolize - econf ${myconf} || die "econf failed" - make || die - -} - -src_install () { - - make DESTDIR=${D} install || die "make install failed" - dodoc readme.txt copying - dohtml changelog.htm index.htm doc/pstoedit.htm - doman doc/pstoedit.1 - -} diff --git a/media-gfx/pstoedit/pstoedit-3.40.ebuild b/media-gfx/pstoedit/pstoedit-3.40.ebuild deleted file mode 100644 index 7ce3ad01f004..000000000000 --- a/media-gfx/pstoedit/pstoedit-3.40.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.40.ebuild,v 1.10 2007/03/12 20:04:53 armin76 Exp $ - -inherit libtool - -# see bug #29724. please don't re-enable flash support until -# ming has the patches applied <obz@gentoo.org> -# secondly, we're not enabling libemf via a use flag, until it's -# actually switchable via configure, see bug #39557 -# IUSE="flash libemf" -IUSE="plotutils" - -DESCRIPTION="translates PostScript and PDF graphics into other vector formats" -SRC_URI="mirror://gentoo/${P}.tar.gz" -HOMEPAGE="http://www.pstoedit.net/pstoedit" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~ppc ppc64 sparc x86" - -DEPEND="sys-libs/zlib - media-libs/libemf - media-libs/libpng - media-libs/libexif - plotutils? ( media-libs/plotutils )" -# flash? ( media-libs/ming )" - -RDEPEND="${DEPEND} - virtual/ghostscript" - -src_unpack() { - - unpack ${A}; cd ${S} - # need to remove the pedantic flag, see bug #39557 - sed -i -e "s/\-pedantic//" configure - -} - -src_compile() { - - local myconf="" - # checking if libemf is previously installed, bug #29724 - [ -f /usr/include/libEMF/emf.h ] \ - && myconf="${myconf} --with-libemf-include=/usr/include/libEMF" - - elibtoolize - econf ${myconf} $(use_with plotutils libplot) || die "econf failed" - make || die - -} - -src_install () { - - make DESTDIR=${D} install || die "make install failed" - dodoc readme.txt copying - dohtml changelog.htm index.htm doc/pstoedit.htm - doman doc/pstoedit.1 - -} diff --git a/media-gfx/pstoedit/pstoedit-3.42.ebuild b/media-gfx/pstoedit/pstoedit-3.42.ebuild deleted file mode 100644 index 02b80ed0433f..000000000000 --- a/media-gfx/pstoedit/pstoedit-3.42.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.42.ebuild,v 1.9 2007/04/04 20:21:00 gustavoz Exp $ - -inherit libtool eutils - -DESCRIPTION="translates PostScript and PDF graphics into other vector formats" -HOMEPAGE="http://www.pstoedit.net/pstoedit" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86" -# see bug #29724. please don't re-enable flash support until -# ming has the patches applied <obz@gentoo.org> -# IUSE="flash emf" -IUSE="plotutils emf" - -DEPEND="sys-libs/zlib - !amd64? ( emf? ( media-libs/libemf ) ) - media-libs/libpng - media-libs/libexif - plotutils? ( media-libs/plotutils )" -# flash? ( media-libs/ming )" -RDEPEND="${DEPEND} - virtual/ghostscript" - -src_unpack() { - unpack ${A} - cd "${S}" - # need to remove the pedantic flag, see bug #39557 - sed -i -e "s/\-pedantic//" configure - epatch "${FILESDIR}"/${PN}-m4-quoting.patch - elibtoolize -} - -src_compile() { - local myconf="--without-swf" - if ! use amd64 && use emf ; then - myconf="${myconf} $(use_with emf)" - # bug #29724 - [ -f /usr/include/libEMF/emf.h ] \ - && myconf="${myconf} --with-libemf-include=/usr/include/libEMF" - fi - - econf ${myconf} $(use_with plotutils libplot) || die "econf failed" - make || die -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - dodoc readme.txt - dohtml changelog.htm index.htm doc/pstoedit.htm - doman doc/pstoedit.1 -} diff --git a/media-gfx/pstoedit/pstoedit-3.45.ebuild b/media-gfx/pstoedit/pstoedit-3.45.ebuild new file mode 100644 index 000000000000..d16bff451c25 --- /dev/null +++ b/media-gfx/pstoedit/pstoedit-3.45.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.45.ebuild,v 1.1 2008/01/24 09:40:50 genstef Exp $ + +inherit autotools base eutils + +DESCRIPTION="translates PostScript and PDF graphics into other vector formats" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.pstoedit.net/pstoedit" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +# Add flash when media-libs/ming-0.3 gets out of package.mask +IUSE="emf imagemagick plotutils" + +# Strangely when emerging with --as-needed libpng is not needed +DEPEND="media-libs/libpng + virtual/ghostscript + media-libs/gd + emf? ( >=media-libs/libemf-1.0.3 ) + imagemagick? ( media-gfx/imagemagick ) + plotutils? ( media-libs/plotutils )" +#flash? ( >=media-libs/ming-0.3 ) + +PATCHES="${FILESDIR}/3.44-as-needed.patch" + +pkg_setup() { + if use imagemagick && built_with_use media-gfx/imagemagick nocxx; then + eerror 'pstoedit with USE "imagemagick" requires media-gfx/imagemagick' + eerror 'built with C++ bindings. Please recompile imagemagick with' + eerror 'USE "-nocxx"' + echo + die 'missing imagemagick C++ header file Magick++.h' + fi +} + +src_compile() { + eautoreconf + #$(use_with flash swf) + # --without-swf for bug https://bugs.gentoo.org/show_bug.cgi?id=137204 + econf $(use_with emf) --without-swf $(use_with imagemagick magick) \ + $(use_with plotutils libplot) || die 'econf failed' + make || die 'compilation failed' +} + +src_install () { + emake DESTDIR=${D} install || die 'make install failed' + cd doc + dodoc readme.txt || die + dohtml *.htm || die + doman pstoedit.1 || die +} |