summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2014-05-09 00:10:18 +0000
committerChristoph Junghans <ottxor@gentoo.org>2014-05-09 00:10:18 +0000
commit46e736677125320b39af8169d857d2f1816f73f4 (patch)
treedfc9b374923c8a711948a9a339dcc7519fafcc79 /app-arch/unrar
parentsync live ebuild (diff)
downloadhistorical-46e736677125320b39af8169d857d2f1816f73f4.tar.gz
historical-46e736677125320b39af8169d857d2f1816f73f4.tar.bz2
historical-46e736677125320b39af8169d857d2f1816f73f4.zip
added prefix support (bug #507936)
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xC2000586
Diffstat (limited to 'app-arch/unrar')
-rw-r--r--app-arch/unrar/ChangeLog5
-rw-r--r--app-arch/unrar/Manifest18
-rw-r--r--app-arch/unrar/unrar-5.1.4.ebuild15
3 files changed, 22 insertions, 16 deletions
diff --git a/app-arch/unrar/ChangeLog b/app-arch/unrar/ChangeLog
index eb7e27bb4d16..7d5caf7e9020 100644
--- a/app-arch/unrar/ChangeLog
+++ b/app-arch/unrar/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/unrar
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/ChangeLog,v 1.220 2014/05/06 02:40:46 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/ChangeLog,v 1.221 2014/05/09 00:10:05 ottxor Exp $
+
+ 09 May 2014; Christoph Junghans <ottxor@gentoo.org> unrar-5.1.4.ebuild:
+ added prefix support (bug #507936)
*unrar-5.1.4 (06 May 2014)
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
index df5f50b8f2c3..7aab9b00c979 100644
--- a/app-arch/unrar/Manifest
+++ b/app-arch/unrar/Manifest
@@ -12,17 +12,17 @@ EBUILD unrar-4.2.4.ebuild 1536 SHA256 24a35287af8304115446f7f0dc6955b30fc24ebe1f
EBUILD unrar-5.0.14.ebuild 1527 SHA256 d2a11420ee08b6da9998a25a0d7087c44b0d15ef4ef00f5fcbdcbc7c7fbc886c SHA512 5cf61b0c63706c2d133d2f0f0ff6c2d73d482c4df3e8608788eb0258adb647b72c8b3046dfd34979a281c9a897b61b4ed1176bab968887d43d52ed99ce30a713 WHIRLPOOL ca593805308f2b58c76a02bbc4180a8b68a4c29a693e0ea7b6c933a61f2617b249788857c2286ffedc72e26cdd27c25cfeb3fcb5764a318aa22b386610a8e6fe
EBUILD unrar-5.1.1.ebuild 1539 SHA256 87e5a29e35236b19d38d39a7e25548474ae42fdc797f3db37694b06acf60e7dc SHA512 568e66255641182d7e90615268260e3355493b9149e794ef990e4e1c592d4d3b19fad3a28b630d317ae498c7816bf5bb57dc6fad9fe5a04057ac801373c92a8e WHIRLPOOL 7ec0e8522a06975700d368714c2b3faedd2ab4b30e16d91d536ac28bd421e3d521ff4fc26c37413f870be4a1db3f75b1d467ff871681c8b272ea159a2124d800
EBUILD unrar-5.1.2.ebuild 1539 SHA256 190a99e89dced77769f3c5c6bc07c72c296c5aa5eb60c94e1438d4e90e95d7ef SHA512 2f5a4f0a6f48c6f85d14536871da22a86fda351f57adf8b586d896f268ce9ae78cec6a9df74e34d11d610299632f80623714f4fa778e1567569f97b0f2b610b6 WHIRLPOOL 8c3d0160c5227019dd68f0cb9041647fd9684464a43f14888b889189a59a6d56853d5fdd43fff9b63a5d30ae5d09cfc46443efe980685d8f8a8839c39fb92305
-EBUILD unrar-5.1.4.ebuild 1539 SHA256 5903790287b364a50642bdf37f318b35467e537f87f5858f34b401e052695545 SHA512 f38c6063f3d98cb80d3435f727f9a4ef8e2392254d154eee622f74ea11efc9a0c5f044195437e70872f98432afe63fc40aecb8e5695ec1f58000f50007e9dbdd WHIRLPOOL 56e50848dcf7e4a0b3f7fa5d9ba5a580a0ab6d908bc59c755cc890c3b4cfca0a628784ba94ff62e9986ab5af54a3153fbfcb30717ae3ad21b58b4d9d0307e4a0
-MISC ChangeLog 25304 SHA256 b471f037f565f60003d3c5a51e54a9d6ab97fa84355507045096210f0bb5d6c9 SHA512 65ccb6c25eee462aaab2103d243b4fab99b23852a0cffd5657ee2cb23c92136a6252d6b040b9d5dc226a38ede1585f98899940dfb08b1aaea321eb9459571881 WHIRLPOOL 3f89cdb9446226e8ae872ed53166dfc5a36cc81b42bdcf4066a98b771075935d0c982538f5d0e64ecf42c50fa4c8f2111efcf9ae97d144eceb4a0d47275d1193
+EBUILD unrar-5.1.4.ebuild 1814 SHA256 111d70fcf1238e07da39d9de3e2b2e358028f401522d25ec7e8724dfa1a2cd29 SHA512 519abb4dc3831c0fd8c7cc4dd6544bb71f5bea776b9f82f5936d156354645f7fb56cf9d504de140dd8aa7ae197babda4991e333faebfcf6c79c659567a883fb9 WHIRLPOOL 74c8d65e459fbf3ad5d6585a62e9b0a7049619044fa29dd73ebe39a9c46059212bbe7148f490a74376f565b81bcb36dd75118f210e2026ca729966c1e7050bfc
+MISC ChangeLog 25413 SHA256 25b0c917d297e60cc369190e7f9edbd3ea7f8d1062f2925e9627b30b3a4a0e5a SHA512 db489acc3bb0015b46c5004f3e0876532dfa95c27e67c88a6a482948d63b4a717c55de907eaf50b345add1bd1e6f7c92664dde280fd8b7fa16bb935fada26994 WHIRLPOOL f84827c0dd6c153b9db0fdfcb70d6574e6755832cbac5647da53bb6dd7624cb6ab7c3bf4d9b5891a89392bc170cf888cef4074a3803ee58c56b6c540049897ce
MISC metadata.xml 243 SHA256 0d3b01bee239974acab3b5c25d987a03b929151a254aeefd3cb5bbd0ee6d3c57 SHA512 730e45ced90a8d71ae4613bc3e368baa66cc49c8b74177d23e03461d8785b20fcac940bef5a85044c9bc2f1db2fceee0de441267448174342caa0fe9d08a7034 WHIRLPOOL ab5dd604416cd7afbdee82d410c8eadaaceb8934ccca1a96c5c3f104f8beee50aa19d561a4fc0728c75cbb4683b822dab290c8031920087685fe732b7358bfbb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJTaEu0AAoJEEqz6FtPBkyjZ5cH/3PJFrewhYgxpWpx5WvP6V/6
-eitA8DsU4g0NUsaUsZZA951wny4qU75bzIP2Sswg1wqa66g6SsM15gxogQTOZc/d
-E/pg6VM0WrhdXv4pu9zMA1Jzr9mzNDmcD6+CZJTtFBW2pVkUnmolOxZlvG669FkL
-sVyPMoRQ7MB1mUV0R8/6GiZqJJglq5DHgTwZ9zIGZ/TuBlDcgqAs+svJFdlYLvOF
-7jJO8d2K81LKtmoM0TMw52giukrJqdSv2u0ce4zQ+GP/u+Jjgjk8v9thxdHHFrGe
-MPbT4Cnz4mmjKQOCCykbweSKqF/tpzSXJx1PwhIl5YZWTqIBt0fGmXrdg1KjYYQ=
-=gCrr
+iQEcBAEBCAAGBQJTbBzlAAoJEOeBhlrCAAWGIn8IAJ4k2Mny82iGnNdjnAdOy0/C
+NY+lxlpnakP6EkZ5AvBmlugiftI51wMw+kTp9Mu/WGlXD9FD4wxzIp4Tk1gSVb0c
+R3hN1vFD/YjJ2sLdmIpPEB/3bSdX3pqUdUr6Ec95PKoq4/aSNu8jUyYCWenePHkQ
+bsmGjBdZfmbGI/d7obrGE/2QCAI0VDVpK3FTqZbfWEjyLwg66HP8dLbfPRxB+Qjb
+rsdxjgOR0gyYt6TYAnUSzeWTkS393aOhDBjVydFROhJDvEomG7GCGIGj7V3A6XmH
+6ZE/8MYptAbGaLZ/c4t9bOzjNj+DpDk71nAqD7SWd0GT7CCtSeR/jmRm8IGoOGQ=
+=wAur
-----END PGP SIGNATURE-----
diff --git a/app-arch/unrar/unrar-5.1.4.ebuild b/app-arch/unrar/unrar-5.1.4.ebuild
index e55b554cc295..ae1fd46027c4 100644
--- a/app-arch/unrar/unrar-5.1.4.ebuild
+++ b/app-arch/unrar/unrar-5.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-5.1.4.ebuild,v 1.1 2014/05/06 02:40:46 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-5.1.4.ebuild,v 1.2 2014/05/09 00:10:05 ottxor Exp $
EAPI=5
inherit eutils flag-o-matic multilib toolchain-funcs
@@ -13,7 +13,7 @@ SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
LICENSE="unRAR"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~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"
IUSE=""
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
@@ -22,10 +22,13 @@ S=${WORKDIR}/unrar
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
- sed -i \
- -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \
- -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \
- makefile || die
+ local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
+ else
+ sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
+ fi
+ sed -i "${sed_args[@]}" makefile
}
src_compile() {