summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-02-26 17:27:18 +0000
committerSebastian Pipping <sping@gentoo.org>2012-02-26 17:27:18 +0000
commit4e979515054064e12dff49e1728d3ab6802b5c43 (patch)
tree79c5e5981c3da3d1f8b0fa97f041945239f511bb /media-gfx
parentVersion bump (diff)
downloadgentoo-2-4e979515054064e12dff49e1728d3ab6802b5c43.tar.gz
gentoo-2-4e979515054064e12dff49e1728d3ab6802b5c43.tar.bz2
gentoo-2-4e979515054064e12dff49e1728d3ab6802b5c43.zip
media-gfx/imageworsener: 0.9.8
(Portage version: 2.1.10.48/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/imageworsener/ChangeLog8
-rw-r--r--media-gfx/imageworsener/imageworsener-0.9.8.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/media-gfx/imageworsener/ChangeLog b/media-gfx/imageworsener/ChangeLog
index 6b1d77a7a4bd..c11bbb4e6f4b 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.13 2012/01/02 21:32:01 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.14 2012/02/26 17:27:17 sping Exp $
+
+*imageworsener-0.9.8 (26 Feb 2012)
+
+ 26 Feb 2012; Sebastian Pipping <sping@gentoo.org>
+ +imageworsener-0.9.8.ebuild:
+ Bump to 0.9.8. Upstream has moved from CMake to Autotools
*imageworsener-0.9.7 (02 Jan 2012)
diff --git a/media-gfx/imageworsener/imageworsener-0.9.8.ebuild b/media-gfx/imageworsener/imageworsener-0.9.8.ebuild
new file mode 100644
index 000000000000..8529e0506e3a
--- /dev/null
+++ b/media-gfx/imageworsener/imageworsener-0.9.8.ebuild
@@ -0,0 +1,52 @@
+# 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.8.ebuild,v 1.1 2012/02/26 17:27:18 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 readme.txt technical.txt changelog.txt || die
+
+ # Remove dummy files pointing to others
+ rm "${D}"/usr/share/doc/${PF}/{ChangeLog,README} || die
+}
+
+src_test() {
+ cd "${S}/tests" || die
+ ./runtest "${S}/${MY_PN}"
+}