From 01e5c484ead9a9b20bb0ad60b218f67331b672d4 Mon Sep 17 00:00:00 2001 From: haarp Date: Wed, 10 Aug 2022 15:24:40 +0200 Subject: Update pngout Signed-off-by: haarp --- media-gfx/pngout/Manifest | 4 ++-- media-gfx/pngout/pngout-20150319.ebuild | 31 ---------------------------- media-gfx/pngout/pngout-20200115.ebuild | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 33 deletions(-) delete mode 100644 media-gfx/pngout/pngout-20150319.ebuild create mode 100644 media-gfx/pngout/pngout-20200115.ebuild (limited to 'media-gfx') diff --git a/media-gfx/pngout/Manifest b/media-gfx/pngout/Manifest index 47a434b..0eff0c8 100644 --- a/media-gfx/pngout/Manifest +++ b/media-gfx/pngout/Manifest @@ -1,2 +1,2 @@ -DIST pngout-20150319-linux.tar.gz 100621 BLAKE2B 9cc0f3fa2b28f00ad36f3350fe194bf07821c46097f8f530b512c432ba9b183983fd73c9fc282b19db8388d84bb29276c5d8230e7991e392d7fd0f47064845de SHA512 5700fd502c9c717ce8be37aedf0cbc512cc2a9e6197df9ac94bd38755f3c0b627b5acc5f5bf3da5ba8435698871334896876a44a716a0a1b08e685d95df60913 -EBUILD pngout-20150319.ebuild 549 BLAKE2B 0934aa0882f4ec5f396087ce8da82e72fd05603b857166610305f687669234ffa6085820a6cbb10463163c13458222e0d5b1cfb040b23391c9832af1195e6d81 SHA512 fa0585d907df3a5cbcdc05e77668ce80ffc5877faac20fcc09ecc1b41fa178e6480e2e0f39f538d3e3cf45701a4eb791482cbbd9a5eb0a5560296744a3cb9ca1 +DIST pngout-20200115-linux.tar.gz 227885 BLAKE2B c1d74b0334f6e8cb75c53a0cc92a765d6a8d641aa777235ecb8b6e7e1928878c7007c111f0f41580363cb3dbe12e648528aa96e289112224410ed235b3ec7c81 SHA512 68b5878ca21ffba331e5a2a0e4f4ef54e3f2c2b82e38593761c9bb944518f450ce214203b95521965d5c81a904d8805d4c177f48e9bba0c3fd5833b265158b1c +EBUILD pngout-20200115.ebuild 644 BLAKE2B 3a35c86853b301d6e0cb183586cc40897dc4bbbb4048023599d8d2c1e4b229e59c2f3f502fed047c30ba22cea32646e49a5ee5f8f1b7b16a7f827dc8f94a8c58 SHA512 d878fb9efb477fda67a58d6ab3acef557a149cd9d6337dcb06b06f79bba227e3b4d5a447d9d0a8a227c656c4ae7609f8528cba3352aae91e28ce86d641ebb3bc diff --git a/media-gfx/pngout/pngout-20150319.ebuild b/media-gfx/pngout/pngout-20150319.ebuild deleted file mode 100644 index f1f3668..0000000 --- a/media-gfx/pngout/pngout-20150319.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit unpacker - -DESCRIPTION="Optimize the size of .PNG files losslessly" -HOMEPAGE="http://www.jonof.id.au/kenutils" -SRC_URI="http://static.jonof.id.au/dl/kenutils/${P}-linux.tar.gz" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND=${RDEPEND} - -S="${WORKDIR}/${P}-linux" - -QA_PREBUUILT="*" - -src_install() { - exeinto /opt/bin - if use amd64; then doexe x86_64/${PN} - else doexe i686/${PN} - fi - - dodoc readme.txt -} diff --git a/media-gfx/pngout/pngout-20200115.ebuild b/media-gfx/pngout/pngout-20200115.ebuild new file mode 100644 index 0000000..d2165f5 --- /dev/null +++ b/media-gfx/pngout/pngout-20200115.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker + +DESCRIPTION="Optimize the size of .PNG files losslessly" +HOMEPAGE="http://www.jonof.id.au/kenutils" +SRC_URI="http://static.jonof.id.au/dl/kenutils/${P}-linux.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND=${RDEPEND} + +S="${WORKDIR}/${P}-linux" + +QA_PREBUILT="/opt/bin/{$PN}" + +src_install() { + exeinto /opt/bin + + if use amd64; then dir=amd64 + elif use arm; then dir=armv7 + elif use arm64; then dir=aarch64 + else dir=i686 + fi + + doexe "${dir}/${PN}" + + dodoc readme.txt +} -- cgit v1.2.3-65-gdbad