Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unrar/
Date: Fri, 31 Jan 2020 14:00:34
Message-Id: 1580479209.6228ab5008cb0f90bb49b9dd727eb312c5bfe6e8.polynomial-c@gentoo
1 commit: 6228ab5008cb0f90bb49b9dd727eb312c5bfe6e8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 31 13:59:53 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 31 14:00:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6228ab50
7
8 app-arch/unrar: Removed old
9
10 Package-Manager: Portage-2.3.86, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-arch/unrar/Manifest | 2 --
14 app-arch/unrar/unrar-5.8.3.ebuild | 70 ---------------------------------------
15 app-arch/unrar/unrar-5.8.4.ebuild | 70 ---------------------------------------
16 3 files changed, 142 deletions(-)
17
18 diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
19 index 614f026b637..8e04b8b4ede 100644
20 --- a/app-arch/unrar/Manifest
21 +++ b/app-arch/unrar/Manifest
22 @@ -1,5 +1,3 @@
23 DIST unrar-5.7.5.tar.gz 228818 BLAKE2B 2bd9cfaed07802147af9a3457cea3f78f464cc26e2e20ef2c15817fffb7dc275fd326fd96b089257a8044982c0ae130ca3dc42126356d973ee6a8afd43e28df0 SHA512 101a21a20d8e30ca2cccc1605e332579064d362feacb36e9d4a7cd5218585298dcb48ec2805ff9523ae9b25e8e3d3e7557b73ea457702c6cb6d8c50d324ea1f4
24 -DIST unrar-5.8.3.tar.gz 229162 BLAKE2B 1515af301fdcbbe02d1ebf487b1a0ab7849919e0065f223ec78e69cf5fb9436778f184c9cdead927c37d41ddf779bc7c539259cc60b1e9db19225762af17ed27 SHA512 32ab5cd9135d968f2e908975e72e716f5aa8911ee53fbcade6cf9783eb22330dc0114baf5db148c223015498d28fa4c60446e0ccd8108856c6d089117a147669
25 -DIST unrar-5.8.4.tar.gz 229618 BLAKE2B 3b163a7d3a13dd5864ae729eef6c6bc171e45b0db4e716660b24a14ecf035572fdd1dc44a9c59d07d9fde87255b941f45d5b2e0aeffac3a53b021dc1cbd4b0f1 SHA512 dd3502662b443f05c7bd01a50806b9e3443f9bbba7d88ee8fe9ca0d671d93b0db8956b822ec25b9d827941313ef2ec5608f15934bab91cecbab1ccea9ae8129e
26 DIST unrar-5.8.5.tar.gz 229641 BLAKE2B 132453d2e2ddb1b1b2151be15bd092dc06fe7ab96d8fa640db95dc1acdee90f6b259a5d04c1da959a398e3a9beb22862a14db9b41b19055771373e00d89e958b SHA512 bacd36c78c6bab2720b13796b73b376bd0ae693916b8130637cc4e6bbd76f6bd103347d9033d2d6cf6301587ba62449ec88b3aa4c18c8557ad5ace3475b41a7c
27 DIST unrar-5.9.1.tar.gz 229913 BLAKE2B 0969678b0676fbf8058e214e2ac8725ebbfbd391d23690eb0f55bdbbaa86b0a0752d4028bd52a95b455aacb324be5180dee485864b9f6cf63e2c1efc90b52af7 SHA512 dcc1ae8cd886f711f7ce400c2dc496e170e62f17f41f96bb26e3900bea82c3923114678efee07b88a9bf55ce22d7d07d36400744e42f2b59231a51724b04c138
28
29 diff --git a/app-arch/unrar/unrar-5.8.3.ebuild b/app-arch/unrar/unrar-5.8.3.ebuild
30 deleted file mode 100644
31 index 7fce116316f..00000000000
32 --- a/app-arch/unrar/unrar-5.8.3.ebuild
33 +++ /dev/null
34 @@ -1,70 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit flag-o-matic multilib toolchain-funcs
41 -
42 -MY_PN="${PN}src"
43 -
44 -DESCRIPTION="Uncompress rar files"
45 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
46 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="unRAR"
49 -# subslot = soname version
50 -SLOT="0/5"
51 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
52 -IUSE=""
53 -
54 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
55 -
56 -S="${WORKDIR}/unrar"
57 -
58 -PATCHES=(
59 - "${FILESDIR}"/${PN}-5.5.5-build.patch
60 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
61 -)
62 -
63 -src_prepare() {
64 - default
65 -
66 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
67 - if [[ ${CHOST} == *-darwin* ]] ; then
68 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
69 - else
70 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
71 - fi
72 - sed -i "${sed_args[@]}" makefile || die
73 -}
74 -
75 -src_configure() {
76 - mkdir -p build-{lib,bin}
77 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
78 - cp build-{lib,bin}/Makefile || die
79 -}
80 -
81 -src_compile() {
82 - unrar_make() {
83 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
84 - }
85 -
86 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
87 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
88 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
89 -
90 - unrar_make -C build-bin
91 -}
92 -
93 -src_install() {
94 - dobin build-bin/unrar
95 - dodoc readme.txt
96 -
97 - dolib.so build-lib/libunrar*
98 -
99 - insinto /usr/include/libunrar${PV%.*.*}
100 - doins *.hpp
101 - dosym libunrar${PV%.*.*} /usr/include/libunrar
102 -
103 - find "${ED}" -type f -name "*.a" -delete || die
104 -}
105
106 diff --git a/app-arch/unrar/unrar-5.8.4.ebuild b/app-arch/unrar/unrar-5.8.4.ebuild
107 deleted file mode 100644
108 index 7fce116316f..00000000000
109 --- a/app-arch/unrar/unrar-5.8.4.ebuild
110 +++ /dev/null
111 @@ -1,70 +0,0 @@
112 -# Copyright 1999-2019 Gentoo Authors
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=7
116 -
117 -inherit flag-o-matic multilib toolchain-funcs
118 -
119 -MY_PN="${PN}src"
120 -
121 -DESCRIPTION="Uncompress rar files"
122 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
123 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="unRAR"
126 -# subslot = soname version
127 -SLOT="0/5"
128 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
129 -IUSE=""
130 -
131 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
132 -
133 -S="${WORKDIR}/unrar"
134 -
135 -PATCHES=(
136 - "${FILESDIR}"/${PN}-5.5.5-build.patch
137 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
138 -)
139 -
140 -src_prepare() {
141 - default
142 -
143 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
144 - if [[ ${CHOST} == *-darwin* ]] ; then
145 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
146 - else
147 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
148 - fi
149 - sed -i "${sed_args[@]}" makefile || die
150 -}
151 -
152 -src_configure() {
153 - mkdir -p build-{lib,bin}
154 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
155 - cp build-{lib,bin}/Makefile || die
156 -}
157 -
158 -src_compile() {
159 - unrar_make() {
160 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
161 - }
162 -
163 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
164 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
165 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
166 -
167 - unrar_make -C build-bin
168 -}
169 -
170 -src_install() {
171 - dobin build-bin/unrar
172 - dodoc readme.txt
173 -
174 - dolib.so build-lib/libunrar*
175 -
176 - insinto /usr/include/libunrar${PV%.*.*}
177 - doins *.hpp
178 - dosym libunrar${PV%.*.*} /usr/include/libunrar
179 -
180 - find "${ED}" -type f -name "*.a" -delete || die
181 -}