commit:     c8db9aacd6e9aa14f8e07d37449ffb38ce8abcfa
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Tue Feb  6 16:17:27 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 09:03:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8db9aac

app-arch/upx: add 4.2.2

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/app-arch/upx/Manifest b/app-arch/upx/Manifest
index 09c68e2acecf..0d8a3fd6bc60 100644
--- a/app-arch/upx/Manifest
+++ b/app-arch/upx/Manifest
@@ -1,2 +1,3 @@
 DIST upx-4.1.0-src.tar.xz 1267708 BLAKE2B 
ef7884028a97b1d7e542fc27756b705582786a22d193b1eef40d0db16580958baddc3baa44429b5ba2c0f7b5d4d0f4f79fdeb777af016b962b07c7639a319090
 SHA512 
de8306e833198d7f470c050b05c6111a50ea94f2e757c1006433742871ccd93fd7412f942cd776e9eac6c91e379545d72f070f3fe928e75e5d5092b766474f8c
 DIST upx-4.2.1-src.tar.xz 1278288 BLAKE2B 
3bc879a43fc49399e5acbf37481e731b2174d755fc66ed55aefc9c46f9c9c13eb0fb3dcc5f00a77763a5823cb8d34ba090e4a7b6660e61a7799b9b1cb4693a96
 SHA512 
8c377b61aa5076435807b0f0207502ea1ca635a9e90a2a62f24a8f11e928160546540114cd2b8e2656baa2f99dd58a33fc6aafc58c221704fc70d29fc12e2bbe
+DIST upx-4.2.2-src.tar.xz 1275320 BLAKE2B 
747d8e9543325cafd368d5b47e7a90bfef042a80a58ad0fc1eba798716cebe16ef91645e436fd9506a3c8fe58aa28852437a81e4058afbb213284a4a2475c828
 SHA512 
03885abfd1db899ea21e9469068dbe046e4817de461e36a6c8a77f6a98f8ccaf00c95846ad3b13e59a5e037ce2f2bed7bea599396968e0aeb7ba5fce1b374a9b

diff --git a/app-arch/upx/upx-4.2.2.ebuild b/app-arch/upx/upx-4.2.2.ebuild
new file mode 100644
index 000000000000..df37e7e83714
--- /dev/null
+++ b/app-arch/upx/upx-4.2.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2024 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