public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/
Date: Thu,  5 Oct 2023 14:06:12 +0000 (UTC)	[thread overview]
Message-ID: <1696514704.436a09dcba54d62095311aa396e0e7824050a6de.conikost@gentoo> (raw)

commit:     436a09dcba54d62095311aa396e0e7824050a6de
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  5 14:05:04 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Oct  5 14:05:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436a09dc

app-arch/rar: add 6.24

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-arch/rar/Manifest        |   3 ++
 app-arch/rar/rar-6.24.ebuild | 120 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 123 insertions(+)

diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest
index bb5c86da5223..5040863fc82f 100644
--- a/app-arch/rar/Manifest
+++ b/app-arch/rar/Manifest
@@ -1,3 +1,6 @@
 DIST rarlinux-x32-623.tar.gz 627653 BLAKE2B fc7475374adaf4e53367c70f4b95aaa4e05e6b78aeece97f79f266bc73ed7fc00ad05eb0b4d91bc62b8b5373ff6c17a91536f5b6a670942e4a514e5a483e1ded SHA512 95d7319be5cbe8544a93cabfa457ac723b204c3a0799a2fa6408a21bdd75ad3b49e2c030242b6c0473c05c4079eba113158b525400e3612bda56d8fbc4af6c3a
+DIST rarlinux-x32-624.tar.gz 627966 BLAKE2B 8069b5a33bbc229c1f64564bc483e98da8996388890defe03cd430571a269ec9a0d935bdb9ca24d97a5ca2d2eff078c50f2ed158a5d48a263312063ff56b073d SHA512 967ca151e2927f427738c49eedd0bd4a0c1e56bd43d417bfbfb1e940d553c30a4860b279b90a47151838312f8e788f0fee13c424ee3b31ab2574a077de957234
 DIST rarlinux-x64-623.tar.gz 614350 BLAKE2B a9ce80c6ab920e1c74d9b5fa4af2a2e0e46b638a4aced4cb6e88068518c1c3d702f20b44d9ce7c7c5601096254f01d6992c2d4a97a16554f8cfc67ca3600ce2f SHA512 0aa3e9c6b08e12343b1637929a3ce807196205ecfc5f6c98c464f8d8f40c544ec594a3be514a02d0e3a86c0a5d5e68208c993ab9d94d847249547fbb713fcfe2
+DIST rarlinux-x64-624.tar.gz 614146 BLAKE2B 4cad338a68234a8223b63427fbb2d735b65012d79466c0ef799b5764e2df8e575c3e42dcaa37c8a3e5e51474633452dc4e832b05a7c13164e1778d4f741edc49 SHA512 04b935d918d7636bf7cececee2c306f6c586ac363932a30529dcf0e5e199823ca976269acf26456f9a91830dfe909d67ff0a13e55a68096e59875e46e0e0b0de
 DIST winrar-x64-623.exe 3595296 BLAKE2B 8ff54390827070ecd1f42f53d5010e150bd4ccf38dd9bb85a9ee0e3fffa3c489e72e79be0bdecb90d995f19f924bee643f3c1c433d4d932a9c90589f29491887 SHA512 5ba4cb71d9579b01e54835f9559ab39fddbff5f3bc262e0c9f67ea450d490122326d46ae8f8a55b503f96ba1e5963f31ca3ff477ff485bab0fc3e5eac793d8dd
+DIST winrar-x64-624.exe 3589048 BLAKE2B 5afb3069bea3e73f6f8aca103a99fb83d09fc0bf692757e5213515423918a7219a86dc0a5936131a180a0e324b04c9685cb47a493cb69f61f7673d4f45bcac26 SHA512 f5f61a3cf4440d9fa59e7093341a293c0b42081b547992284e54cef61eee1f817fdbbbcc2cb921b077f8bce5b9280072c0f3b5a1bff266ef23c3d9a792d24b9f

diff --git a/app-arch/rar/rar-6.24.ebuild b/app-arch/rar/rar-6.24.ebuild
new file mode 100644
index 000000000000..cb2c7ce9afaa
--- /dev/null
+++ b/app-arch/rar/rar-6.24.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="${PV/./}"
+URI_AMD64="https://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz"
+URI_X86="https://www.rarlab.com/rar/rarlinux-x32-${MY_PV}.tar.gz"
+URI_WIN64="https://www.rarlab.com/rar/winrar-x64-${MY_PV}.exe"
+
+inherit unpacker
+
+DESCRIPTION="RAR compressor/uncompressor"
+HOMEPAGE="https://www.rarlab.com/"
+SRC_URI="
+	all-sfx? (
+		${URI_AMD64}
+		${URI_X86}
+		${URI_WIN64}
+	)
+	amd64? ( ${URI_AMD64} )
+	x86? ( ${URI_X86} )
+"
+S="${WORKDIR}/${PN}"
+
+LICENSE="BSD BSD-2 RAR"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="all-sfx"
+RESTRICT="bindist mirror"
+
+RDEPEND="sys-libs/glibc"
+BDEPEND="all-sfx? ( app-arch/unrar )"
+
+DOCS=( "acknow.txt" "rar.txt" "readme.txt" "whatsnew.txt" )
+
+QA_PREBUILT="
+	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/unrar
+	opt/rar/rar
+	opt/rar/WinCon.SFX
+	opt/rar/WinCon64.SFX
+	opt/rar/Zip.SFX
+	opt/rar/Zip64.SFX
+"
+
+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
+
+	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_rar ./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
+
+	insinto /opt/rar
+	doins rarfiles.lst
+
+	if use all-sfx; then
+		doins "${WORKDIR}"/sfx/*.{sfx,SFX}
+	else
+		doins default.sfx
+	fi
+
+	dodir /opt/bin
+	dosym ../rar/rar /opt/bin/rar
+	dosym ../rar/unrar /opt/bin/unrar
+
+	docinto html
+	dodoc order.htm
+
+	einstalldocs
+}


             reply	other threads:[~2023-10-05 14:06 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-05 14:06 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-22 23:40 [gentoo-commits] repo/gentoo:master commit in: app-arch/rar/ 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-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-14 13:28 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=1696514704.436a09dcba54d62095311aa396e0e7824050a6de.conikost@gentoo \
    --to=conikost@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