From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-902411-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A30FD138330 for <garchives@archives.gentoo.org>; Wed, 21 Sep 2016 12:53:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD21DE0782; Wed, 21 Sep 2016 12:53:04 +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 C0F7EE0782 for <gentoo-commits@lists.gentoo.org>; Wed, 21 Sep 2016 12:53:03 +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 1283933D3CE for <gentoo-commits@lists.gentoo.org>; Wed, 21 Sep 2016 12:53:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC9722481 for <gentoo-commits@lists.gentoo.org>; Wed, 21 Sep 2016 12:52:59 +0000 (UTC) From: "Alexis Ballier" <aballier@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" <aballier@gentoo.org> Message-ID: <1474462344.7f3370dc584fdf7c469b75f5678eb7651b86969f.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsamplerate/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsamplerate/Manifest media-libs/libsamplerate/libsamplerate-0.1.9.ebuild X-VCS-Directories: media-libs/libsamplerate/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 7f3370dc584fdf7c469b75f5678eb7651b86969f X-VCS-Branch: master Date: Wed, 21 Sep 2016 12:52:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a6824291-413b-4f0d-b5c8-a28df23b6695 X-Archives-Hash: 6f1ebc230fe19543f4d74be657c26c27 commit: 7f3370dc584fdf7c469b75f5678eb7651b86969f Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed Sep 21 12:52:15 2016 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed Sep 21 12:52:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3370dc media-libs/libsamplerate: bump to 0.1.9 Package-Manager: portage-2.3.1 media-libs/libsamplerate/Manifest | 1 + .../libsamplerate/libsamplerate-0.1.9.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/media-libs/libsamplerate/Manifest b/media-libs/libsamplerate/Manifest index 3575a6b..9c39646 100644 --- a/media-libs/libsamplerate/Manifest +++ b/media-libs/libsamplerate/Manifest @@ -1 +1,2 @@ DIST libsamplerate-0.1.8.tar.gz 4303330 SHA256 93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06 SHA512 85d93df24d9d62e7803a5d0ac5d268b2085214adcb160e32fac316b12ee8a0ce36ccfb433a3c0a08f6e3ec418a5962bdb84f8a11262286a9b347436983029a7d WHIRLPOOL 5aff2290372570178752fedb5cafe1cb8d30cd8aa0910f8f7a2333d41746ac7a88e5cc7f7228eb8ba60aa2908fad0242214ac3e29346db04cc1e9cc66386eddf +DIST libsamplerate-0.1.9.tar.gz 4336641 SHA256 0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1 SHA512 78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728 WHIRLPOOL 3591f08cd64f731a8bdd02daabec6b7bc6bcd9f6806bab4f687f3c120481d4cfbcf5fd7752052a6147358b7471549c99d963615bda89b9679b1e091b636e7b8e diff --git a/media-libs/libsamplerate/libsamplerate-0.1.9.ebuild b/media-libs/libsamplerate/libsamplerate-0.1.9.ebuild new file mode 100644 index 00000000..b48dc71 --- /dev/null +++ b/media-libs/libsamplerate/libsamplerate-0.1.9.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_PRUNE_LIBTOOL_FILES=all +inherit autotools-multilib + +DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio" +HOMEPAGE="http://www.mega-nerd.com/SRC/" +SRC_URI="http://www.mega-nerd.com/SRC/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="sndfile static-libs" + +RDEPEND="sndfile? ( >=media-libs/libsndfile-1.0.2 ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r6 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + local PATCHES=( + "${FILESDIR}/${PN}-0.1.3-dontbuild-tests-examples.patch" + "${FILESDIR}/${PN}-0.1.8-lm.patch" + ) + + AT_M4DIR="M4" \ + autotools-multilib_src_prepare +} + +src_configure() { + my_configure() { + local myeconfargs=( + --disable-fftw + ) + + if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then + myeconfargs+=( $(use_enable sndfile) ) + else + myeconfargs+=( --disable-sndfile ) + fi + + autotools-utils_src_configure + + if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then + sed -i -e "s/ doc examples//" "${BUILD_DIR}/Makefile" || die + fi + } + multilib_parallel_foreach_abi my_configure +} + +src_install() { + autotools-multilib_src_install \ + htmldocdir="${EPREFIX}/usr/share/doc/${PF}/html" +}