diff options
author | Sam James <sam@gentoo.org> | 2020-11-20 14:47:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-20 14:47:51 +0000 |
commit | 7320f67eb4dbc13d3f123a99948b9d2d02ad0a63 (patch) | |
tree | eba082af5dd536a0f1dfa5a961aba9f38678e7a0 /app-arch/innoextract | |
parent | dev-cpp/eigen: Stabilize 3.3.7-r1 amd64, #738380 (diff) | |
download | gentoo-7320f67eb4dbc13d3f123a99948b9d2d02ad0a63.tar.gz gentoo-7320f67eb4dbc13d3f123a99948b9d2d02ad0a63.tar.bz2 gentoo-7320f67eb4dbc13d3f123a99948b9d2d02ad0a63.zip |
app-arch/innoextract: bump to 1.9
Bug: https://bugs.gentoo.org/738742
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/innoextract')
-rw-r--r-- | app-arch/innoextract/Manifest | 1 | ||||
-rw-r--r-- | app-arch/innoextract/files/innoextract-1.9-fix-linkage.patch | 17 | ||||
-rw-r--r-- | app-arch/innoextract/innoextract-1.9.ebuild | 37 |
3 files changed, 55 insertions, 0 deletions
diff --git a/app-arch/innoextract/Manifest b/app-arch/innoextract/Manifest index 149c2f7dd31a..571b0bdaa20b 100644 --- a/app-arch/innoextract/Manifest +++ b/app-arch/innoextract/Manifest @@ -1,2 +1,3 @@ DIST innoextract-1.7.tar.gz 195123 BLAKE2B 5dffb49da7ec3f8e48a70d0809e059179e84610dd50397b8ca472b9f5a96a5edd0cf36898f0e513b3f70685829e2b8edbd7d7932c9f1b47706c2929f596867e5 SHA512 5e92625a411a4351dd4639d4b63e8664519c6697122a0679c010412e94a1e5da95324c33be16211f91c2b25b8cea40fe4ba4da5e19c12d0c27a4916159465ca4 DIST innoextract-1.8.tar.gz 205553 BLAKE2B 223f0997ae00f2a854912befca25595b275ece8e0fe4f4451d6aa3db14ad1ed98474a19c919c56d958e99c0175be647d3eb3c14d7869504405a7bf6db3a35957 SHA512 2c68009333f02a8a677c084e9c95c835d84a73e60c9b0c70fee5f23fd9a7a640cf2aa7e0476c55579774ac7079498fa24668f9388493bbc13415ff5a5b06ac9c +DIST innoextract-1.9.tar.gz 206931 BLAKE2B 1d5f0d13a7cd52262b277263f061ecab85a3419197bceb22938a0d10000578603cc2c2b972a45474027cfea8e43b8bf89d680035034785210842477b147811fa SHA512 2b18f7bb7f50744bcb1bdcd25e57e0760193b179c77b55e0f63c537e55afc98de3b0380da3cae470ce97660ed41a7ffbb48c8c25329c9ce9b3811d9aec74bcde diff --git a/app-arch/innoextract/files/innoextract-1.9-fix-linkage.patch b/app-arch/innoextract/files/innoextract-1.9-fix-linkage.patch new file mode 100644 index 000000000000..79ecd805f49d --- /dev/null +++ b/app-arch/innoextract/files/innoextract-1.9-fix-linkage.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index be9f08f..f7ce42a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -316,12 +316,6 @@ if(NOT MSVC) + + endif() + +-if($ENV{PORTAGE_REPO_NAME} MATCHES "gentoo") +- # Meh +- unset(LIBRARIES) +-endif() +- +- + # All sources: + + set(DOCUMENTATION 0) # never build these diff --git a/app-arch/innoextract/innoextract-1.9.ebuild b/app-arch/innoextract/innoextract-1.9.ebuild new file mode 100644 index 000000000000..4067b8b4a685 --- /dev/null +++ b/app-arch/innoextract/innoextract-1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A tool to unpack installers created by Inno Setup" +HOMEPAGE="https://constexpr.org/innoextract/" +SRC_URI="https://constexpr.org/innoextract/files/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug +iconv +lzma" + +RDEPEND=" + dev-libs/boost:=[bzip2,zlib] + iconv? ( virtual/libiconv ) + lzma? ( app-arch/xz-utils )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-1.9-fix-linkage.patch" +) + +src_configure() { + local mycmakeargs=( + -DDEBUG=$(usex debug) + -DSET_OPTIMIZATION_FLAGS=OFF + -DSTRICT_USE=ON + -DUSE_LZMA=$(usex lzma) + -DWITH_CONV=$(usex iconv iconv builtin) + ) + + cmake_src_configure +} |