summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-01-01 12:05:47 +0000
committerSebastian Pipping <sping@gentoo.org>2012-01-01 12:05:47 +0000
commitcbad3db68a7f10161c2e53b043db47f87bbab546 (patch)
treea28f36d593d960d1a6ceb0a83031615ff442a86e /media-gfx/imageworsener
parentAdd patch from upstream to fix bug #395645, straight to stable (diff)
downloadgentoo-2-cbad3db68a7f10161c2e53b043db47f87bbab546.tar.gz
gentoo-2-cbad3db68a7f10161c2e53b043db47f87bbab546.tar.bz2
gentoo-2-cbad3db68a7f10161c2e53b043db47f87bbab546.zip
media-gfx/imageworsener: 0.9.6
(Portage version: 2.1.10.43/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/imageworsener')
-rw-r--r--media-gfx/imageworsener/ChangeLog10
-rw-r--r--media-gfx/imageworsener/imageworsener-0.9.6.ebuild51
2 files changed, 59 insertions, 2 deletions
diff --git a/media-gfx/imageworsener/ChangeLog b/media-gfx/imageworsener/ChangeLog
index 77a51e051fc7..717d07ebd9b7 100644
--- a/media-gfx/imageworsener/ChangeLog
+++ b/media-gfx/imageworsener/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/imageworsener
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.11 2011/11/06 18:38:12 sping Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.12 2012/01/01 12:05:47 sping Exp $
+
+*imageworsener-0.9.6 (01 Jan 2012)
+
+ 01 Jan 2012; Sebastian Pipping <sping@gentoo.org>
+ +imageworsener-0.9.6.ebuild:
+ Bump to 0.9.6, looks trivial
06 Nov 2011; Sebastian Pipping <sping@gentoo.org> imageworsener-0.9.2.ebuild,
imageworsener-0.9.3.ebuild, imageworsener-0.9.4.ebuild:
diff --git a/media-gfx/imageworsener/imageworsener-0.9.6.ebuild b/media-gfx/imageworsener/imageworsener-0.9.6.ebuild
new file mode 100644
index 000000000000..3d15a8400fe1
--- /dev/null
+++ b/media-gfx/imageworsener/imageworsener-0.9.6.ebuild
@@ -0,0 +1,51 @@
+# 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.6.ebuild,v 1.1 2012/01/01 12:05:47 sping Exp $
+
+EAPI="2"
+
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_VERBOSE=1
+inherit eutils cmake-utils
+
+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="test webp"
+
+WEBP_DEPEND='>=media-libs/libwebp-0.1.3'
+DEPEND="media-libs/libpng:0
+ virtual/jpeg
+ webp? ( ${WEBP_DEPEND} )
+ test? ( ${WEBP_DEPEND} )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.9.5-webp.patch
+}
+
+src_configure() {
+ local webp=0
+ use webp && webp=1
+ use test && webp=1
+ mycmakeargs=( -DIW_SUPPORT_WEBP=${webp} )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ dobin ${MY_PN} || die "dobin failed."
+ dodoc readme.txt technical.txt changelog.txt || die
+}
+
+src_test() {
+ cd "${S}/tests" || die
+ ./runtest "${S}/${MY_PN}"
+}