diff options
author | Sebastian Pipping <sping@gentoo.org> | 2022-11-26 21:17:43 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2022-11-26 21:24:29 +0100 |
commit | 4275df2fdd250bb66de8df1f57a1e7799efabd4d (patch) | |
tree | aec47dd808f1c168019c2c90d852969831a2aca1 /media-gfx/imageworsener | |
parent | sys-fs/unionfs-fuse: Drop old (diff) | |
download | gentoo-4275df2fdd250bb66de8df1f57a1e7799efabd4d.tar.gz gentoo-4275df2fdd250bb66de8df1f57a1e7799efabd4d.tar.bz2 gentoo-4275df2fdd250bb66de8df1f57a1e7799efabd4d.zip |
media-gfx/imageworsener: 1.3.5 + EAPI 8 + off virtual/jpeg
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'media-gfx/imageworsener')
-rw-r--r-- | media-gfx/imageworsener/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/imageworsener/imageworsener-1.3.5.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/imageworsener/Manifest b/media-gfx/imageworsener/Manifest index 052f4ea552b4..337af6446bc8 100644 --- a/media-gfx/imageworsener/Manifest +++ b/media-gfx/imageworsener/Manifest @@ -1,2 +1,3 @@ DIST imageworsener-1.3.3.tar.gz 662243 BLAKE2B 6b34dc111c5b2dcc25fdc717b7ec8d4268ca1b67c31cca58b5e1983643f1e3b78543a3bdba24b3692a05cb83a887bfcf0e7b09307535994d280056a0047c8b0d SHA512 ebe8a31819cf665d8d8d7e789d873de03206e74e100ea99b2d8dc6ac2590025ff0058066daeb17ebfaa6cf49222e33c8a9efa83f39f5e2b9b49d27a3ee1b027f DIST imageworsener-1.3.4.tar.gz 665740 BLAKE2B 81e94230871e62dce77e63af7e958058145b1d858380eb9fb2b951c82154d8971eb4ee0a3257f72c519b0b007a23d70c4add70dfdc7e3b77c0f486bfb8c2aed1 SHA512 840cc779496e8279605e94797e27ac60196cf2178b55c8c454e6fab2c64733c057cb51decd7cf99b61dd5d8aef9bb93c397f5f07347b600ad5f996d72300dc3c +DIST imageworsener-1.3.5.tar.gz 674034 BLAKE2B 5070da9536539afed1c4636dfd91816bb5c31e8eed871a55111c3c1008c745e9d09b95ec32dcf157e5fd05e67b74757fd4b019892b5935f94b9542cd61728f7c SHA512 8fa0a73639914b03708ff12830e1185ae74759af3d64db7502dd2a14db1f2102bb9d5c61e079dab2d0f24746420abc815ced14d530915bcbe80ac5e507246594 diff --git a/media-gfx/imageworsener/imageworsener-1.3.5.ebuild b/media-gfx/imageworsener/imageworsener-1.3.5.ebuild new file mode 100644 index 000000000000..123b730a665b --- /dev/null +++ b/media-gfx/imageworsener/imageworsener-1.3.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/3" # because of libimageworsener.so.3.*.* +KEYWORDS="~amd64 ~x86" +IUSE="jpeg png static-libs test webp zlib" + +DEPEND="png? ( media-libs/libpng:0 ) + jpeg? ( media-libs/libjpeg-turbo ) + webp? ( >=media-libs/libwebp-0.1.3 ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND}" + +REQUIRED_USE="test? ( jpeg png webp zlib )" +RESTRICT="!test? ( test )" + +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 + find "${D}" -name '*.la' -delete || die +} + +src_test() { + cd "${S}"/tests || die + ./runtest "${S}"/${MY_PN} +} |