diff options
Diffstat (limited to 'media-gfx/pngnq')
-rw-r--r-- | media-gfx/pngnq/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/pngnq/files/pngnq-1.0-libpng14.patch | 4 | ||||
-rw-r--r-- | media-gfx/pngnq/files/pngnq-1.0-libpng15.patch | 4 | ||||
-rw-r--r-- | media-gfx/pngnq/pngnq-1.1.ebuild | 17 |
4 files changed, 18 insertions, 13 deletions
diff --git a/media-gfx/pngnq/Manifest b/media-gfx/pngnq/Manifest index a1997ec6e2e5..0269b64ac043 100644 --- a/media-gfx/pngnq/Manifest +++ b/media-gfx/pngnq/Manifest @@ -1,5 +1,5 @@ -AUX pngnq-1.0-libpng14.patch 378 BLAKE2B b9bb0babb5bd6152c8c9cba7149641f55dd6a424ef153b46112769db564c86c01e49a6eb9145c206262d1765b5f9f82aade789419d6a21b2cfdc49323bb49305 SHA512 7a91550806ecc84bb5646b8a654f26d059ed253389626f5069de9e43b0667d2e2c3ee7a94efa96e908b1083d9af5efb80f942a78b6547b0bca8827c245f154fa -AUX pngnq-1.0-libpng15.patch 355 BLAKE2B e5d2a1e28efaf677f4fcee58deb6743c29c546acfe905d3858e6f9da239f69e6d30f0beb9cffd55b50323f902441c687c44ff9f5e6d62d318a92bdd6fc20c58d SHA512 5ae6782a36bff27560318d5ca98101a49c0d66db71682d4976407af18e637740c68c1eb4b609d1b301e23d3dd62ef4a8bbe180f941e5333e91e17d900f66e96c +AUX pngnq-1.0-libpng14.patch 382 BLAKE2B e85fbdccf1765efff65b638dccab6d3e5afa83aa6782f8be8188414985e18000bb68273e2250d2063eac56bca4f1e0481dadf747fc05e94f1d340eb21cdfdc59 SHA512 4194becadf43c3e8c1d63a15e3de1118c386dab4e4e7e6e5622dbc896d3c1cab5ffaac6f6f8c7a504fdf303bb6c0fad44351e7d89b304cd3c4d15908e347fe4f +AUX pngnq-1.0-libpng15.patch 359 BLAKE2B f031f310aed6a30ed48e8e0754f3e392ccbc2fe9a929443885f3e2f040fb081f5122d6e1c9b89e63bdc0594051faebdcf53e5085a01b1520f256e60d1e06e9b6 SHA512 e2542833a6950b8e8ab09a9973a0df237d5667ce9d75b2e909485398d38517bd7d7d0237d8b1c3875c4538a6157219870cf6c7e29a98e6a1dbb93d11476d1059 DIST pngnq-1.1.tar.gz 117372 BLAKE2B 94c670342d514c577c386b8fe207307f057e5c0c3816b35ab2b625258051269410b9c5ad45f89c047715bb1ad927909498a6faef5591eb61039fd68c94fc44a6 SHA512 3bbc4ace1375517a7a73bbc65ff39512ef316e4b67fc3941cd0b7269e584a26f915f30591f8aa1c44eea73fe4ebe9519063a7bc426841e412c648aaa188be234 -EBUILD pngnq-1.1.ebuild 541 BLAKE2B 0cb65094d6077bf8fe9a4d37e5acdcd67622920af11c23134dff94e01eb632afafb24771dfa79ac7a95f08c7dbed2449b2a0824a03a99e488fa33606c2fbdbf5 SHA512 2c6c8e8f6b8e06945c36bd9532855e2da452f44c9796c347807ba99a8beb734d5643ce0ff195b0c09cfd4711e50b2fe0ed2e7e4ced37a9fef674c11220e9ce1e +EBUILD pngnq-1.1.ebuild 542 BLAKE2B 034bc177d9d3b5cdd4c957abd3b2c33f3704187d7cdf53beffa4fd65422484774b315cdcdacc7e30359f110829c5ca46aa4b8da7cfdccee6c40961f56f6976fe SHA512 33a67929a65e92063da4f266f0c496ec12109fe620abf737b6fb32b323df9acf06fcd1d1513e4c463d22f031996a32ece5677a0d9a78aa5cf19d204144b19460 MISC metadata.xml 242 BLAKE2B 3a91325709735643b586ce59973577915db70517caeede4f75c3e1363c35faf2a691c693666f8eeffa5609fd0d84bbb66ab368d163edb3e9fbc9cfcf25e0b7d2 SHA512 8490ed93a302cb46556d266836db2d7c6a317b2dd903cfcde06b8fb9d1455b925cd6114f41acac1175e1da6a707bf9f0ab5737d9b52936fb4e75974fd8e8d60a diff --git a/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch b/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch index e2eb9c8972e5..effef6d9d069 100644 --- a/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch +++ b/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch @@ -1,7 +1,7 @@ http://aur.archlinux.org/packages.php?ID=10325 ---- src/rwpng.c -+++ src/rwpng.c +--- a/src/rwpng.c ++++ b/src/rwpng.c @@ -80,7 +80,7 @@ * have used slightly more general png_sig_cmp() function instead */ diff --git a/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch b/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch index 7590431dcd3a..7f791fc109ad 100644 --- a/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch +++ b/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch @@ -1,5 +1,5 @@ ---- src/rwpng.c -+++ src/rwpng.c +--- a/src/rwpng.c ++++ b/src/rwpng.c @@ -31,8 +31,9 @@ #include <stdio.h> diff --git a/media-gfx/pngnq/pngnq-1.1.ebuild b/media-gfx/pngnq/pngnq-1.1.ebuild index d2580bf868b5..7d5cce6344f9 100644 --- a/media-gfx/pngnq/pngnq-1.1.ebuild +++ b/media-gfx/pngnq/pngnq-1.1.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + WANT_AUTOMAKE=1.13 -inherit autotools eutils +inherit autotools DESCRIPTION="Pngnq is a tool for quantizing PNG images in RGBA format" HOMEPAGE="http://pngnq.sourceforge.net/" @@ -12,14 +13,18 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD pngnq rwpng" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" RDEPEND="media-libs/libpng:0=" -DEPEND=${RDEPEND} +DEPEND="${RDEPEND}" DOCS=( NEWS README ) +PATCHES=( + "${FILESDIR}"/${PN}-1.0-libpng1{4,5}.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-1.0-libpng1{4,5}.patch + default + eautoreconf } |