commit:     79a3d520db2a6a2e133367faf4a663eaf00009a6
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Tue Dec 16 21:38:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 16 21:47:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79a3d520

app-emulation/hercules-sdl-decnumber: add 4.9.1

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Part-of: https://github.com/gentoo/gentoo/pull/45052
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../hercules-sdl-decnumber-4.9.1.ebuild            | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git 
a/app-emulation/hercules-sdl-decnumber/hercules-sdl-decnumber-4.9.1.ebuild 
b/app-emulation/hercules-sdl-decnumber/hercules-sdl-decnumber-4.9.1.ebuild
new file mode 100644
index 000000000000..192a63d09da4
--- /dev/null
+++ b/app-emulation/hercules-sdl-decnumber/hercules-sdl-decnumber-4.9.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake dot-a
+
+# Use ../hercules-sdl/files/gen_hashes.sh to identify the relevant
+# commit when tagging new versions.
+COMMIT="995184583107625015bb450228a5f3fb781d9502"
+
+DESCRIPTION="ANSI C General Decimal Arithmetic Library"
+HOMEPAGE="https://github.com/SDL-Hercules-390/decNumber";
+SRC_URI="https://github.com/SDL-Hercules-390/decNumber/archive/${COMMIT}.tar.gz
 -> ${PN}-${COMMIT}.tar.gz"
+
+S="${WORKDIR}/decNumber-${COMMIT}"
+LICENSE="icu"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+PATCHES=( "${FILESDIR}/cmakefix.patch" )
+
+src_configure() {
+       lto-guarantee-fat
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+       strip-lto-bytecode
+}

Reply via email to