From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 86AB013829C for ; Tue, 31 May 2016 04:20:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B5C8234010; Tue, 31 May 2016 04:20:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 441E3234013 for ; Tue, 31 May 2016 04:20:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 324AF340C3C for ; Tue, 31 May 2016 04:20:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A8F0983 for ; Tue, 31 May 2016 04:20:51 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1464668439.e3381b6ab094546f256cfcfb9372a2c4e47da04b.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unrar/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/unrar/Manifest app-arch/unrar/unrar-5.4.2.ebuild X-VCS-Directories: app-arch/unrar/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: e3381b6ab094546f256cfcfb9372a2c4e47da04b X-VCS-Branch: master Date: Tue, 31 May 2016 04:20:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: aa19423c-56d2-456d-a465-06cbd9e99c16 X-Archives-Hash: c8800b2747a723896bd2d136d083b182 commit: e3381b6ab094546f256cfcfb9372a2c4e47da04b Author: Lars Wendler gentoo org> AuthorDate: Tue May 31 04:09:47 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Tue May 31 04:20:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3381b6a app-arch/unrar: Bump to version 5.4.2 Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler gentoo.org> app-arch/unrar/Manifest | 1 + app-arch/unrar/unrar-5.4.2.ebuild | 63 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index 547acc2..f6c69d9 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -2,3 +2,4 @@ DIST unrarsrc-5.1.6.tar.gz 215185 SHA256 3c38eaabc655527244fd0c3ba3beff567ea24aa 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.4.1.tar.gz 225911 SHA256 93444ce11626683db5900f795c6961137dd8758fd118bf0854cf43fb9cf9743d SHA512 422b09701171888c27b428dc0de6e44671a8305930d2d82cc48bc160b4cb0b6140c2af39ee2a6aa61bc08fa5753ad746db9a9409cd6373123b07aba0902e8d90 WHIRLPOOL a505f37e40d9fd273db5ae912d5b8d6ac08ba7a6d52f6d48594cf63e7eb5ccc238e141e37b161efd21726620e97d810d3e7f4da77284dcb7f8d26226ac38b920 +DIST unrarsrc-5.4.2.tar.gz 225915 SHA256 d91d5fa8abdbac60b3e2b7317cc1451a2b38c550adee977b847f22594c53f1bd SHA512 a6c6b4fde8d0d1bff1d8eabaf348c2397bc7f1433cb8781b7bf4d4d48a62cc23e410ab1b6badf2f16a87664e7ecd0a8e33c4f30fa8af23d65bc4efa7a6c964e3 WHIRLPOOL 5880187982f5497e6195e80e47427fdd6a6cfafc956316d5fc1206c2b8762b02663a9f48826c9cebe5ac664df8bb6f43b24a135b321abf9364e183dc4a80cf7c diff --git a/app-arch/unrar/unrar-5.4.2.ebuild b/app-arch/unrar/unrar-5.4.2.ebuild new file mode 100644 index 0000000..1f58023 --- /dev/null +++ b/app-arch/unrar/unrar-5.4.2.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 +}