1 |
commit: 8318b6c0149a2c25bc8f2c56185c4cfa0d9a7c9d |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 10:45:46 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 12 10:45:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8318b6c0 |
7 |
|
8 |
app-arch/unrar: remove old |
9 |
|
10 |
app-arch/unrar/Manifest | 2 -- |
11 |
app-arch/unrar/unrar-5.3.11.ebuild | 62 -------------------------------------- |
12 |
app-arch/unrar/unrar-5.4.4.ebuild | 62 -------------------------------------- |
13 |
3 files changed, 126 deletions(-) |
14 |
|
15 |
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest |
16 |
index f496efd362e..d5c2a801d56 100644 |
17 |
--- a/app-arch/unrar/Manifest |
18 |
+++ b/app-arch/unrar/Manifest |
19 |
@@ -1,3 +1 @@ |
20 |
-DIST unrarsrc-5.3.11.tar.gz 223663 SHA256 77b87af4b2976ef7c6b0c79e071284c2c1b035a9543273ec925f9d92f73b8763 SHA512 14ea833fe4c2d81718df25794d2e795a255f92c68a5533d6a7d2cbfc072db3ce07bba7ba1fd5555aad1a17fbaf4980eb217a7d9f6158461fa917e1a17590569b WHIRLPOOL 60c909d9005cb0e2cfbef606b2dc66d9f7b3fd019fbf8ad83ce8b07f9e11c1890db175836ee3e63a21aa2f309ac0ebfebcf2ed5f60ca321a9b8a1b89409b1331 |
21 |
-DIST unrarsrc-5.4.4.tar.gz 226097 SHA256 556b65d61164b018c4a3ce10e6290b16f4d042a603f6a4e17f74b19ac25d2d83 SHA512 496646b851bae4ac2c5b4f62a41265ba0d63e8ec58fa66b1801d971186b58e305a8d44a212e8fe035a82bf0b599eeb35e881dc62e8d75a1a5c7c54ce26aad1d6 WHIRLPOOL 35a84ff2247d2f886237721a978ac784426c9968b57d8928aab10d895504bac53040f121bf54c445eaedba6d237c1dda7544ffa4195bc0da7162c1c5f6d485e4 |
22 |
DIST unrarsrc-5.4.5.tar.gz 226320 SHA256 e470c584332422893fb52e049f2cbd99e24dc6c6da971008b4e2ae4284f8796c SHA512 ba2abf11638b5ee026cb9e0c3576c94376a01ab3c5411b9bd0e8116d64879c81e76df16f98d850f0f0f5387dda046f38be64ddfb4fe57431cc4d97066d6e3c2f WHIRLPOOL c8e035ec183f41d8faf8345b49d2a4d20e21f9c6e27f14d7794389942df4954cd66ab4a5be2fdff6d369b514ae99d5d015f35a36143d686563b2a8efdfc77dce |
23 |
|
24 |
diff --git a/app-arch/unrar/unrar-5.3.11.ebuild b/app-arch/unrar/unrar-5.3.11.ebuild |
25 |
deleted file mode 100644 |
26 |
index a1ef706fe0f..00000000000 |
27 |
--- a/app-arch/unrar/unrar-5.3.11.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,62 +0,0 @@ |
30 |
-# Copyright 1999-2016 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI="5" |
34 |
- |
35 |
-inherit eutils flag-o-matic multilib toolchain-funcs |
36 |
- |
37 |
-MY_PN=${PN}src |
38 |
- |
39 |
-DESCRIPTION="Uncompress rar files" |
40 |
-HOMEPAGE="http://www.rarlab.com/rar_add.htm" |
41 |
-SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" |
42 |
- |
43 |
-LICENSE="unRAR" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
46 |
-IUSE="" |
47 |
- |
48 |
-RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" |
49 |
- |
50 |
-S=${WORKDIR}/unrar |
51 |
- |
52 |
-src_prepare() { |
53 |
- epatch "${FILESDIR}"/${PN}-5.0.2-build.patch |
54 |
- epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218 |
55 |
- local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" ) |
56 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
57 |
- sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" ) |
58 |
- else |
59 |
- sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" ) |
60 |
- fi |
61 |
- sed -i "${sed_args[@]}" makefile || die |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- mkdir -p build-{lib,bin} |
66 |
- printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die |
67 |
- cp build-{lib,bin}/Makefile || die |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- unrar_make() { |
72 |
- emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" |
73 |
- } |
74 |
- |
75 |
- unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib |
76 |
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die |
77 |
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die |
78 |
- |
79 |
- unrar_make -C build-bin |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- dobin build-bin/unrar |
84 |
- dodoc readme.txt |
85 |
- |
86 |
- dolib.so build-lib/libunrar* |
87 |
- |
88 |
- insinto /usr/include/libunrar${PV%.*.*} |
89 |
- doins *.hpp |
90 |
- dosym libunrar${PV%.*.*} /usr/include/libunrar |
91 |
-} |
92 |
|
93 |
diff --git a/app-arch/unrar/unrar-5.4.4.ebuild b/app-arch/unrar/unrar-5.4.4.ebuild |
94 |
deleted file mode 100644 |
95 |
index 470d59b6ccd..00000000000 |
96 |
--- a/app-arch/unrar/unrar-5.4.4.ebuild |
97 |
+++ /dev/null |
98 |
@@ -1,62 +0,0 @@ |
99 |
-# Copyright 1999-2016 Gentoo Foundation |
100 |
-# Distributed under the terms of the GNU General Public License v2 |
101 |
- |
102 |
-EAPI="5" |
103 |
- |
104 |
-inherit eutils flag-o-matic multilib toolchain-funcs |
105 |
- |
106 |
-MY_PN=${PN}src |
107 |
- |
108 |
-DESCRIPTION="Uncompress rar files" |
109 |
-HOMEPAGE="http://www.rarlab.com/rar_add.htm" |
110 |
-SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" |
111 |
- |
112 |
-LICENSE="unRAR" |
113 |
-SLOT="0" |
114 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
115 |
-IUSE="" |
116 |
- |
117 |
-RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" |
118 |
- |
119 |
-S=${WORKDIR}/unrar |
120 |
- |
121 |
-src_prepare() { |
122 |
- epatch "${FILESDIR}"/${PN}-5.0.2-build.patch |
123 |
- epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218 |
124 |
- local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" ) |
125 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
126 |
- sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" ) |
127 |
- else |
128 |
- sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" ) |
129 |
- fi |
130 |
- sed -i "${sed_args[@]}" makefile || die |
131 |
-} |
132 |
- |
133 |
-src_configure() { |
134 |
- mkdir -p build-{lib,bin} |
135 |
- printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die |
136 |
- cp build-{lib,bin}/Makefile || die |
137 |
-} |
138 |
- |
139 |
-src_compile() { |
140 |
- unrar_make() { |
141 |
- emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" |
142 |
- } |
143 |
- |
144 |
- unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib |
145 |
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die |
146 |
- ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die |
147 |
- |
148 |
- unrar_make -C build-bin |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- dobin build-bin/unrar |
153 |
- dodoc readme.txt |
154 |
- |
155 |
- dolib.so build-lib/libunrar* |
156 |
- |
157 |
- insinto /usr/include/libunrar${PV%.*.*} |
158 |
- doins *.hpp |
159 |
- dosym libunrar${PV%.*.*} /usr/include/libunrar |
160 |
-} |