1 |
commit: 11a1a213f6e54067a3854a4a8b7f3a9638768764 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 15:14:58 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 15:17:13 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a1a213 |
7 |
|
8 |
app-arch/rar: bump to v5.6.1 from 2018-09-30 |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
|
13 |
app-arch/rar/Manifest | 3 + |
14 |
app-arch/rar/rar-5.6.1_p20180930.ebuild | 109 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 112 insertions(+) |
16 |
|
17 |
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest |
18 |
index 9e0cd18709c..eeb6817c397 100644 |
19 |
--- a/app-arch/rar/Manifest |
20 |
+++ b/app-arch/rar/Manifest |
21 |
@@ -1,6 +1,9 @@ |
22 |
DIST rarlinux-5.6.0_p20180624.tar.gz 552245 BLAKE2B 9988b67d545df89bb7087c2bbec5a6fc47d99f6fd8a97e3581f135dc829a43e5c044248e95f60f7cd29370a0955a3c4c8a6667bfcead17301dc0f45ddae0057f SHA512 a0baba489c9268bc25c814c94747c117de66599f91da875b0e0b8233c24910f0e831f8b407f7a9bd8d709da6bdea4ef50306ce456ea5089f893619b8ee5b780f |
23 |
DIST rarlinux-5.6.1_beta1_p20180903.tar.gz 552295 BLAKE2B 45a709780bfbcfbaf0182a02a0c6bdea71ca4162b5e8bd223105fe01219e6053559b983e1aebf859480a62c18d6aa7cf689369b4bb5bedebd87eeb6812a31561 SHA512 daa7ed17f1c5418fd47e285c1cc06d833f2182fd3de89aefafd83a86935f52c61dc067d19521d3154ff07d891b69ace03d43940ae824adabfff82ffee1bda379 |
24 |
+DIST rarlinux-5.6.1_p20180930.tar.gz 552418 BLAKE2B 7a162a9e63336296e67064fe64d5bdefa4f0027bc23f27a419f14e5302fed7ed45bb78541ff7f3a417ed9f6e88700f4306d4ab3dbfb160a27dbf612df67f0c44 SHA512 b566d8d05068557987b69aa3b9610597c7226f7ff96ab935be33f3437b78d02dd539366b3a8499dc4c1d953a640a8a27f21b3f979969b71c6e3bde51a1118b00 |
25 |
DIST rarlinux-x64-5.6.0_p20180624.tar.gz 541604 BLAKE2B 2fd865af38db47c556341bb2482ee9af83857bc196e08f9b47d5a0f8ccae708931c09dcca2115866d37c03b77f7548da87cf2e778f003e9a432634b9ae378aae SHA512 e8427d12016d4298d1e3ca3dc32f367e2b7a407572e48c665eaec796c3538d50349760b5691bc6d58256a5470dc0c6637740fcdc6e8a9bd420193fae16e209eb |
26 |
DIST rarlinux-x64-5.6.1_beta1_p20180903.tar.gz 541723 BLAKE2B fc70196124621d729530de31b7a213cf4e63326f7db11d65fe2941ae78dfd6bedcc4884b7f21454bd624a6565d679e95699aec9ee489672c3346198c2aa53c13 SHA512 b91388fd78ee45f7f7e3c1750e739ce28c325dcc3b11d8c507b022ade510d6bf012b00092238c3348933176d783d2ef9b1ce6269779a095b4a2320f27f035903 |
27 |
+DIST rarlinux-x64-5.6.1_p20180930.tar.gz 541765 BLAKE2B c3c115fe168df801ce81fbb31de810893539c2f3bcfb176e65ab0db9994fba0d2e3aa848cf073068651e301c1b36cf3d885d80841e6cf63ddb22d3210c14ab64 SHA512 b873397cc44ffe722248638f0315a445e7f8b39ce310d45b79e27d8c2662bf7bc8a095a3e7c4a8fa92e24551328530955f6f18a8553a1612ea00bec8ccaf2e37 |
28 |
DIST winrar-x64-5.6.0_p20180624.exe 3180248 BLAKE2B 3ddbef82e2ecee7960c5d282de905a2d4d279c3ebae9ceb9e5b72a822d352a80d189a76514a414840ea5ad8002d718435757c860a0935134b6eba01b70e0f444 SHA512 61896901b580476d4c12d40d42eef725de270beb0b01526e7d5d4e02847a7b67b0380f0a365e92eafe2a2303d60945146457d43430aace51c9a443a8b1ceef48 |
29 |
DIST winrar-x64-5.6.1_beta1_p20180903.exe 3187440 BLAKE2B c8f008ec746ab941dd41553d7f8004aab3d6a00771278eea76cb2b6c6a92394c93c6bd816e212950b99cdd28184237479eb301c0adc3d11712ebc9ab83b44656 SHA512 98da58d411d2d7c6cc49c62cbed3e3850eeccfee3bb7338777b734cbee14396c765b6c62a1d236e89458559d18b6871c3f97d2d9e600fc88655fa2c11e3eba27 |
30 |
+DIST winrar-x64-5.6.1_p20180930.exe 3190008 BLAKE2B c1411bd15b62ce63a5adc078ef2f7b2941ead91c683b8ade713b1e0a76075281f3c188d46de7d9f1da1caf37c4a4989bf9b35009401f8efa172fa0a4fddefdca SHA512 38c057b765a9a0ed51229018c9ececf94b8b6360a820e73db1af96412b6437614357f885c4c81ce89bc261bb3221d19cfb20284f16881eada0c46debe84f11b1 |
31 |
|
32 |
diff --git a/app-arch/rar/rar-5.6.1_p20180930.ebuild b/app-arch/rar/rar-5.6.1_p20180930.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..56fef413d7c |
35 |
--- /dev/null |
36 |
+++ b/app-arch/rar/rar-5.6.1_p20180930.ebuild |
37 |
@@ -0,0 +1,109 @@ |
38 |
+# Copyright 1999-2018 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI="6" |
42 |
+ |
43 |
+DESCRIPTION="RAR compressor/uncompressor" |
44 |
+HOMEPAGE="https://rarlab.com/" |
45 |
+URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz" |
46 |
+URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz" |
47 |
+URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe" |
48 |
+SRC_URI="x86? ( ${URI_x86} ) |
49 |
+ amd64? ( ${URI_amd64} ) |
50 |
+ all_sfx? ( |
51 |
+ ${URI_x86} |
52 |
+ ${URI_amd64} |
53 |
+ ${URI_w64} |
54 |
+ )" |
55 |
+ |
56 |
+LICENSE="RAR BSD BSD-2" |
57 |
+SLOT="0" |
58 |
+KEYWORDS="-* ~amd64 ~x86" |
59 |
+IUSE="all_sfx" |
60 |
+RESTRICT="mirror bindist" |
61 |
+ |
62 |
+DEPEND="all_sfx? ( app-arch/unrar )" |
63 |
+RDEPEND="sys-libs/glibc" |
64 |
+ |
65 |
+S="${WORKDIR}/${PN}" |
66 |
+ |
67 |
+QA_FLAGS_IGNORED="opt/rar/default.sfx |
68 |
+ opt/rar/default-elf32.sfx |
69 |
+ opt/rar/default-elf64.sfx |
70 |
+ opt/rar/default-win32.sfx |
71 |
+ opt/rar/default-win64.sfx |
72 |
+ opt/rar/WinCon.SFX |
73 |
+ opt/rar/WinCon64.SFX |
74 |
+ opt/rar/Zip.SFX |
75 |
+ opt/rar/Zip64.SFX |
76 |
+ opt/rar/unrar |
77 |
+ opt/rar/rar" |
78 |
+QA_PRESTRIPPED=${QA_FLAGS_IGNORED} |
79 |
+ |
80 |
+src_unpack() { |
81 |
+ local _file |
82 |
+ |
83 |
+ for _file in ${A}; do |
84 |
+ if [[ "${_file}" == rarli* ]]; then |
85 |
+ if [[ "${_file}" =~ x64 ]]; then |
86 |
+ if ! use amd64; then |
87 |
+ continue |
88 |
+ fi |
89 |
+ |
90 |
+ unpack "${_file}" |
91 |
+ elif [[ ! "${_file}" =~ x64 ]]; then |
92 |
+ if ! use x86; then |
93 |
+ continue |
94 |
+ fi |
95 |
+ |
96 |
+ unpack "${_file}" |
97 |
+ else |
98 |
+ die "Unknown SRC file '${_file}'!" |
99 |
+ fi |
100 |
+ fi |
101 |
+ done |
102 |
+ |
103 |
+ rm -f "${S}"/license.txt |
104 |
+ |
105 |
+ if use all_sfx ; then |
106 |
+ mkdir sfx |
107 |
+ cd sfx |
108 |
+ for _file in ${A}; do |
109 |
+ if [[ "${_file}" == rarli* ]]; then |
110 |
+ unpack "${_file}" |
111 |
+ if [[ "${_file}" =~ x64 ]]; then |
112 |
+ mv rar/default.sfx default-elf64.sfx || die |
113 |
+ else |
114 |
+ mv rar/default.sfx default-elf32.sfx || die |
115 |
+ fi |
116 |
+ elif [[ "${_file}" == winrar* ]]; then |
117 |
+ ln -s "${DISTDIR}"/${_file} w64.rar || die |
118 |
+ unpack ./w64.rar |
119 |
+ mv Default.SFX default-win32.sfx || die |
120 |
+ mv Default64.SFX default-win64.sfx || die |
121 |
+ else |
122 |
+ die "Unknown SFX file '${_file}'!" |
123 |
+ fi |
124 |
+ done |
125 |
+ fi |
126 |
+} |
127 |
+ |
128 |
+src_compile() { :; } |
129 |
+ |
130 |
+src_install() { |
131 |
+ exeinto /opt/rar |
132 |
+ doexe rar unrar || die |
133 |
+ |
134 |
+ dodir /opt/bin |
135 |
+ dosym ../rar/rar /opt/bin/rar || die |
136 |
+ dosym ../rar/unrar /opt/bin/unrar || die |
137 |
+ |
138 |
+ insinto /opt/rar |
139 |
+ if use all_sfx ; then |
140 |
+ doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die |
141 |
+ else |
142 |
+ doins default.sfx || die |
143 |
+ fi |
144 |
+ doins rarfiles.lst || die |
145 |
+ dodoc *.txt |
146 |
+} |