commit: 0ccfddc077232e250dc66c5191d8c6f2b6282f01 Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk> AuthorDate: Tue Oct 14 05:08:10 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Oct 14 20:04:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ccfddc0
app-emulation/hercules-sdl-crypto: add 4.9.0 Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk> Part-of: https://github.com/gentoo/gentoo/pull/44171 Signed-off-by: Sam James <sam <AT> gentoo.org> .../hercules-sdl-crypto-4.9.0.ebuild | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.9.0.ebuild b/app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.9.0.ebuild new file mode 100644 index 000000000000..507e658e9cce --- /dev/null +++ b/app-emulation/hercules-sdl-crypto/hercules-sdl-crypto-4.9.0.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="9ac58405c2b91fb7cd230aed474dc7059f0fcad9" + +DESCRIPTION="Simple AES/DES encryption and SHA1/SHA2 hashing library" +HOMEPAGE="https://github.com/SDL-Hercules-390/crypto" +SRC_URI="https://github.com/SDL-Hercules-390/crypto/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" + +S="${WORKDIR}/crypto-${COMMIT}" +LICENSE="public-domain MIT BSD" +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 +}
