Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unshield/files/, app-arch/unshield/
Date: Wed, 08 May 2019 17:05:24
Message-Id: 1557335013.eb28e7699f4f12ecd42c8412e16f4386257f3990.asturm@gentoo
1 commit: eb28e7699f4f12ecd42c8412e16f4386257f3990
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 5 18:12:37 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 8 17:03:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb28e769
7
8 app-arch/unshield: 1.4.3 version bump, EAPI-7 bump
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-arch/unshield/Manifest | 1 +
14 .../unshield/files/unshield-1.4.3-mandir.patch | 21 +++++++++++++++
15 app-arch/unshield/unshield-1.4.3.ebuild | 30 ++++++++++++++++++++++
16 3 files changed, 52 insertions(+)
17
18 diff --git a/app-arch/unshield/Manifest b/app-arch/unshield/Manifest
19 index bc3be3fedff..359f39ecaaa 100644
20 --- a/app-arch/unshield/Manifest
21 +++ b/app-arch/unshield/Manifest
22 @@ -1,2 +1,3 @@
23 DIST unshield-1.4.2.tar.gz 46051 BLAKE2B 76e8e724916f5c43c84b17db34f2c5905f99fe424679b9c9fef76e1892d0a2f90e6c195f1a02a8446473860578c34678e395f65cf5973019ed7be5d3dea14e84 SHA512 3ddd5df47198adade66acf89644efe3a1c87d60fcdf511f8e5c1fb29bbb07e77a9abc57a05b161ecb54a26a2a86242bbcba6e90df770b1325965ff5aa8eddf58
24 +DIST unshield-1.4.3.tar.gz 58822 BLAKE2B 89e23462610d7ffd25358cb1d9f234b5c80a580deb60e85610ddacc8e3aa92420cb0e885e80375089e93786565824813f23c54f7c4d60b7773f23d174c98e5d7 SHA512 2f058e0a28d0497e2afe231ded1b1bb16745401398eb1035e628d263351b10a1343c9664f3937b8912755db9dc5236a1b43e9bcba596affb7aa8b036f49382aa
25 DIST unshield-1.4.tar.gz 37199 BLAKE2B 7f32cdbac3dca8e5e7dfca7e9ae7d12066b0484a8e75f611af173ec12dfd03dfd0ee7b79d05e3c7fb45a3285bbbfacf6020ad100907345a1501b3a8de81c81bc SHA512 b09c29fa8e5785f2ca90b40105304802d00d201dde42ef4f5e4b5504ca8edf10da426c7ed1daa8c0685980f085eb20437162812a2068a0c03c0dfd240edbf944
26
27 diff --git a/app-arch/unshield/files/unshield-1.4.3-mandir.patch b/app-arch/unshield/files/unshield-1.4.3-mandir.patch
28 new file mode 100644
29 index 00000000000..49f634fa863
30 --- /dev/null
31 +++ b/app-arch/unshield/files/unshield-1.4.3-mandir.patch
32 @@ -0,0 +1,21 @@
33 +From cf53f87fae324e1a4c5d9ebd49b88947a9b02267 Mon Sep 17 00:00:00 2001
34 +From: Dan Church <amphetamachine@×××××.com>
35 +Date: Fri, 2 Nov 2018 11:00:20 -0500
36 +Subject: [PATCH] Fix man page install path
37 +
38 +Use the standard CMake variable to determine location.
39 +---
40 + CMakeLists.txt | 2 +-
41 + 1 file changed, 1 insertion(+), 1 deletion(-)
42 +
43 +diff --git a/CMakeLists.txt b/CMakeLists.txt
44 +index e0c20d3..0aeecb5 100644
45 +--- a/CMakeLists.txt
46 ++++ b/CMakeLists.txt
47 +@@ -87,5 +87,5 @@ endif ()
48 + add_subdirectory(lib)
49 + add_subdirectory(src)
50 +
51 +-install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
52 ++install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
53 + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libunshield.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
54
55 diff --git a/app-arch/unshield/unshield-1.4.3.ebuild b/app-arch/unshield/unshield-1.4.3.ebuild
56 new file mode 100644
57 index 00000000000..1577c7f0553
58 --- /dev/null
59 +++ b/app-arch/unshield/unshield-1.4.3.ebuild
60 @@ -0,0 +1,30 @@
61 +# Copyright 1999-2019 Gentoo Authors
62 +# Distributed under the terms of the GNU General Public License v2
63 +
64 +EAPI=7
65 +
66 +inherit cmake-utils
67 +
68 +DESCRIPTION="InstallShield CAB file extractor"
69 +HOMEPAGE="https://github.com/twogood/unshield"
70 +SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
71 +
72 +LICENSE="MIT"
73 +SLOT="0"
74 +KEYWORDS="~amd64 ~hppa ~ppc ~x86"
75 +
76 +# OpenSSL (or LibreSSL) is detected at build time, and used to determine
77 +# whether or not a hand-rolled md5 implementation is used. The build
78 +# system prefers OpenSSL's implementation if it's available, and OpenSSL
79 +# is common enough, so we prefer it too. Since the dependency is
80 +# automagic (there's no way to hide it), we require Open/LibreSSL
81 +# unconditionally.
82 +IUSE="libressl"
83 +
84 +DEPEND="
85 + !libressl? ( dev-libs/openssl:0= )
86 + libressl? ( dev-libs/libressl:0= )
87 + sys-libs/zlib"
88 +RDEPEND="${DEPEND}"
89 +
90 +PATCHES=( "${FILESDIR}/${P}-mandir.patch" )