commit: 794d70c54d8537c4237ad69c0f90b28b216fa8c1 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Tue Jan 2 15:38:24 2024 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Jan 7 00:19:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794d70c5
app-arch/upx: add 4.2.1 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> app-arch/upx/Manifest | 1 + app-arch/upx/upx-4.2.1.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/app-arch/upx/Manifest b/app-arch/upx/Manifest index 9cd3537beeb4..ac1b6779ca31 100644 --- a/app-arch/upx/Manifest +++ b/app-arch/upx/Manifest @@ -1,2 +1,3 @@ DIST upx-4.0.2-src.tar.xz 1191960 BLAKE2B d1b111d886498628174653e2184bb648862986c6b65441a31ccbbd5360d9fd04d2d8b6cb276111cf4726f38aba0a3cd2c42b6fd62caba69a7996a4e59a5471ca SHA512 0aafbaf97a25e9cd1866d03358f5eceab2c0ba4b2f3acdd58178b41c32af58335b6cb843d83f3398d4ceedc238bfcd95f86a20c38a11d5e4e8af6a28c7e8b82e 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 diff --git a/app-arch/upx/upx-4.2.1.ebuild b/app-arch/upx/upx-4.2.1.ebuild new file mode 100644 index 000000000000..df37e7e83714 --- /dev/null +++ b/app-arch/upx/upx-4.2.1.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 +}
