summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2014-04-04 22:00:03 +0000
committerSebastian Pipping <sping@gentoo.org>2014-04-04 22:00:03 +0000
commit41cf935a4f0e5507cea1f9dcfae1d71ae990b956 (patch)
tree04c26d3e0895c3e40827663235cd9aa9aa277b23 /media-gfx/imageworsener
parentold (diff)
downloadgentoo-2-41cf935a4f0e5507cea1f9dcfae1d71ae990b956.tar.gz
gentoo-2-41cf935a4f0e5507cea1f9dcfae1d71ae990b956.tar.bz2
gentoo-2-41cf935a4f0e5507cea1f9dcfae1d71ae990b956.zip
media-gfx/imageworsener: 1.2.0
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
Diffstat (limited to 'media-gfx/imageworsener')
-rw-r--r--media-gfx/imageworsener/ChangeLog8
-rw-r--r--media-gfx/imageworsener/imageworsener-1.2.0.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/media-gfx/imageworsener/ChangeLog b/media-gfx/imageworsener/ChangeLog
index 3e45af9b8377..749aebe4c1ee 100644
--- a/media-gfx/imageworsener/ChangeLog
+++ b/media-gfx/imageworsener/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/imageworsener
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.22 2014/04/03 14:13:18 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/ChangeLog,v 1.23 2014/04/04 22:00:03 sping Exp $
+
+*imageworsener-1.2.0 (04 Apr 2014)
+
+ 04 Apr 2014; Sebastian Pipping <sping@gentoo.org>
+ +imageworsener-1.2.0.ebuild:
+ Bump to 1.2.0, trivial, license changed to MIT-with-advertising
27 Mar 2014; Samuli Suominen <ssuominen@gentoo.org>
imageworsener-1.0.0.ebuild:
diff --git a/media-gfx/imageworsener/imageworsener-1.2.0.ebuild b/media-gfx/imageworsener/imageworsener-1.2.0.ebuild
new file mode 100644
index 000000000000..206548941de5
--- /dev/null
+++ b/media-gfx/imageworsener/imageworsener-1.2.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/imageworsener/imageworsener-1.2.0.ebuild,v 1.1 2014/04/04 22:00:03 sping Exp $
+
+EAPI=5
+
+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}/${P}.tar.gz"
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jpeg png static-libs 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_enable static-libs static) \
+ $(use_with ${switch} jpeg) \
+ $(use_with ${switch} png) \
+ $(use_with ${switch} webp) \
+ $(use_with ${switch} zlib)
+}
+
+src_install() {
+ default
+ dodoc {changelog,readme,technical}.txt
+ prune_libtool_files
+}
+
+src_test() {
+ cd "${S}"/tests || die
+ ./runtest "${S}"/${MY_PN}
+}