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: Tue, 04 Sep 2018 08:53:21
Message-Id: 1536051188.ebc9e147c082463c98124e546950143b56f17c15.polynomial-c@gentoo
1 commit: ebc9e147c082463c98124e546950143b56f17c15
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 4 08:51:26 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 4 08:53:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc9e147
7
8 app-arch/unrar: Removed old.
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 app-arch/unrar/Manifest | 2 --
13 app-arch/unrar/unrar-5.6.3.ebuild | 68 ---------------------------------------
14 app-arch/unrar/unrar-5.6.4.ebuild | 68 ---------------------------------------
15 3 files changed, 138 deletions(-)
16
17 diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
18 index b057484dbf0..f2dd6831ad5 100644
19 --- a/app-arch/unrar/Manifest
20 +++ b/app-arch/unrar/Manifest
21 @@ -1,5 +1,3 @@
22 DIST unrar-5.5.8.tar.gz 222285 BLAKE2B ec6317fc95674a3f282f92762ee89d2fd21d162a96b7b1ea29de9f4ab0ebf0bdb9c3e7141c7146d4bd2e570620db7d7850bc9a8c45a42ef745af1d75d4df5a71 SHA512 9eac83707fa47a03925e5f3e8adf47889064d748304b732d12a2d379ab525b441f1aa33216377d4ef445f45c4e8ad73d2cd0b560601ceac344c60571b77fd6aa
23 -DIST unrar-5.6.3.tar.gz 225788 BLAKE2B 8baf99ef85052a395fe0f2daed41803587e7d839949488eb3430e3d3a3dbca30ef894530d5ef40757f7ea2ffdfb2d493e8e13d7322e65885cf03f8fa0859b804 SHA512 cd3c97d357242a91917cdd9ee6898527829bff73dd187e58d7490d0d0ed5ffd8f8db651ce63d4bd8307c6a085fa95d72faa7b0cf1348bba191086136232a98fc
24 -DIST unrar-5.6.4.tar.gz 225849 BLAKE2B 56257ab9482841a1a27e5afd5b00b19e7319eef250168f08826e3cb63eefa063ece8198133d8439fca8d8905d303715751e24ed36a5018f03982c03cda27a53b SHA512 0ff55a82f8593c59c9773ffa7dec00386b762c504a08497bc1a50de5502c52e1c1d1043cb8ba353291aa61a3ebc9f5f0a21d313d89639f400e5fc45f01d62cca
25 DIST unrar-5.6.5.tar.gz 226296 BLAKE2B c35dfdc10976ee2a7827f9386021f79af6712ae3a6641e83934ef7223e1202c46c59e12d2b78abe230c3f929f2228fe8c0664f05275b905ea06806a02cd685aa SHA512 984340935671913b4d2a765db5c4edc0d08d859fc43f3ae0e97e681c4ea302a51808fefa8c11c3aeecad1c2681541f363c5051813d978b5b14959c2e55f71281
26 DIST unrar-5.6.6.tar.gz 226484 BLAKE2B f5facddd5c326c039c02b31ac28ba86d5417a51d00a463da1c6fbb714856ffb275defbe400a0d56a21850c754f06eda615fcab983a206f335422503d76f11427 SHA512 1e1e9dc2ed104ab7819d11ad2249780a4320cb30f3c427ea1669c3769fa3a8369841711a2d46d918049659bc67b2cd7dc7560a12127d810a57614293c24fe25a
27
28 diff --git a/app-arch/unrar/unrar-5.6.3.ebuild b/app-arch/unrar/unrar-5.6.3.ebuild
29 deleted file mode 100644
30 index 33107fddf68..00000000000
31 --- a/app-arch/unrar/unrar-5.6.3.ebuild
32 +++ /dev/null
33 @@ -1,68 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="6"
38 -
39 -inherit eutils flag-o-matic multilib toolchain-funcs
40 -
41 -MY_PN=${PN}src
42 -
43 -DESCRIPTION="Uncompress rar files"
44 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
45 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="unRAR"
48 -# subslot = soname version
49 -SLOT="0/5"
50 -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"
51 -IUSE=""
52 -
53 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
54 -
55 -S=${WORKDIR}/unrar
56 -
57 -PATCHES=(
58 - "${FILESDIR}"/${PN}-5.5.5-build.patch
59 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
60 -)
61 -
62 -src_prepare() {
63 - default
64 -
65 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
66 - if [[ ${CHOST} == *-darwin* ]] ; then
67 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
68 - else
69 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
70 - fi
71 - sed -i "${sed_args[@]}" makefile || die
72 -}
73 -
74 -src_configure() {
75 - mkdir -p build-{lib,bin}
76 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
77 - cp build-{lib,bin}/Makefile || die
78 -}
79 -
80 -src_compile() {
81 - unrar_make() {
82 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
83 - }
84 -
85 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
86 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
87 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
88 -
89 - unrar_make -C build-bin
90 -}
91 -
92 -src_install() {
93 - dobin build-bin/unrar
94 - dodoc readme.txt
95 -
96 - dolib.so build-lib/libunrar*
97 -
98 - insinto /usr/include/libunrar${PV%.*.*}
99 - doins *.hpp
100 - dosym libunrar${PV%.*.*} /usr/include/libunrar
101 -}
102
103 diff --git a/app-arch/unrar/unrar-5.6.4.ebuild b/app-arch/unrar/unrar-5.6.4.ebuild
104 deleted file mode 100644
105 index 33107fddf68..00000000000
106 --- a/app-arch/unrar/unrar-5.6.4.ebuild
107 +++ /dev/null
108 @@ -1,68 +0,0 @@
109 -# Copyright 1999-2018 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI="6"
113 -
114 -inherit eutils flag-o-matic multilib toolchain-funcs
115 -
116 -MY_PN=${PN}src
117 -
118 -DESCRIPTION="Uncompress rar files"
119 -HOMEPAGE="https://www.rarlab.com/rar_add.htm"
120 -SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
121 -
122 -LICENSE="unRAR"
123 -# subslot = soname version
124 -SLOT="0/5"
125 -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"
126 -IUSE=""
127 -
128 -RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
129 -
130 -S=${WORKDIR}/unrar
131 -
132 -PATCHES=(
133 - "${FILESDIR}"/${PN}-5.5.5-build.patch
134 - "${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
135 -)
136 -
137 -src_prepare() {
138 - default
139 -
140 - local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
141 - if [[ ${CHOST} == *-darwin* ]] ; then
142 - sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
143 - else
144 - sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
145 - fi
146 - sed -i "${sed_args[@]}" makefile || die
147 -}
148 -
149 -src_configure() {
150 - mkdir -p build-{lib,bin}
151 - printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
152 - cp build-{lib,bin}/Makefile || die
153 -}
154 -
155 -src_compile() {
156 - unrar_make() {
157 - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
158 - }
159 -
160 - unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
161 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
162 - ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
163 -
164 - unrar_make -C build-bin
165 -}
166 -
167 -src_install() {
168 - dobin build-bin/unrar
169 - dodoc readme.txt
170 -
171 - dolib.so build-lib/libunrar*
172 -
173 - insinto /usr/include/libunrar${PV%.*.*}
174 - doins *.hpp
175 - dosym libunrar${PV%.*.*} /usr/include/libunrar
176 -}