From 56d70180b363f15bebcef15638a8464db5074fe9 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 10 Jul 2022 12:38:29 +0200 Subject: app-arch/unace: update EAPI 6 -> 8 Closes: https://bugs.gentoo.org/716126 Signed-off-by: David Seifert --- app-arch/unace/files/unace-2.5-includes.patch | 10 +++++++++ app-arch/unace/unace-2.5-r5.ebuild | 28 ----------------------- app-arch/unace/unace-2.5-r6.ebuild | 32 +++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 28 deletions(-) create mode 100644 app-arch/unace/files/unace-2.5-includes.patch delete mode 100644 app-arch/unace/unace-2.5-r5.ebuild create mode 100644 app-arch/unace/unace-2.5-r6.ebuild diff --git a/app-arch/unace/files/unace-2.5-includes.patch b/app-arch/unace/files/unace-2.5-includes.patch new file mode 100644 index 000000000000..ca272a185041 --- /dev/null +++ b/app-arch/unace/files/unace-2.5-includes.patch @@ -0,0 +1,10 @@ +--- a/source/base/all/uninorm/unincore.c ++++ b/source/base/all/uninorm/unincore.c +@@ -19,6 +19,7 @@ + #include + #include "base/all/includes.h" /* BASE_LFN_MAXLEN */ + #include "unidata.h" ++#include "unincore.h" + + /* Hangul constants */ + #define SBase 0xAC00 diff --git a/app-arch/unace/unace-2.5-r5.ebuild b/app-arch/unace/unace-2.5-r5.ebuild deleted file mode 100644 index fd5a75cbe2f2..000000000000 --- a/app-arch/unace/unace-2.5-r5.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -DEB_VER="9" -DESCRIPTION="ACE unarchiver" -HOMEPAGE="http://www.winace.com/" -SRC_URI="mirror://debian/pool/non-free/u/unace-nonfree/unace-nonfree_${PV}.orig.tar.gz - mirror://debian/pool/non-free/u/unace-nonfree/unace-nonfree_${PV}-${DEB_VER}.debian.tar.xz" - -LICENSE="freedist" -SLOT="1" -KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux ~sparc-solaris" -IUSE="" - -PATCHES=( "${WORKDIR}"/debian/patches/ ) - -src_configure() { - tc-export CC -} - -src_install() { - dobin unace - doman "${WORKDIR}"/debian/manpage/unace.1 -} diff --git a/app-arch/unace/unace-2.5-r6.ebuild b/app-arch/unace/unace-2.5-r6.ebuild new file mode 100644 index 000000000000..f8dbaf5919a5 --- /dev/null +++ b/app-arch/unace/unace-2.5-r6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DEB_VER="9" + +DESCRIPTION="ACE unarchiver" +HOMEPAGE="http://www.winace.com/" +SRC_URI=" + mirror://debian/pool/non-free/u/unace-nonfree/unace-nonfree_${PV}.orig.tar.gz + mirror://debian/pool/non-free/u/unace-nonfree/unace-nonfree_${PV}-${DEB_VER}.debian.tar.xz" + +LICENSE="freedist" +SLOT="1" +KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux ~sparc-solaris" + +PATCHES=( + "${WORKDIR}"/debian/patches/ + "${FILESDIR}"/${P}-includes.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + dobin unace + doman "${WORKDIR}"/debian/manpage/unace.1 +} -- cgit v1.2.3-65-gdbad