diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-03-31 14:42:14 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-03-31 14:42:29 +0200 |
commit | 4686e7b6a622ee1a64145e23e43d9379cf8597e4 (patch) | |
tree | 27a10a9c82512c0b4a3d794ade9d2016148a8dd5 /app-arch/rar | |
parent | app-misc/tmux: Stable for HPPA too. (diff) | |
download | gentoo-4686e7b6a622ee1a64145e23e43d9379cf8597e4.tar.gz gentoo-4686e7b6a622ee1a64145e23e43d9379cf8597e4.tar.bz2 gentoo-4686e7b6a622ee1a64145e23e43d9379cf8597e4.zip |
app-arch/rar: Bump to v5.6.0 Beta 2 from 2018-03-31
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Diffstat (limited to 'app-arch/rar')
-rw-r--r-- | app-arch/rar/Manifest | 3 | ||||
-rw-r--r-- | app-arch/rar/rar-5.6.0_beta2_p20180331.ebuild | 109 |
2 files changed, 112 insertions, 0 deletions
diff --git a/app-arch/rar/Manifest b/app-arch/rar/Manifest index 5bb21c688900..ae61768ddb8c 100644 --- a/app-arch/rar/Manifest +++ b/app-arch/rar/Manifest @@ -1,6 +1,9 @@ DIST rarlinux-5.5.0_p20170811.tar.gz 546839 BLAKE2B d90bda3092fb636fee1db4f222632cf3d45c99f330298521b2a0957cd7bd4845f4518cf394e03a4e302d45cf73a37f5da5ac0cd7eba08a4859fd221697656c20 SHA512 c437d0be55ea90ae1dd9d657517d17d9edbba07cd77325785d8d503883847edeece2cc3993d3beec3a5b36b6830383b7026fbfc53b18f490288395994bc532cb DIST rarlinux-5.6.0_beta1_p20180311.tar.gz 551336 BLAKE2B d56bc53f729641cbf5cbc7b4abf9b3260e164e7cbf37e1faa227736456fff00d418699d05d628c5dfa0bf8517aa2c181a231e520e7c66c37288707808526d3d2 SHA512 9061ad96f8c933f942eb9e7d383a38b7056895ff542fdc26980f4d1140180f7a5c21ed288d4068edd0b25898645ff7977aad4b646882f5f8f57bbb8b89a40bd2 +DIST rarlinux-5.6.0_beta2_p20180331.tar.gz 551421 BLAKE2B 150b3a46b3230d6be39d25ed7d26894402abf879c45160e2003cb678cabf42f89dd58e4e61cdde27d5c4c2e14d2d83c30d1d9614be2a7ab6e2f86661057940fc SHA512 d07824c3604122451e7482960a48f7ff50cdc6450b223c5ff5b22880f909215d7842ef538138156bc19d64e93b0cc74521ab8b6d97573d9e44cc754267ee3949 DIST rarlinux-x64-5.5.0_p20170811.tar.gz 536028 BLAKE2B be453cab6720abc4b01f5aef6c5874b0ff328656f8452b2a671b1b5305427dbb0de2af4084e25e972c69fe4ca4072b10f21d66f7fee23a3e205b0b4f533c8b7f SHA512 1ca8cf7fbe526b43bdc9aeeccb6a0d86efd3bbaeee554e807d58ab62857294abc89662bb42b17b2cfe7e6739876c6345455cd027abbc4cb84312c58314278a66 DIST rarlinux-x64-5.6.0_beta1_p20180311.tar.gz 540817 BLAKE2B 4ea8121df7dc57880cb148a8bf81c69b596011d3bfe462c90aaf9da4ce26d3fac1eb16324c55aaf79380f604493b9ecba1a1ed5ada76f76df1d9a1b97d522af3 SHA512 ca6624bdf55fe732a3aac18733b3ea35a519567474a49f549c27272a0107b60fa93ee16e0e49d5822d4fa33b11c355f67b047c42ed0393ef3a9d840eb8b4c783 +DIST rarlinux-x64-5.6.0_beta2_p20180331.tar.gz 540942 BLAKE2B b52dda0a52442c8aca930d800f4c3e6d69356a3265cc64f0b1e974fe61c463aeffbbc0fe2ae455426f2727dd71c12df473e78b42200ef2f25cd683e1259e8554 SHA512 117cdc30b8c1aef8784773160bd641cd3e6698a35f7c83c13cfe9a23784cef67fdf62f2f828101bb04cae58beb00ad0851ed89a73e0a77d703220d3f44d12bd5 DIST winrar-x64-5.5.0_p20170811.exe 2220872 BLAKE2B a37783f427440a5166021475f024ca6e281b4f0d39926e55c00588e51d371bdd1bd16bd04ed65c363f7aeef6d7e2b0ba796325f7f290e45cfd8c09048ae25489 SHA512 f2aa40bb875be7f88cd618b1f5e02cfe0c5fb584f4e27d06531aaee018e613a70be7b7d3e8b92448381dc83605db6bf044cbecc52f63b6045193fef07601be66 DIST winrar-x64-5.6.0_beta1_p20180311.exe 3186432 BLAKE2B 13063c52488f3a1e1d6a9f0b85761194d14feb549aede1c8653351cce8527794c88a37b177988328ac2293cf993848e1b0b4865a6f0adeef7c49a33a71f2f366 SHA512 2af5dabd88a0a70bdc2ffdbb1488e6b0b1c4cbe52d91bef86991c40b31fd8ef7482f47c134a13197798366eceee7ae6f8d39e0ef3660245ee89265cb65d43ffe +DIST winrar-x64-5.6.0_beta2_p20180331.exe 3185320 BLAKE2B a3a859d57a72d92df8c752358184dd41fb59303b52c2d47f155d727b6555bba24a67b1a801a7b5e3653d27b6f72b4c1f05cd03cf02af6432845551f3052be753 SHA512 8b4cfa1db475edbb71464ae890c1f23b699637a17a0abd40145e396097888b8fe3e057b05a6fd20dd287494985f291ee3f717acb6fd9478752859221694ab6f7 diff --git a/app-arch/rar/rar-5.6.0_beta2_p20180331.ebuild b/app-arch/rar/rar-5.6.0_beta2_p20180331.ebuild new file mode 100644 index 000000000000..182140ef84a4 --- /dev/null +++ b/app-arch/rar/rar-5.6.0_beta2_p20180331.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="RAR compressor/uncompressor" +HOMEPAGE="http://www.rarsoft.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 || die + + dodir /opt/bin + dosym ../rar/rar /opt/bin/rar || die + dosym ../rar/unrar /opt/bin/unrar || die + + insinto /opt/rar + if use all_sfx ; then + doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die + else + doins default.sfx || die + fi + doins rarfiles.lst || die + dodoc *.txt +} |