diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2024-08-13 14:28:26 +0300 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-08-26 09:12:20 -0400 |
commit | 9b29fa576209dbc833762cbd44f6daa4684c7c2c (patch) | |
tree | 8fe60864fe9f09bf65c30d60a03f82cefa01516e /app-arch/upx | |
parent | plasma-mobile.kde.org.eclass: Mark as DEAD (diff) | |
download | gentoo-9b29fa576209dbc833762cbd44f6daa4684c7c2c.tar.gz gentoo-9b29fa576209dbc833762cbd44f6daa4684c7c2c.tar.bz2 gentoo-9b29fa576209dbc833762cbd44f6daa4684c7c2c.zip |
app-arch/upx: add 4.2.4
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'app-arch/upx')
-rw-r--r-- | app-arch/upx/Manifest | 1 | ||||
-rw-r--r-- | app-arch/upx/upx-4.2.4.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-arch/upx/Manifest b/app-arch/upx/Manifest index 58606ce802e6..c174390511da 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.3-src.tar.xz 1283824 BLAKE2B 2b53bf68196c35c05eb930760ad20446fbcde9b15e1e9261e2eb7553dc1c8ede48db952cd7c5bc6de5861ac98f9f62bb1d348806731fea7dad1e532fc7e1e636 SHA512 b9ebda5d3372132bb861e0dd035829b16e4c06900f68af182895f17975493707d78cbabc63060e581de1ce149bb5129d883f6e6abcde0413c0bf474db919f5fd +DIST upx-4.2.4-src.tar.xz 1284804 BLAKE2B 510155b7c44fe71ecbee6479e41f61e849cd1575a74499076099f8fe4dae4cc11bb75151bbcac605762c61a4ef586a20c8db2674eafbd8cef12a511c44ff287b SHA512 fc833dea010cb65a9a7b6fbf80021c98d8c112b55fa54101f3d39f09d049d75d89024206a28262996c08f253130917811736f7f546fa8743703bc86a2dbd33a5 diff --git a/app-arch/upx/upx-4.2.4.ebuild b/app-arch/upx/upx-4.2.4.ebuild new file mode 100644 index 000000000000..b8b1c533287c --- /dev/null +++ b/app-arch/upx/upx-4.2.4.ebuild @@ -0,0 +1,34 @@ +# 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" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="!app-arch/upx-bin" +BDEPEND="app-arch/xz-utils[extra-filters(+)]" + +src_configure() { + local mycmakeargs=( + -DUPX_CONFIG_DISABLE_GITREV=ON + -DUPX_CONFIG_DISABLE_WERROR=ON + -DUPX_CONFIG_CMAKE_DISABLE_TEST=$(usex !test) + ) + cmake_src_configure +} + +src_test() { + # Don't run tests in parallel, #878977 + cmake_src_test -j1 +} |