commit:     bcbd5a83fda8d23191e84f3a56e323c1f0df33cb
Author:     Johannes Huber <johu <AT> gmx <DOT> de>
AuthorDate: Sun Jun  1 15:27:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 16:58:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbd5a83

app-arch/unshield: add 1.6.2

Closes: https://bugs.gentoo.org/955167
Signed-off-by: Johannes Huber <johu <AT> gmx.de>
Part-of: https://github.com/gentoo/gentoo/pull/42388
Closes: https://github.com/gentoo/gentoo/pull/42388
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/unshield/Manifest              |  1 +
 app-arch/unshield/unshield-1.6.2.ebuild | 36 +++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/app-arch/unshield/Manifest b/app-arch/unshield/Manifest
index a91788422420..bdb75e592dbd 100644
--- a/app-arch/unshield/Manifest
+++ b/app-arch/unshield/Manifest
@@ -1 +1,2 @@
 DIST unshield-1.5.1.tar.gz 67454 BLAKE2B 
7def714e8d74312de8b822b0add92a803fadda0394252587219c7379791ec33680bf9430c6811e71354fd2e9ccc91e28697e31a2377ecc16aa43edea1ce30e57
 SHA512 
acb130c461bed66dc3804394be067a68aea96a7cd20b348e713f64a11bf642b74f68fc172f220a9790b44573abbe01ed4585191158f27c40e863918a7342c1ca
+DIST unshield-1.6.2.tar.gz 42833 BLAKE2B 
050902f4493197b2fde13cd587c99f29a66ad92280239b625a943e8172c117b8ce2da2e3ec95fa3d00e137f6422fe3ae40f118ece93d3488fcd1adb518ed2ced
 SHA512 
fd3b604e8aa3347a1dc58396d6b9a74b167718908a7f3419dce0a57caaa5d67c3e816da74f05d6690707d09348f9898ea321a80e85a01717eedbf18e60abb3d4

diff --git a/app-arch/unshield/unshield-1.6.2.ebuild 
b/app-arch/unshield/unshield-1.6.2.ebuild
new file mode 100644
index 000000000000..6e5a9468b60d
--- /dev/null
+++ b/app-arch/unshield/unshield-1.6.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="InstallShield CAB file extractor"
+HOMEPAGE="https://github.com/twogood/unshield";
+SRC_URI="https://github.com/twogood/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+
+DEPEND="
+       dev-libs/openssl:0=
+       sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               # OpenSSL is detected at build time, and used to determine
+               # whether or not a hand-rolled md5 implementation is used. The 
build
+               # system prefers OpenSSL's implementation if it's available, 
and OpenSSL
+               # is common enough, so we prefer it too. Since the dependency is
+               # automagic (there's no way to hide it), we require OpenSSL
+               # unconditionally.
+               -DUSE_OUR_OWN_MD5=OFF
+               # test not included in tar file
+               # TODO: check in future releases
+               -DBUILD_TESTING=OFF
+       )
+
+       cmake_src_configure
+}

Reply via email to