diff options
author | Sebastian Pipping <sping@gentoo.org> | 2016-09-16 21:23:00 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2016-09-16 21:24:55 +0200 |
commit | f911eb1797113acf790494e73a05320e4d575772 (patch) | |
tree | 292138ca1416f5c6f3fc4315069bac7ebe578954 /media-gfx/imageworsener | |
parent | x11-apps/xvfb-run: 1.18.4_p2 (diff) | |
download | gentoo-f911eb1797113acf790494e73a05320e4d575772.tar.gz gentoo-f911eb1797113acf790494e73a05320e4d575772.tar.bz2 gentoo-f911eb1797113acf790494e73a05320e4d575772.zip |
media-gfx/imageworsener: 1.3.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-gfx/imageworsener')
-rw-r--r-- | media-gfx/imageworsener/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/imageworsener/imageworsener-1.3.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-gfx/imageworsener/Manifest b/media-gfx/imageworsener/Manifest index 137c6db86ff0..0b9dd9d18557 100644 --- a/media-gfx/imageworsener/Manifest +++ b/media-gfx/imageworsener/Manifest @@ -1,3 +1,4 @@ DIST imageworsener-1.2.0.tar.gz 635509 SHA256 97fdb1aafac7bc2339b2ce813071f0900de0b093b96ab1a99a43f9647afdfe35 SHA512 0f46bb4823048f96904fbd2387adbc48a95289d28869e5b48cb5bf5279499417f77e41a8f5408ca0c644b33113a1f8b708040b7d782205479c99314fe6352f60 WHIRLPOOL 83bcfb535068357bb154656ee6b65e80e03dadefa555044934228a078304a6e5e0e39db8505c1e88e92698b0170baa81064d8d605c9d811001842a669785a4f1 +DIST imageworsener-1.3.0.tar.gz 660594 SHA256 2d4e40463658a577056ee17f204aac2a626b291f187f5f6e42b0c4140408d125 SHA512 f98141169bc4427e6ce188fcce3fd41dbc8ee68f29801386972f5a92960d8bbc9c4daa8b0c33e26b3e216baedabdb78031f8131a7a375f001184ecdaf2fb17d6 WHIRLPOOL 0bef8c43a6db2b28839873af7f35a0cfe2554d47de40d9385574f38cf85459e22269ff15c78a31730214e92d2786f40ac85ad5057ddbd046075c382e7842a99b DIST imageworsener-src-0.9.2.tar.gz 211670 SHA256 f9fa780841d9019817a9bcdccecf6652b2900c3ae7e96b63a60420cd3ac27248 SHA512 19c961fcb9212ebc9373d076c09b0f1a403cba418d8abb425f438388f3b69f7d7e6e9b044dc544c77bfbde4a0afbbdc11d846a92f95cc237f84db61092585269 WHIRLPOOL e5e616d356f28a99be14bddb5f59a70d6c59533face790248391b9c7acd820401420677841ed13192b43e10595353a41ee500e6dc342abaf0990310d261f43ea DIST imageworsener-src-1.0.0.tar.gz 609807 SHA256 ccab084b4e3ef4dc2130d34804446e4b7d8eb5e17544122b7e239c60aa45e5cf SHA512 94e01937872bd312d6e0c8c52440099766e3fadd8b8e514fa2915c7f9d08c277c43d1ba51341c4a0df3cd84a73383702bb461ad9d371f1f231ec23d3633da8a6 WHIRLPOOL 518c37c7936fbb0f23d1c304b541758e0a2f88a0de36deeac0fa80d0aff31648c2fb515bd4da5205c2f8a512fb126fb792f6c661fa9ccd6bfe6f46048edf4455 diff --git a/media-gfx/imageworsener/imageworsener-1.3.0.ebuild b/media-gfx/imageworsener/imageworsener-1.3.0.ebuild new file mode 100644 index 000000000000..c407e140e7e9 --- /dev/null +++ b/media-gfx/imageworsener/imageworsener-1.3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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:0 ) + 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} +} |