1 |
commit: 4da4329aeb0064897236f96603db92f87bbe48fc |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 13:27:28 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 14 13:27:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da4329a |
7 |
|
8 |
app-arch/rar: bump to v6.0.2 from 2021-06-14 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
app-arch/rar/Manifest | 3 + |
14 |
app-arch/rar/rar-6.0.2_p20210611.ebuild | 109 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 112 insertions(+) |
16 |
|
17 |
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest |
18 |
index 2d369ad0962..dd738b1da82 100644 |
19 |
--- a/app-arch/rar/Manifest |
20 |
+++ b/app-arch/rar/Manifest |
21 |
@@ -1,3 +1,6 @@ |
22 |
DIST rarlinux-6.0.1_p20210407.tar.gz 610095 BLAKE2B 897a72f7fca5efe828bf21cfd6ce5a320b5aba8fb9ca7f83991fda292ab753f860188c632aa96fa5c8e50bc3bbfda644d163e349e68a655681f36e1d36d5991f SHA512 55627c4cf7ad1651f4f9d79650b9b6ea203e20573f65158c366e4a2ec5492549e0f74d7c5ec96b71f7264a6ecebd7f6b5d8706d294f0e4bb66ca7d5eb57d9f39 |
23 |
+DIST rarlinux-6.0.2_p20210611.tar.gz 610546 BLAKE2B 927a7f60af431e84e9ff19dc1abf52c4697068264d3c67a17ada324bfb00975824e26937a19dea023cda772066991de719ec68fb1fb380f6656130af67202131 SHA512 6b6ef629dd0e681702fb0835cf6fe9962dc2ce774291f800893308a93a0a498099775e7d897d69375f68107b0ce0862bb2a6a169b8fbda534091678e9be3f09c |
24 |
DIST rarlinux-x64-6.0.1_p20210407.tar.gz 598720 BLAKE2B 7b33c2d10064db20d9bea0d416e3531dbafec659733ac361fb6c87afd646bdbf8eb8ac8581c854ec2cf193a8fbb3fe3da028a20653ead6e566e9b8de4be3b1e9 SHA512 58b308ee90dbbb416cbb1d510372fc6099c499155787e521a9103347ca853d0c30552a3f0d74207cb456fa3081a7d41c11685208bc996325b825f832cba12b12 |
25 |
+DIST rarlinux-x64-6.0.2_p20210611.tar.gz 599150 BLAKE2B ff60f32ee5215403e622bc5c341b8212c3deee0020155043e4c7c3d5feff113da351412a91fd42f46e3293dc5975fd2beca558e3e45744cdc5356ace82af6c93 SHA512 909eb3b05c56327ccec101652d1d68ca5eb97ba3a7223954724fbccf4960b07ffa0ff5fe5405c53a248342a3ae171325e7bbf7fadeaf63c1c45bf00853e0a940 |
26 |
DIST winrar-x64-6.0.1_p20210407.exe 3342736 BLAKE2B d85763f9f78528c0da838efc4ad131eaffd0c97087394df32373847110127735f8199fedc7d577dee7fff97cb31566d1431eb31a202c36f340cbf5acbea045ce SHA512 9b897be51947871cbc4a3395e4f25644ac5bf328c86b033c58b127710264abb1486dac28f91b421c6f8e1196466fd91313acd379077fdfba7795df8cb929a7b2 |
27 |
+DIST winrar-x64-6.0.2_p20210611.exe 3348968 BLAKE2B 482e5c34cae9c452b539f6e9e89efc7db8e463cc58b4db43cd25caa7e3fc6ab7945a7a17e9605b9d6d505c31a9a343a29812531dc5ba319765bf80fcc775426e SHA512 4c2bd804465e6bd948de248a7a0893f4b38728665b8e67c65bfc14766475072960250057ad1afc457a0df1f128da96d69483b000a5da18826776ea0a4377230a |
28 |
|
29 |
diff --git a/app-arch/rar/rar-6.0.2_p20210611.ebuild b/app-arch/rar/rar-6.0.2_p20210611.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..d927f40b3a3 |
32 |
--- /dev/null |
33 |
+++ b/app-arch/rar/rar-6.0.2_p20210611.ebuild |
34 |
@@ -0,0 +1,109 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI="7" |
39 |
+ |
40 |
+DESCRIPTION="RAR compressor/uncompressor" |
41 |
+HOMEPAGE="https://rarlab.com/" |
42 |
+URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz" |
43 |
+URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz" |
44 |
+URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe" |
45 |
+SRC_URI="x86? ( ${URI_x86} ) |
46 |
+ amd64? ( ${URI_amd64} ) |
47 |
+ all_sfx? ( |
48 |
+ ${URI_x86} |
49 |
+ ${URI_amd64} |
50 |
+ ${URI_w64} |
51 |
+ )" |
52 |
+ |
53 |
+LICENSE="RAR BSD BSD-2" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="-* ~amd64 ~x86" |
56 |
+IUSE="all_sfx" |
57 |
+RESTRICT="mirror bindist" |
58 |
+ |
59 |
+DEPEND="all_sfx? ( app-arch/unrar )" |
60 |
+RDEPEND="sys-libs/glibc" |
61 |
+ |
62 |
+S="${WORKDIR}/${PN}" |
63 |
+ |
64 |
+QA_FLAGS_IGNORED="opt/rar/default.sfx |
65 |
+ opt/rar/default-elf32.sfx |
66 |
+ opt/rar/default-elf64.sfx |
67 |
+ opt/rar/default-win32.sfx |
68 |
+ opt/rar/default-win64.sfx |
69 |
+ opt/rar/WinCon.SFX |
70 |
+ opt/rar/WinCon64.SFX |
71 |
+ opt/rar/Zip.SFX |
72 |
+ opt/rar/Zip64.SFX |
73 |
+ opt/rar/unrar |
74 |
+ opt/rar/rar" |
75 |
+QA_PRESTRIPPED=${QA_FLAGS_IGNORED} |
76 |
+ |
77 |
+src_unpack() { |
78 |
+ local _file |
79 |
+ |
80 |
+ for _file in ${A}; do |
81 |
+ if [[ "${_file}" == rarli* ]]; then |
82 |
+ if [[ "${_file}" =~ x64 ]]; then |
83 |
+ if ! use amd64; then |
84 |
+ continue |
85 |
+ fi |
86 |
+ |
87 |
+ unpack "${_file}" |
88 |
+ elif [[ ! "${_file}" =~ x64 ]]; then |
89 |
+ if ! use x86; then |
90 |
+ continue |
91 |
+ fi |
92 |
+ |
93 |
+ unpack "${_file}" |
94 |
+ else |
95 |
+ die "Unknown SRC file '${_file}'!" |
96 |
+ fi |
97 |
+ fi |
98 |
+ done |
99 |
+ |
100 |
+ rm -f "${S}"/license.txt |
101 |
+ |
102 |
+ if use all_sfx ; then |
103 |
+ mkdir sfx |
104 |
+ cd sfx |
105 |
+ for _file in ${A}; do |
106 |
+ if [[ "${_file}" == rarli* ]]; then |
107 |
+ unpack "${_file}" |
108 |
+ if [[ "${_file}" =~ x64 ]]; then |
109 |
+ mv rar/default.sfx default-elf64.sfx || die |
110 |
+ else |
111 |
+ mv rar/default.sfx default-elf32.sfx || die |
112 |
+ fi |
113 |
+ elif [[ "${_file}" == winrar* ]]; then |
114 |
+ ln -s "${DISTDIR}"/${_file} w64.rar || die |
115 |
+ unpack ./w64.rar |
116 |
+ mv Default.SFX default-win32.sfx || die |
117 |
+ mv Default64.SFX default-win64.sfx || die |
118 |
+ else |
119 |
+ die "Unknown SFX file '${_file}'!" |
120 |
+ fi |
121 |
+ done |
122 |
+ fi |
123 |
+} |
124 |
+ |
125 |
+src_compile() { :; } |
126 |
+ |
127 |
+src_install() { |
128 |
+ exeinto /opt/rar |
129 |
+ doexe rar unrar |
130 |
+ |
131 |
+ dodir /opt/bin |
132 |
+ dosym ../rar/rar /opt/bin/rar |
133 |
+ dosym ../rar/unrar /opt/bin/unrar |
134 |
+ |
135 |
+ insinto /opt/rar |
136 |
+ if use all_sfx ; then |
137 |
+ doins "${WORKDIR}"/sfx/*.{sfx,SFX} |
138 |
+ else |
139 |
+ doins default.sfx |
140 |
+ fi |
141 |
+ doins rarfiles.lst |
142 |
+ dodoc *.txt |
143 |
+} |