diff options
-rw-r--r-- | media-gfx/imageworsener/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/imageworsener/imageworsener-0.9.10.ebuild | 49 |
2 files changed, 56 insertions, 1 deletions
diff --git a/media-gfx/imageworsener/ChangeLog b/media-gfx/imageworsener/ChangeLog index f13f683fd6c4..b077cb66f855 100644 --- a/media-gfx/imageworsener/ChangeLog +++ b/media-gfx/imageworsener/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/imageworsener # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.18 2012/03/31 21:17:20 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.19 2012/06/16 14:00:44 sping Exp $ + +*imageworsener-0.9.10 (16 Jun 2012) + + 16 Jun 2012; Sebastian Pipping <sping@gentoo.org> + +imageworsener-0.9.10.ebuild: + Bump to 0.9.10 *imageworsener-0.9.9 (31 Mar 2012) diff --git a/media-gfx/imageworsener/imageworsener-0.9.10.ebuild b/media-gfx/imageworsener/imageworsener-0.9.10.ebuild new file mode 100644 index 000000000000..1bb697438111 --- /dev/null +++ b/media-gfx/imageworsener/imageworsener-0.9.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/imageworsener-0.9.10.ebuild,v 1.1 2012/06/16 14:00:44 sping Exp $ + +EAPI="4" + +inherit eutils + +MY_P="${PN}-src-${PV}" +MY_PN="imagew" + +DESCRIPTION="Utility for image scaling and processing" +HOMEPAGE="http://entropymine.com/imageworsener/" +SRC_URI="http://entropymine.com/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jpeg png test webp zlib" + +DEPEND="png? ( media-libs/libpng:0 ) + jpeg? ( virtual/jpeg ) + webp? ( >=media-libs/libwebp-0.1.3 ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="test? ( jpeg png webp zlib )" + +src_configure() { + local switch= + use test && switch=test + + econf \ + $(use_with ${switch} jpeg) \ + $(use_with ${switch} png) \ + $(use_with ${switch} webp) \ + $(use_with ${switch} zlib) \ + || die +} + +src_install() { + default + dodoc {changelog,readme,technical}.txt || die +} + +src_test() { + cd "${S}/tests" || die + ./runtest "${S}/${MY_PN}" +} |