Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/
Date: Sun, 05 Jun 2022 14:06:23
Message-Id: 1654437963.7f4b3a7b564cc00490b9cd495a9a3c63badae166.conikost@gentoo
1 commit: 7f4b3a7b564cc00490b9cd495a9a3c63badae166
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 13:27:21 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 14:06:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4b3a7b
7
8 app-arch/rar: rename use flag all_sfx to all-sfx
9
10 Closes: https://bugs.gentoo.org/695030
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 app-arch/rar/metadata.xml | 2 +-
14 app-arch/rar/rar-6.0.2_p20210611.ebuild | 12 ++++++------
15 app-arch/rar/rar-6.10_p20220124.ebuild | 10 +++++-----
16 3 files changed, 12 insertions(+), 12 deletions(-)
17
18 diff --git a/app-arch/rar/metadata.xml b/app-arch/rar/metadata.xml
19 index 176236e008c3..9ea948c09f0c 100644
20 --- a/app-arch/rar/metadata.xml
21 +++ b/app-arch/rar/metadata.xml
22 @@ -3,7 +3,7 @@
23 <pkgmetadata>
24 <!-- maintainer-needed -->
25 <use>
26 - <flag name="all_sfx">
27 + <flag name="all-sfx">
28 Install all SFX (Self-Extracting) files rather than just the native
29 format (allows creation of Windows EXEs on Linux ELF systems)
30 </flag>
31
32 diff --git a/app-arch/rar/rar-6.0.2_p20210611.ebuild b/app-arch/rar/rar-6.0.2_p20210611.ebuild
33 index e94158b2ceaf..ce715742716d 100644
34 --- a/app-arch/rar/rar-6.0.2_p20210611.ebuild
35 +++ b/app-arch/rar/rar-6.0.2_p20210611.ebuild
36 @@ -1,4 +1,4 @@
37 -# Copyright 1999-2021 Gentoo Authors
38 +# Copyright 1999-2022 Gentoo Authors
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI="7"
42 @@ -10,7 +10,7 @@ URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz"
43 URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe"
44 SRC_URI="x86? ( ${URI_x86} )
45 amd64? ( ${URI_amd64} )
46 - all_sfx? (
47 + all-sfx? (
48 ${URI_x86}
49 ${URI_amd64}
50 ${URI_w64}
51 @@ -19,10 +19,10 @@ SRC_URI="x86? ( ${URI_x86} )
52 LICENSE="RAR BSD BSD-2"
53 SLOT="0"
54 KEYWORDS="-* amd64 x86"
55 -IUSE="all_sfx"
56 +IUSE="all-sfx"
57 RESTRICT="mirror bindist"
58
59 -DEPEND="all_sfx? ( app-arch/unrar )"
60 +DEPEND="all-sfx? ( app-arch/unrar )"
61 RDEPEND="sys-libs/glibc"
62
63 S="${WORKDIR}/${PN}"
64 @@ -65,7 +65,7 @@ src_unpack() {
65
66 rm -f "${S}"/license.txt
67
68 - if use all_sfx ; then
69 + if use all-sfx ; then
70 mkdir sfx
71 cd sfx
72 for _file in ${A}; do
73 @@ -99,7 +99,7 @@ src_install() {
74 dosym ../rar/unrar /opt/bin/unrar
75
76 insinto /opt/rar
77 - if use all_sfx ; then
78 + if use all-sfx ; then
79 doins "${WORKDIR}"/sfx/*.{sfx,SFX}
80 else
81 doins default.sfx
82
83 diff --git a/app-arch/rar/rar-6.10_p20220124.ebuild b/app-arch/rar/rar-6.10_p20220124.ebuild
84 index a78f4de2de31..249e2c70a40d 100644
85 --- a/app-arch/rar/rar-6.10_p20220124.ebuild
86 +++ b/app-arch/rar/rar-6.10_p20220124.ebuild
87 @@ -10,7 +10,7 @@ URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz"
88 URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe"
89 SRC_URI="x86? ( ${URI_x86} )
90 amd64? ( ${URI_amd64} )
91 - all_sfx? (
92 + all-sfx? (
93 ${URI_x86}
94 ${URI_amd64}
95 ${URI_w64}
96 @@ -19,10 +19,10 @@ SRC_URI="x86? ( ${URI_x86} )
97 LICENSE="RAR BSD BSD-2"
98 SLOT="0"
99 KEYWORDS="-* ~amd64 ~x86"
100 -IUSE="all_sfx"
101 +IUSE="all-sfx"
102 RESTRICT="mirror bindist"
103
104 -DEPEND="all_sfx? ( app-arch/unrar )"
105 +DEPEND="all-sfx? ( app-arch/unrar )"
106 RDEPEND="sys-libs/glibc"
107
108 S="${WORKDIR}/${PN}"
109 @@ -65,7 +65,7 @@ src_unpack() {
110
111 rm -f "${S}"/license.txt
112
113 - if use all_sfx ; then
114 + if use all-sfx ; then
115 mkdir sfx
116 cd sfx
117 for _file in ${A}; do
118 @@ -99,7 +99,7 @@ src_install() {
119 dosym ../rar/unrar /opt/bin/unrar
120
121 insinto /opt/rar
122 - if use all_sfx ; then
123 + if use all-sfx ; then
124 doins "${WORKDIR}"/sfx/*.{sfx,SFX}
125 else
126 doins default.sfx