diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-26 10:15:38 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-26 10:15:38 +0000 |
commit | 613055bd02950d5a23a45d176098c85dc101cf90 (patch) | |
tree | c361a0c2524a710aeaeee64aac28626704e50fcf /media-gfx/autotrace | |
parent | Workaround parallel make failure properly, bug #321539. (diff) | |
download | gentoo-2-613055bd02950d5a23a45d176098c85dc101cf90.tar.gz gentoo-2-613055bd02950d5a23a45d176098c85dc101cf90.tar.bz2 gentoo-2-613055bd02950d5a23a45d176098c85dc101cf90.zip |
Rename libpng12 to libpng in configure.in for pkg-config wrt #321525 by Diego E. Pettenò.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/autotrace')
-rw-r--r-- | media-gfx/autotrace/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/autotrace/autotrace-0.31.1-r5.ebuild | 56 |
2 files changed, 64 insertions, 1 deletions
diff --git a/media-gfx/autotrace/ChangeLog b/media-gfx/autotrace/ChangeLog index dd3d604fde2f..5bab3c596ea7 100644 --- a/media-gfx/autotrace/ChangeLog +++ b/media-gfx/autotrace/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/autotrace # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/ChangeLog,v 1.35 2010/02/11 20:22:36 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/ChangeLog,v 1.36 2010/05/26 10:15:38 ssuominen Exp $ + +*autotrace-0.31.1-r5 (26 May 2010) + + 26 May 2010; Samuli Suominen <ssuominen@gentoo.org> + +autotrace-0.31.1-r5.ebuild: + Rename libpng12 to libpng in configure.in for pkg-config wrt #321525 by + Diego E. Pettenò. 11 Feb 2010; Jeroen Roovers <jer@gentoo.org> autotrace-0.31.1-r3.ebuild: Stable for HPPA (bug #291696). diff --git a/media-gfx/autotrace/autotrace-0.31.1-r5.ebuild b/media-gfx/autotrace/autotrace-0.31.1-r5.ebuild new file mode 100644 index 000000000000..6b0c303de7bf --- /dev/null +++ b/media-gfx/autotrace/autotrace-0.31.1-r5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/autotrace/autotrace-0.31.1-r5.ebuild,v 1.1 2010/05/26 10:15:38 ssuominen Exp $ + +EAPI=1 +inherit autotools eutils + +DESCRIPTION="Converts Bitmaps to vector-graphics" +HOMEPAGE="http://autotrace.sourceforge.net/" +SRC_URI="mirror://sourceforge/autotrace/${P}.tar.gz + mirror://debian/pool/main/a/${PN}/${PN}_${PV}-13.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+imagemagick +pdf" + +RDEPEND="media-libs/libexif + >=media-libs/libpng-1.2.43-r2:0 + >=media-libs/ming-0.3.0 + pdf? ( >=media-gfx/pstoedit-3.45-r1 ) + imagemagick? ( >=media-gfx/imagemagick-6 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${WORKDIR}"/${PN}_${PV}-13.diff + epatch "${FILESDIR}"/${P}-swf-output.patch + epatch "${FILESDIR}"/${P}-m4.patch + epatch "${FILESDIR}"/${P}-pkgconfig.patch # bug 283534 + + # Fix broken Debian patchset wrt bug 321525 + sed -i \ + -e 's:libpng12:libpng:' \ + configure.in || die + + eautoreconf +} + +src_compile() { + # Autotrace will autolink to ming if present. Forcing on. + econf \ + --disable-dependency-tracking \ + --with-ming \ + $(use_with imagemagick magick) \ + $(use_with pdf pstoedit) + + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README +} |