diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 17:40:46 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:11:55 +0100 |
commit | dab035bb2ab3cf382580a6ff31363578a9b75a74 (patch) | |
tree | c1ead00682da3c2bfe8a339124dbfc56cfbb38c9 /media-gfx | |
parent | mail-filter/rblcheck: port to EAPI 7 (diff) | |
download | gentoo-dab035bb2ab3cf382580a6ff31363578a9b75a74.tar.gz gentoo-dab035bb2ab3cf382580a6ff31363578a9b75a74.tar.bz2 gentoo-dab035bb2ab3cf382580a6ff31363578a9b75a74.zip |
media-gfx/pngnq: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-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 | 15 |
3 files changed, 14 insertions, 9 deletions
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 b9d22a702f57..7d5cce6344f9 100644 --- a/media-gfx/pngnq/pngnq-1.1.ebuild +++ b/media-gfx/pngnq/pngnq-1.1.ebuild @@ -1,9 +1,10 @@ # 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 epatch +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 } |