Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unrar/
Date: Sun, 15 Sep 2019 21:59:57
Message-Id: 1568584776.a402a30dfce581eb52d7570bd2b9688b66dc296c.whissi@gentoo
1 commit: a402a30dfce581eb52d7570bd2b9688b66dc296c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 15 21:59:09 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 15 21:59:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a402a30d
7
8 app-arch/unrar: drop old
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 app-arch/unrar/Manifest | 3 --
14 app-arch/unrar/unrar-5.6.6.ebuild | 68 -------------------------------------
15 app-arch/unrar/unrar-5.6.8.ebuild | 68 -------------------------------------
16 app-arch/unrar/unrar-5.7.4.ebuild | 70 ---------------------------------------
17 4 files changed, 209 deletions(-)
18
19 diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
20 index ff86b222ec7..95454257b87 100644
21 --- a/app-arch/unrar/Manifest
22 +++ b/app-arch/unrar/Manifest
23 @@ -1,5 +1,2 @@
24 -DIST unrar-5.6.6.tar.gz 226484 BLAKE2B f5facddd5c326c039c02b31ac28ba86d5417a51d00a463da1c6fbb714856ffb275defbe400a0d56a21850c754f06eda615fcab983a206f335422503d76f11427 SHA512 1e1e9dc2ed104ab7819d11ad2249780a4320cb30f3c427ea1669c3769fa3a8369841711a2d46d918049659bc67b2cd7dc7560a12127d810a57614293c24fe25a
25 -DIST unrar-5.6.8.tar.gz 226647 BLAKE2B a3f4f791d2527d13003b7d57506e61723312bb0537066c72fa5ea27e4e9de18644f5445b69e9f66ec479402f6d944ce76b17ad9192b3f835ff9781f0902e03c9 SHA512 5410308d7f462824bc10087cdc4515c58aaad776cc09eb6491864a338ae00ff35e3b54d1e7250c0a9576554ea382383155be718a0b95d7af00f27d5df04f4f56
26 -DIST unrar-5.7.4.tar.gz 228754 BLAKE2B c17faa7c5cc2f58f1f9c105138f3a880f11aa539c9b90be261cadc94c5c3497dae302078e5d9f9df08c7ccc9b30ef324ce7449b7f8d11613422c5466d36969c5 SHA512 46087efce622e45f63b776c51856bf35599863dee164dd149df0dcac18b1b5c912e0419430ceb753c03493307ed1978be8cad51b1d69dca8fcc9bc66b9ea3a58
27 DIST unrar-5.7.5.tar.gz 228818 BLAKE2B 2bd9cfaed07802147af9a3457cea3f78f464cc26e2e20ef2c15817fffb7dc275fd326fd96b089257a8044982c0ae130ca3dc42126356d973ee6a8afd43e28df0 SHA512 101a21a20d8e30ca2cccc1605e332579064d362feacb36e9d4a7cd5218585298dcb48ec2805ff9523ae9b25e8e3d3e7557b73ea457702c6cb6d8c50d324ea1f4
28 DIST unrar-5.8.1.tar.gz 228917 BLAKE2B 4b34fd35a371ea2784af0968a95270b04afbefd4968c74c44e88d7b79598fe05b01c331ce730cbfd2535d5a713049e7f4dfbd38d28266e957ae9995cf8ce54b3 SHA512 31303df575e8a5ed9fc03e20d0482306536c3496894a39788052c5c9dfde61eb7f5ca29b8c48354581622a020aa446f108af956ab43024a48731a12233155612
29
30 diff --git a/app-arch/unrar/unrar-5.6.6.ebuild b/app-arch/unrar/unrar-5.6.6.ebuild
31 deleted file mode 100644
32 index c0db136da2a..00000000000
33 --- a/app-arch/unrar/unrar-5.6.6.ebuild
34 +++ /dev/null
35 @@ -1,68 +0,0 @@
36 -# Copyright 1999-2018 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI="6"
40 -
41 -inherit flag-o-matic multilib toolchain-funcs
42 -
43 -MY_PN="${PN}src"
44 -
45 -DESCRIPTION="Uncompress rar files"
46 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
47 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="unRAR"
50 -# subslot = soname version
51 -SLOT="0/5"
52 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
53 -IUSE=""
54 -
55 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
56 -
57 -S=${WORKDIR}/unrar
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/${PN}-5.5.5-build.patch
61 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
62 -)
63 -
64 -src_prepare() {
65 - default
66 -
67 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
68 - if [[ ${CHOST} == *-darwin* ]] ; then
69 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
70 - else
71 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
72 - fi
73 - sed -i "${sed_args[@]}" makefile || die
74 -}
75 -
76 -src_configure() {
77 - mkdir -p build-{lib,bin}
78 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
79 - cp build-{lib,bin}/Makefile || die
80 -}
81 -
82 -src_compile() {
83 - unrar_make() {
84 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
85 - }
86 -
87 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
88 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
89 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
90 -
91 - unrar_make -C build-bin
92 -}
93 -
94 -src_install() {
95 - dobin build-bin/unrar
96 - dodoc readme.txt
97 -
98 - dolib.so build-lib/libunrar*
99 -
100 - insinto /usr/include/libunrar${PV%.*.*}
101 - doins *.hpp
102 - dosym libunrar${PV%.*.*} /usr/include/libunrar
103 -}
104
105 diff --git a/app-arch/unrar/unrar-5.6.8.ebuild b/app-arch/unrar/unrar-5.6.8.ebuild
106 deleted file mode 100644
107 index 0087c3d1b15..00000000000
108 --- a/app-arch/unrar/unrar-5.6.8.ebuild
109 +++ /dev/null
110 @@ -1,68 +0,0 @@
111 -# Copyright 1999-2019 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI="6"
115 -
116 -inherit flag-o-matic multilib toolchain-funcs
117 -
118 -MY_PN="${PN}src"
119 -
120 -DESCRIPTION="Uncompress rar files"
121 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
122 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
123 -
124 -LICENSE="unRAR"
125 -# subslot = soname version
126 -SLOT="0/5"
127 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
128 -IUSE=""
129 -
130 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
131 -
132 -S=${WORKDIR}/unrar
133 -
134 -PATCHES=(
135 - "${FILESDIR}"/${PN}-5.5.5-build.patch
136 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
137 -)
138 -
139 -src_prepare() {
140 - default
141 -
142 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
143 - if [[ ${CHOST} == *-darwin* ]] ; then
144 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
145 - else
146 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
147 - fi
148 - sed -i "${sed_args[@]}" makefile || die
149 -}
150 -
151 -src_configure() {
152 - mkdir -p build-{lib,bin}
153 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
154 - cp build-{lib,bin}/Makefile || die
155 -}
156 -
157 -src_compile() {
158 - unrar_make() {
159 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
160 - }
161 -
162 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
163 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
164 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
165 -
166 - unrar_make -C build-bin
167 -}
168 -
169 -src_install() {
170 - dobin build-bin/unrar
171 - dodoc readme.txt
172 -
173 - dolib.so build-lib/libunrar*
174 -
175 - insinto /usr/include/libunrar${PV%.*.*}
176 - doins *.hpp
177 - dosym libunrar${PV%.*.*} /usr/include/libunrar
178 -}
179
180 diff --git a/app-arch/unrar/unrar-5.7.4.ebuild b/app-arch/unrar/unrar-5.7.4.ebuild
181 deleted file mode 100644
182 index 602e69de6a9..00000000000
183 --- a/app-arch/unrar/unrar-5.7.4.ebuild
184 +++ /dev/null
185 @@ -1,70 +0,0 @@
186 -# Copyright 1999-2019 Gentoo Authors
187 -# Distributed under the terms of the GNU General Public License v2
188 -
189 -EAPI="6"
190 -
191 -inherit flag-o-matic multilib toolchain-funcs
192 -
193 -MY_PN="${PN}src"
194 -
195 -DESCRIPTION="Uncompress rar files"
196 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
197 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
198 -
199 -LICENSE="unRAR"
200 -# subslot = soname version
201 -SLOT="0/5"
202 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
203 -IUSE=""
204 -
205 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
206 -
207 -S=${WORKDIR}/unrar
208 -
209 -PATCHES=(
210 - "${FILESDIR}"/${PN}-5.5.5-build.patch
211 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
212 -)
213 -
214 -src_prepare() {
215 - default
216 -
217 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
218 - if [[ ${CHOST} == *-darwin* ]] ; then
219 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
220 - else
221 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
222 - fi
223 - sed -i "${sed_args[@]}" makefile || die
224 -}
225 -
226 -src_configure() {
227 - mkdir -p build-{lib,bin}
228 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
229 - cp build-{lib,bin}/Makefile || die
230 -}
231 -
232 -src_compile() {
233 - unrar_make() {
234 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
235 - }
236 -
237 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
238 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
239 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
240 -
241 - unrar_make -C build-bin
242 -}
243 -
244 -src_install() {
245 - dobin build-bin/unrar
246 - dodoc readme.txt
247 -
248 - dolib.so build-lib/libunrar*
249 -
250 - insinto /usr/include/libunrar${PV%.*.*}
251 - doins *.hpp
252 - dosym libunrar${PV%.*.*} /usr/include/libunrar
253 -
254 - find "${ED}" -name "*.a" -delete || die
255 -}