1 |
commit: 2060ffb2bdfaf54ef3396d8140475f4783977877 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 25 09:16:21 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 25 09:16:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2060ffb2 |
7 |
|
8 |
app-arch/unrar: Remove old 6.0.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-arch/unrar/Manifest | 1 - |
14 |
app-arch/unrar/unrar-6.0.3.ebuild | 70 --------------------------------------- |
15 |
2 files changed, 71 deletions(-) |
16 |
|
17 |
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest |
18 |
index 23a8aed8b1b..f2c7c235ec0 100644 |
19 |
--- a/app-arch/unrar/Manifest |
20 |
+++ b/app-arch/unrar/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST unrar-6.0.3.tar.gz 232331 BLAKE2B bcea5219daf8338cbb73fc43131d1c7e7a4c576164a30d79352d1bb3a96b3c66fd190dc40a5149b9bf38e723c0654bc5d5d45e246276c2ea18c1c8dc9904e555 SHA512 1ec20e7a122cb7f48936c691a8c3dc96b4dd989aa8416e6a96332733a0839490996baa22f709af3eb07be17e5987d871f995b5dbc36284cb951bed8047bdfb7c |
23 |
DIST unrar-6.0.4.tar.gz 232379 BLAKE2B 39382eeb71cafdeaa608ef497c44cd88d950d761e5c8395a224b2bdd530328a0060dec658aec943f9af8e135ce29cf86c3522ed17799f869cd0d84cbd7acc74a SHA512 9d2beb39fa0e3c60298b482967f1ae51d8a6531c88f5b8b053cc8905c033c0235cabb776d8449f9d96da6b81946167b84d19acdf93dda7ada14cc3c53bb7df19 |
24 |
DIST unrar-6.0.5.tar.gz 232702 BLAKE2B 8e33d116ae9de06818379f4303241dd7f44ba319619829d0eb2c9257b3fd27e473b636d40edd6049a1ff096ea722fee0a71bf145456923b2664087dbf7d4554d SHA512 cd6d9b316a2daf2f3f81b28b4d6054cbe7ca9a7e39087a5dc7e4c554e5d5590b395243f03f019bf358e127be48dd219e827fdb6af7543305a52c3f87f6e32dd7 |
25 |
|
26 |
diff --git a/app-arch/unrar/unrar-6.0.3.ebuild b/app-arch/unrar/unrar-6.0.3.ebuild |
27 |
deleted file mode 100644 |
28 |
index f2e3f92d40e..00000000000 |
29 |
--- a/app-arch/unrar/unrar-6.0.3.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,70 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit flag-o-matic multilib toolchain-funcs |
38 |
- |
39 |
-MY_PN="${PN}src" |
40 |
- |
41 |
-DESCRIPTION="Uncompress rar files" |
42 |
-HOMEPAGE="https://www.rarlab.com/rar_add.htm" |
43 |
-SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="unRAR" |
46 |
-# subslot = soname version |
47 |
-SLOT="0/6" |
48 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" |
49 |
-IUSE="" |
50 |
- |
51 |
-RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" |
52 |
- |
53 |
-S="${WORKDIR}/unrar" |
54 |
- |
55 |
-PATCHES=( |
56 |
- "${FILESDIR}"/${PN}-5.9.3-build.patch |
57 |
- "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch |
58 |
-) |
59 |
- |
60 |
-src_prepare() { |
61 |
- default |
62 |
- |
63 |
- local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" ) |
64 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
65 |
- sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" ) |
66 |
- else |
67 |
- sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" ) |
68 |
- fi |
69 |
- sed -i "${sed_args[@]}" makefile || die |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- mkdir -p build-{lib,bin} |
74 |
- printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die |
75 |
- cp build-{lib,bin}/Makefile || die |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- unrar_make() { |
80 |
- emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" |
81 |
- } |
82 |
- |
83 |
- unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib |
84 |
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die |
85 |
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die |
86 |
- |
87 |
- unrar_make -C build-bin |
88 |
-} |
89 |
- |
90 |
-src_install() { |
91 |
- dobin build-bin/unrar |
92 |
- dodoc readme.txt |
93 |
- |
94 |
- dolib.so build-lib/libunrar* |
95 |
- |
96 |
- insinto /usr/include/libunrar${PV%.*.*} |
97 |
- doins *.hpp |
98 |
- dosym libunrar${PV%.*.*} /usr/include/libunrar |
99 |
- |
100 |
- find "${ED}" -type f -name "*.a" -delete || die |
101 |
-} |