summaryrefslogtreecommitdiff
path: root/media-gfx/pngcrush
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /media-gfx/pngcrush
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/Manifest5
-rw-r--r--media-gfx/pngcrush/metadata.xml3
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.13.ebuild20
3 files changed, 9 insertions, 19 deletions
diff --git a/media-gfx/pngcrush/Manifest b/media-gfx/pngcrush/Manifest
index fb5c976065a0..b0554c681a9e 100644
--- a/media-gfx/pngcrush/Manifest
+++ b/media-gfx/pngcrush/Manifest
@@ -1,4 +1,3 @@
DIST pngcrush-1.8.13-nolib.tar.xz 66104 BLAKE2B dad0bce2e8f2a135d085343da98ebecfb78a6b05019d43be1b0b1f940ce23ffa980bcb08e8948b6b8cc3efc04bc6ae92a0b9cf8ea8183e27eebfae4c6c48e31e SHA512 c073d573e9b13b72fa39b178271ce65d1a19fef35943ef0a9e6121a5c66d9db212aaad38ab777c5b44e20a107eb677003acbdb4a354bcb2dc40f535a97d9df0e
-DIST pngcrush-1.8.13.tar.xz 404564 BLAKE2B 6e3e9556b40f5616a488cd4d0fbbe788b31d965b748222383741e9dc0c8fe7c12880b2d2a39ef35aa41adbab1fa9f49e7272dadfbe74cc712a7b810a9787d9af SHA512 5fdb7913ec8c90af63d68477f4031c9008dac0d7f4bfd7bd47e971d218e3ef8b0e1a8bf6ba0f5d2cc4c2682c9297efb4f738b11538ad306eee5d01277ce3f628
-EBUILD pngcrush-1.8.13.ebuild 841 BLAKE2B ce17d0b700d15988c1fb6ca53a0ae0243cc12e2395d25f0886b7f7cf602e1b47d7fbe3e5d118caddfdb3d77e34ff920fc9942bd16a0dbba9d18f3523fbcf90a3 SHA512 8e2e674d1341462d4cdc3fc3c19de79a09319d5b7bda36b7c5b6ee730f71b27ae8694e295879ec9e50189e82d2d2682333afc1efa0d15f0e27e4fe6bdddc4cbb
-MISC metadata.xml 584 BLAKE2B c72f94d85607da1692a3cbde638df27677ed0e5a6ed3db8ac8df0254625e888ccb3bd5a4d412e83388f4be904dad5aeb950acfcc783ec7c18efbcb81080b9ab6 SHA512 d688f54bfe67a570b86fa61bca6ca93330a2cace31dddf619aabbbd72ec5d81fe3303c9837f01e79ed9bdf3e4f8a2bbc997ae968c33df7cf0a0985914cee2de1
+EBUILD pngcrush-1.8.13.ebuild 735 BLAKE2B d967fe468e6b852ee6982221bf42ff34a7494fee31677bacf585d30a4e33a05bb087a46607061fc9b0638e70b3c4c059e75e64db1c04fe7aab6b2d81b6d00c9b SHA512 28efe8f74e071ec5b6dce77114d4b2fc0d55e29ef0ffa3f3519a4722bb84e607baaa7de958c9f4746d9b0fb6d839d8a388a33bb38c2a4c895e9ac48556973d28
+MISC metadata.xml 496 BLAKE2B 82f643a07a4a3e7e3dd7e1cd52e36c66f0b945fdcfb6ec423220cce5286f76fe3ccce7c2d20e33259c7688320ba252914bf7b29dae0b59fcc0e9e4cd1c204745 SHA512 6991a3d0f64d838920ab4828f762f7304efdea7df088f87e57dca0315708813d223af9fe831f0c8eddde6462f4f3b6dada6e4b1903bf2d772352bf1ec7ce78ec
diff --git a/media-gfx/pngcrush/metadata.xml b/media-gfx/pngcrush/metadata.xml
index 5081ca62df6c..fd6dd7f9aac7 100644
--- a/media-gfx/pngcrush/metadata.xml
+++ b/media-gfx/pngcrush/metadata.xml
@@ -13,7 +13,4 @@
<bugs-to>https://sourceforge.net/p/pmt/bugs/</bugs-to>
<remote-id type="sourceforge">pmt</remote-id>
</upstream>
- <use>
- <flag name="system-libs">Use libpng and libz provided by system</flag>
- </use>
</pkgmetadata>
diff --git a/media-gfx/pngcrush/pngcrush-1.8.13.ebuild b/media-gfx/pngcrush/pngcrush-1.8.13.ebuild
index 0d7eb8c3b769..5f8886dfc50a 100644
--- a/media-gfx/pngcrush/pngcrush-1.8.13.ebuild
+++ b/media-gfx/pngcrush/pngcrush-1.8.13.ebuild
@@ -2,29 +2,23 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
HOMEPAGE="https://pmt.sourceforge.io/pngcrush/"
-SRC_URI="system-libs? ( mirror://sourceforge/pmt/${P}-nolib.tar.xz )
- !system-libs? ( mirror://sourceforge/pmt/${P}.tar.xz )"
+SRC_URI="mirror://sourceforge/pmt/${P}-nolib.tar.xz"
LICENSE="pngcrush"
SLOT="0"
-KEYWORDS="~alpha amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="+system-libs"
-
-RDEPEND="
- system-libs? (
- media-libs/libpng:0=
- sys-libs/zlib:=
- )"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND="media-libs/libpng:0=
+ sys-libs/zlib:="
DEPEND="${RDEPEND}
app-arch/xz-utils"
-pkg_setup() {
- use system-libs && S+="-nolib"
-}
+S="${WORKDIR}"/${P}-nolib
src_compile() {
emake \