commit:     16aa68aa13ed1b09e955f838470dd468227af45e
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Feb  2 07:19:01 2023 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 19:45:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16aa68aa

app-arch/upx: add 4.0.2

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 app-arch/upx/Manifest         |  1 +
 app-arch/upx/upx-4.0.2.ebuild | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/app-arch/upx/Manifest b/app-arch/upx/Manifest
index 05cc0c7a1149..c06784b73e2c 100644
--- a/app-arch/upx/Manifest
+++ b/app-arch/upx/Manifest
@@ -1 +1,2 @@
 DIST upx-4.0.1-src.tar.xz 1154032 BLAKE2B 
0da23cedf73506e06e5dcf19ab0d194d8e578188bb4d75e760fe3f7dc7f24a9d42ff4b75fd9514162f48ae7cfad347b5bd65789805071354a74129960807843b
 SHA512 
f2e42c83fd4a0d273a20c8b0f0d1eb201edcd1f10c779d2a6e8ac0812741c3af0c887382e54894190ecc4c7002a910524b2ed79ae7a7b595b8392598ad2e1235
+DIST upx-4.0.2-src.tar.xz 1191960 BLAKE2B 
d1b111d886498628174653e2184bb648862986c6b65441a31ccbbd5360d9fd04d2d8b6cb276111cf4726f38aba0a3cd2c42b6fd62caba69a7996a4e59a5471ca
 SHA512 
0aafbaf97a25e9cd1866d03358f5eceab2c0ba4b2f3acdd58178b41c32af58335b6cb843d83f3398d4ceedc238bfcd95f86a20c38a11d5e4e8af6a28c7e8b82e

diff --git a/app-arch/upx/upx-4.0.2.ebuild b/app-arch/upx/upx-4.0.2.ebuild
new file mode 100644
index 000000000000..e6cb58a6ff24
--- /dev/null
+++ b/app-arch/upx/upx-4.0.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Ultimate Packer for eXecutables (free version using UCL 
compression and not NRV)"
+HOMEPAGE="https://upx.github.io/";
+SRC_URI="https://github.com/upx/upx/releases/download/v${PV}/${P}-src.tar.xz";
+S="${WORKDIR}/${P}-src"
+
+LICENSE="GPL-2+ UPX-exception" # Read the exception before applying any patches
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="!app-arch/upx-bin"
+BDEPEND="app-arch/xz-utils[extra-filters]"
+
+src_configure() {
+       local mycmakeargs=(
+               -DUPX_CONFIG_DISABLE_WERROR=ON
+       )
+       cmake_src_configure
+}
+
+src_test() {
+       # Don't run tests in parallel, #878977
+       cmake_src_test -j1
+}

Reply via email to