From 848bacf2bc93d9e12fe4b25412ceeebb0ffe0d0a Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Mon, 16 Jun 2025 21:21:26 +0300 Subject: [PATCH] media-gfx/icoutils: update EAPI 7 -> 8 Remove hardcoded m4 files handling, autopoint -f on eautoreconf works same and properly way. Closes: https://bugs.gentoo.org/957703 Signed-off-by: Azamat H. Hackimov Part-of: https://github.com/gentoo/gentoo/pull/42631 Closes: https://github.com/gentoo/gentoo/pull/42631 Signed-off-by: Viorel Munteanu --- media-gfx/icoutils/icoutils-0.32.3-r1.ebuild | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 media-gfx/icoutils/icoutils-0.32.3-r1.ebuild diff --git a/media-gfx/icoutils/icoutils-0.32.3-r1.ebuild b/media-gfx/icoutils/icoutils-0.32.3-r1.ebuild new file mode 100644 index 0000000000000..4a57d36f64ba1 --- /dev/null +++ b/media-gfx/icoutils/icoutils-0.32.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Tools to extract and convert images in icon and cursor files (.ico, .cur)" +HOMEPAGE="http://www.nongnu.org/icoutils/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="nls" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" +RDEPEND=" + >=dev-lang/perl-5.6 + >=dev-perl/libwww-perl-5.64 + media-libs/libpng:0 + virtual/zlib:= + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.29.1-{locale,gettext}.patch + "${FILESDIR}"/${PN}-0.32.3-c23.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + use !elibc_glibc && use !elibc_musl && use nls && append-libs -lintl + econf $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" mkinstalldirs="mkdir -p" install + einstalldocs +}