diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-02-09 09:02:51 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-02-09 09:04:09 +0100 |
commit | 79274b63cd4d7e4ad0d78712a53e036ec22f169f (patch) | |
tree | eb5f3d02df6d86b6905e921f179db824ef5323e9 /app-arch | |
parent | net-misc/curl: version bump to 7.47.1. remove 7.47.0 (diff) | |
download | gentoo-79274b63cd4d7e4ad0d78712a53e036ec22f169f.tar.gz gentoo-79274b63cd4d7e4ad0d78712a53e036ec22f169f.tar.bz2 gentoo-79274b63cd4d7e4ad0d78712a53e036ec22f169f.zip |
app-arch/unrar: Bump to version 5.3.11
Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/unrar/Manifest | 1 | ||||
-rw-r--r-- | app-arch/unrar/unrar-5.3.11.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index 0121cc95b9ec..8a5465277732 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -1,4 +1,5 @@ DIST unrarsrc-5.1.6.tar.gz 215185 SHA256 3c38eaabc655527244fd0c3ba3beff567ea24aad37d448488643242fd4cf41a5 SHA512 a7a7800ac94850320ce3e2dd24c5005694dd59360b7f3fc7886ef241153e471459b0b9397d1dacbc3adcd19044cdcb8a8a847e16d7b224af149a1455f46fcaa0 WHIRLPOOL bcb9d1b60f42357cb236cbb5e86eb19dd4ed623244036fc1e8fc3759eef3d4002e6ffc90d3cf5b5200e81fe018a2215c0238ee2aac7148e51f130e43ad3e5ea0 DIST unrarsrc-5.2.7.tar.gz 218880 SHA256 ef14757e943787b439fedf2c564c1f38d0db315528a928e0de170860717e2fac SHA512 95e06451e2bec46a12e5b9b1423c3ea31ce86859f8086812d9c442aaa69627f72635a6a8c197b30dbc7e99bbf7c7caaa25d703caecbe03c697cc0e5b7644d638 WHIRLPOOL 49f5492a7441192d96616f892012ca2dac8a94063e806ece3c62bf13d29beb9d2d0368a186c0f0bff8814c9e6af542ba6b447a61683295f560f120ff75507379 +DIST unrarsrc-5.3.11.tar.gz 223663 SHA256 77b87af4b2976ef7c6b0c79e071284c2c1b035a9543273ec925f9d92f73b8763 SHA512 14ea833fe4c2d81718df25794d2e795a255f92c68a5533d6a7d2cbfc072db3ce07bba7ba1fd5555aad1a17fbaf4980eb217a7d9f6158461fa917e1a17590569b WHIRLPOOL 60c909d9005cb0e2cfbef606b2dc66d9f7b3fd019fbf8ad83ce8b07f9e11c1890db175836ee3e63a21aa2f309ac0ebfebcf2ed5f60ca321a9b8a1b89409b1331 DIST unrarsrc-5.3.8.tar.gz 223502 SHA256 52386ee592150f009a5438829dffc91c1e0006935e8ef701f3c8d8785b8eeb99 SHA512 0619a124fb84b64ba6944fdc9bcd8cd4821558fe54da89d9e84d6ce918ddb8176415d9290c72dbdd8455c9da48f3027e7a0fbc41531aac0e58cbcb6a095135e5 WHIRLPOOL feb11a472355dbedcf2d9837c7b9db3346e82f79a90503561674810324c21d045a260fdbba91d880ed6fac338671d563e783f7e1b99507c52636749f5d527cc6 DIST unrarsrc-5.3.9.tar.gz 223514 SHA256 ff593728aed0ac865908b8ea52cff449a4c298f095db2f3d27438ffbc3e35d5b SHA512 7c53918b5e153040db49bc638c96fb74457a017d06401927acdafc3589c50938f21a242b4d381eb976be15b74d50464a075ccb032b46a898391419248705a935 WHIRLPOOL 08ea2bfaf7a06fbaa3ecdfb94764570245bcb64c1a657a2822b2acad5bf335341d2106de7db09de0449b649852de7d21522c2ee75d3a5cb5c86b16457bc9f803 diff --git a/app-arch/unrar/unrar-5.3.11.ebuild b/app-arch/unrar/unrar-5.3.11.ebuild new file mode 100644 index 000000000000..1f580235b731 --- /dev/null +++ b/app-arch/unrar/unrar-5.3.11.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils flag-o-matic multilib toolchain-funcs + +MY_PN=${PN}src + +DESCRIPTION="Uncompress rar files" +HOMEPAGE="http://www.rarlab.com/rar_add.htm" +SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" + +LICENSE="unRAR" +SLOT="0" +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" +IUSE="" + +RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417" + +S=${WORKDIR}/unrar + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.0.2-build.patch + epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218 + 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 || die +} + +src_configure() { + mkdir -p build-{lib,bin} + printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die + cp build-{lib,bin}/Makefile || die +} + +src_compile() { + unrar_make() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@" + } + + unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib + ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die + ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die + + unrar_make -C build-bin +} + +src_install() { + dobin build-bin/unrar + dodoc readme.txt + + dolib.so build-lib/libunrar* + + insinto /usr/include/libunrar${PV%.*.*} + doins *.hpp + dosym libunrar${PV%.*.*} /usr/include/libunrar +} |