public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/
Date: Mon, 14 Jun 2021 13:28:07 +0000 (UTC)	[thread overview]
Message-ID: <1623677248.4da4329aeb0064897236f96603db92f87bbe48fc.whissi@gentoo> (raw)

commit:     4da4329aeb0064897236f96603db92f87bbe48fc
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 14 13:27:28 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jun 14 13:27:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da4329a

app-arch/rar: bump to v6.0.2 from 2021-06-14

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 app-arch/rar/Manifest                   |   3 +
 app-arch/rar/rar-6.0.2_p20210611.ebuild | 109 ++++++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+)

diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest
index 2d369ad0962..dd738b1da82 100644
--- a/app-arch/rar/Manifest
+++ b/app-arch/rar/Manifest
@@ -1,3 +1,6 @@
 DIST rarlinux-6.0.1_p20210407.tar.gz 610095 BLAKE2B 897a72f7fca5efe828bf21cfd6ce5a320b5aba8fb9ca7f83991fda292ab753f860188c632aa96fa5c8e50bc3bbfda644d163e349e68a655681f36e1d36d5991f SHA512 55627c4cf7ad1651f4f9d79650b9b6ea203e20573f65158c366e4a2ec5492549e0f74d7c5ec96b71f7264a6ecebd7f6b5d8706d294f0e4bb66ca7d5eb57d9f39
+DIST rarlinux-6.0.2_p20210611.tar.gz 610546 BLAKE2B 927a7f60af431e84e9ff19dc1abf52c4697068264d3c67a17ada324bfb00975824e26937a19dea023cda772066991de719ec68fb1fb380f6656130af67202131 SHA512 6b6ef629dd0e681702fb0835cf6fe9962dc2ce774291f800893308a93a0a498099775e7d897d69375f68107b0ce0862bb2a6a169b8fbda534091678e9be3f09c
 DIST rarlinux-x64-6.0.1_p20210407.tar.gz 598720 BLAKE2B 7b33c2d10064db20d9bea0d416e3531dbafec659733ac361fb6c87afd646bdbf8eb8ac8581c854ec2cf193a8fbb3fe3da028a20653ead6e566e9b8de4be3b1e9 SHA512 58b308ee90dbbb416cbb1d510372fc6099c499155787e521a9103347ca853d0c30552a3f0d74207cb456fa3081a7d41c11685208bc996325b825f832cba12b12
+DIST rarlinux-x64-6.0.2_p20210611.tar.gz 599150 BLAKE2B ff60f32ee5215403e622bc5c341b8212c3deee0020155043e4c7c3d5feff113da351412a91fd42f46e3293dc5975fd2beca558e3e45744cdc5356ace82af6c93 SHA512 909eb3b05c56327ccec101652d1d68ca5eb97ba3a7223954724fbccf4960b07ffa0ff5fe5405c53a248342a3ae171325e7bbf7fadeaf63c1c45bf00853e0a940
 DIST winrar-x64-6.0.1_p20210407.exe 3342736 BLAKE2B d85763f9f78528c0da838efc4ad131eaffd0c97087394df32373847110127735f8199fedc7d577dee7fff97cb31566d1431eb31a202c36f340cbf5acbea045ce SHA512 9b897be51947871cbc4a3395e4f25644ac5bf328c86b033c58b127710264abb1486dac28f91b421c6f8e1196466fd91313acd379077fdfba7795df8cb929a7b2
+DIST winrar-x64-6.0.2_p20210611.exe 3348968 BLAKE2B 482e5c34cae9c452b539f6e9e89efc7db8e463cc58b4db43cd25caa7e3fc6ab7945a7a17e9605b9d6d505c31a9a343a29812531dc5ba319765bf80fcc775426e SHA512 4c2bd804465e6bd948de248a7a0893f4b38728665b8e67c65bfc14766475072960250057ad1afc457a0df1f128da96d69483b000a5da18826776ea0a4377230a

diff --git a/app-arch/rar/rar-6.0.2_p20210611.ebuild b/app-arch/rar/rar-6.0.2_p20210611.ebuild
new file mode 100644
index 00000000000..d927f40b3a3
--- /dev/null
+++ b/app-arch/rar/rar-6.0.2_p20210611.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="RAR compressor/uncompressor"
+HOMEPAGE="https://rarlab.com/"
+URI_x86="https://mirror.whissi.de/distfiles/rar/rarlinux-${PV}.tar.gz"
+URI_amd64="https://mirror.whissi.de/distfiles/rar/rarlinux-x64-${PV}.tar.gz"
+URI_w64="https://mirror.whissi.de/distfiles/rar/winrar-x64-${PV}.exe"
+SRC_URI="x86? ( ${URI_x86} )
+	amd64? ( ${URI_amd64} )
+	all_sfx? (
+		${URI_x86}
+		${URI_amd64}
+		${URI_w64}
+	)"
+
+LICENSE="RAR BSD BSD-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="all_sfx"
+RESTRICT="mirror bindist"
+
+DEPEND="all_sfx? ( app-arch/unrar )"
+RDEPEND="sys-libs/glibc"
+
+S="${WORKDIR}/${PN}"
+
+QA_FLAGS_IGNORED="opt/rar/default.sfx
+	opt/rar/default-elf32.sfx
+	opt/rar/default-elf64.sfx
+	opt/rar/default-win32.sfx
+	opt/rar/default-win64.sfx
+	opt/rar/WinCon.SFX
+	opt/rar/WinCon64.SFX
+	opt/rar/Zip.SFX
+	opt/rar/Zip64.SFX
+	opt/rar/unrar
+	opt/rar/rar"
+QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
+
+src_unpack() {
+	local _file
+
+	for _file in ${A}; do
+		if [[ "${_file}" == rarli* ]]; then
+			if [[ "${_file}" =~ x64 ]]; then
+				if ! use amd64; then
+					continue
+				fi
+
+				unpack "${_file}"
+			elif [[ ! "${_file}" =~ x64 ]]; then
+				if ! use x86; then
+					continue
+				fi
+
+				unpack "${_file}"
+			else
+				die "Unknown SRC file '${_file}'!"
+			fi
+		fi
+	done
+
+	rm -f "${S}"/license.txt
+
+	if use all_sfx ; then
+		mkdir sfx
+		cd sfx
+		for _file in ${A}; do
+			if [[ "${_file}" == rarli* ]]; then
+				unpack "${_file}"
+				if [[ "${_file}" =~ x64 ]]; then
+					mv rar/default.sfx default-elf64.sfx || die
+				else
+					mv rar/default.sfx default-elf32.sfx || die
+				fi
+			elif [[ "${_file}" == winrar* ]]; then
+				ln -s "${DISTDIR}"/${_file} w64.rar || die
+				unpack ./w64.rar
+				mv Default.SFX default-win32.sfx || die
+				mv Default64.SFX default-win64.sfx || die
+			else
+				die "Unknown SFX file '${_file}'!"
+			fi
+		done
+	fi
+}
+
+src_compile() { :; }
+
+src_install() {
+	exeinto /opt/rar
+	doexe rar unrar
+
+	dodir /opt/bin
+	dosym ../rar/rar /opt/bin/rar
+	dosym ../rar/unrar /opt/bin/unrar
+
+	insinto /opt/rar
+	if use all_sfx ; then
+		doins "${WORKDIR}"/sfx/*.{sfx,SFX}
+	else
+		doins default.sfx
+	fi
+	doins rarfiles.lst
+	dodoc *.txt
+}


             reply	other threads:[~2021-06-14 13:28 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14 13:28 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-10 22:38 [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/ Conrad Kostecki
2025-03-28 20:48 Conrad Kostecki
2025-03-28 20:27 Conrad Kostecki
2025-02-22 23:40 Conrad Kostecki
2024-05-24 23:35 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-11-11 23:37 Conrad Kostecki
2023-10-05 14:06 Conrad Kostecki
2023-08-19 18:46 Conrad Kostecki
2023-08-19 18:46 Conrad Kostecki
2023-08-19 18:46 Conrad Kostecki
2023-08-05 20:32 Conrad Kostecki
2023-07-05 20:41 Conrad Kostecki
2023-07-05 20:41 Conrad Kostecki
2023-06-02  7:56 Conrad Kostecki
2023-03-25  0:11 Conrad Kostecki
2023-03-25  0:11 Conrad Kostecki
2023-03-25  0:11 Conrad Kostecki
2023-03-04  0:00 Conrad Kostecki
2023-03-04  0:00 Conrad Kostecki
2023-02-20 23:22 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-06-05 14:06 Conrad Kostecki
2022-01-26  2:31 Thomas Deutschmann
2021-11-03  1:45 Thomas Deutschmann
2021-07-06 23:44 Thomas Deutschmann
2021-06-13 18:21 Thomas Deutschmann
2021-05-18 16:30 Thomas Deutschmann
2021-04-12 18:14 Thomas Deutschmann
2021-02-10 22:21 Thomas Deutschmann
2021-02-10 22:21 Thomas Deutschmann
2020-12-07 14:10 Thomas Deutschmann
2020-11-12 19:47 Thomas Deutschmann
2020-10-23  1:19 Thomas Deutschmann
2020-07-05 19:12 Thomas Deutschmann
2020-07-05 19:12 Thomas Deutschmann
2020-06-29 14:56 Thomas Deutschmann
2020-04-03  9:28 Thomas Deutschmann
2020-04-03  9:28 Thomas Deutschmann
2020-03-30 16:44 Thomas Deutschmann
2019-12-22 22:08 Thomas Deutschmann
2019-12-22 22:08 Thomas Deutschmann
2019-12-11 14:59 Thomas Deutschmann
2019-06-27 21:45 Thomas Deutschmann
2019-06-27 21:45 Thomas Deutschmann
2019-04-29 11:33 Thomas Deutschmann
2019-03-13 22:58 Thomas Deutschmann
2019-03-13 22:58 Thomas Deutschmann
2019-02-26 19:49 Thomas Deutschmann
2019-02-22 14:08 Thomas Deutschmann
2019-02-22 14:08 Thomas Deutschmann
2019-02-22 14:08 Thomas Deutschmann
2018-10-01 15:17 Thomas Deutschmann
2018-09-04  9:50 Thomas Deutschmann
2018-07-10 23:39 Thomas Deutschmann
2018-07-10 23:39 Thomas Deutschmann
2018-06-26 11:07 Thomas Deutschmann
2018-06-26 11:07 Thomas Deutschmann
2018-06-26 11:07 Thomas Deutschmann
2018-06-07  0:26 Thomas Deutschmann
2018-05-13 21:44 Thomas Deutschmann
2018-04-21 18:42 Thomas Deutschmann
2018-03-31 12:42 Thomas Deutschmann
2018-03-11 15:51 Thomas Deutschmann
2017-09-25 17:40 Thomas Deutschmann
2017-08-18 19:13 Thomas Deutschmann
2017-08-14 12:44 Thomas Deutschmann
2017-07-25 11:26 Thomas Deutschmann
2017-07-08 13:38 Thomas Deutschmann
2017-07-08 13:38 Thomas Deutschmann
2017-06-29  8:06 Agostino Sarubbo
2017-06-28 16:59 Thomas Deutschmann
2017-05-09 17:16 Thomas Deutschmann
2017-05-05 11:16 Thomas Deutschmann
2017-05-02 10:26 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2017-04-13 17:05 Thomas Deutschmann
2016-12-08  2:40 Sam Jorna
2016-10-25 22:48 Ulrich Müller
2016-10-25 22:40 Kristian Fiskerstrand
2016-08-07  7:42 Pacho Ramos
2016-01-05 13:42 Agostino Sarubbo
2015-12-13 11:22 Ian Delaney
2015-12-08 17:38 Patrice Clement
2015-12-08 17:38 Patrice Clement
2015-12-08 17:38 Patrice Clement
2015-12-08 17:38 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623677248.4da4329aeb0064897236f96603db92f87bbe48fc.whissi@gentoo \
    --to=whissi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox