From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A7A1C1382C5 for ; Sat, 23 Jan 2021 19:19:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0791E07A7; Sat, 23 Jan 2021 19:19:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA126E07A7 for ; Sat, 23 Jan 2021 19:19:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F6B5340E8D for ; Sat, 23 Jan 2021 19:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36C9332B for ; Sat, 23 Jan 2021 19:19:15 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1611429541.a7efcbfd43bb021002c7dbe557270994a770b61d.soap@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.2.1.ebuild X-VCS-Directories: media-libs/libsamplerate/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: a7efcbfd43bb021002c7dbe557270994a770b61d X-VCS-Branch: master Date: Sat, 23 Jan 2021 19:19:15 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d5cc73a7-1f5c-43d7-a8f6-823297356927 X-Archives-Hash: af18b062a77d1e4c7b5e4a9208bfc66c commit: a7efcbfd43bb021002c7dbe557270994a770b61d Author: David Seifert gentoo org> AuthorDate: Sat Jan 23 19:19:01 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Jan 23 19:19:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7efcbfd media-libs/libsamplerate: Version bump to 0.2.1 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert gentoo.org> media-libs/libsamplerate/Manifest | 1 + .../libsamplerate/libsamplerate-0.2.1.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/media-libs/libsamplerate/Manifest b/media-libs/libsamplerate/Manifest index e0b66cdf10c..31f284bb59b 100644 --- a/media-libs/libsamplerate/Manifest +++ b/media-libs/libsamplerate/Manifest @@ -1,2 +1,3 @@ DIST libsamplerate-0.1.9.tar.gz 4336641 BLAKE2B f1cf4c669315ef6a93bfa0c5c73284187068b9b049299afbfd45da5c133372cfd6fdd00fda2dbb2a6740446219203ceda8b46385c844d9ef480e8578aa0b3928 SHA512 78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728 DIST libsamplerate-0.2.0.tar.bz2 3739932 BLAKE2B 45e7d1ceb4134bf41117ba09c3280e403d66b928bd0528cf2bae0c43064bc032de18d426f93802cd484080bc5b49b8df6378ea023c0ce76381d0a6d3972d8128 SHA512 40422f8a9a5eaf1d0cfa18a98ad561885c15556962db8892c412870745774f971087f5fc4775bc6e462857162ff7ba895d5b55e3cea9982aebdb915de391699d +DIST libsamplerate-0.2.1.tar.bz2 3747188 BLAKE2B 83540f3e75cfa79cbd166f075d22cab6a63e0e057b90ac6a3760c07196cac962df7d1ca26620a9033de046e0528bee3ded2b482e8629b1ae316844b5b31f3074 SHA512 f54f7f12c9536868d7a11fc9cbb86857505e7b75fe34cedaf0b9bfc864da6037296b3eae303a33d4c87b7fd20d96933b91ef59c8cc3d1313b9fc21654e5daa2d diff --git a/media-libs/libsamplerate/libsamplerate-0.2.1.ebuild b/media-libs/libsamplerate/libsamplerate-0.2.1.ebuild new file mode 100644 index 00000000000..c2eb013b6fe --- /dev/null +++ b/media-libs/libsamplerate/libsamplerate-0.2.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio" +HOMEPAGE="http://libsndfile.github.io/libsamplerate/" + +if [[ ${PV} == *9999 ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/libsndfile/libsamplerate.git" +else + SRC_URI="https://github.com/libsndfile/libsamplerate/releases/download/${PV}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +fi + +LICENSE="BSD-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Alsa/FFTW are only required for tests +# libsndfile is only used by examples and tests +DEPEND=" + test? ( + media-libs/alsa-lib[${MULTILIB_USEDEP}] + media-libs/libsndfile[${MULTILIB_USEDEP}] + sci-libs/fftw:3.0[${MULTILIB_USEDEP}] + )" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + [[ ${PV} == *9999 ]] && eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-static \ + $(use_enable test alsa) \ + $(use_enable test fftw) \ + $(use_enable test sndfile) +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -type f -delete || die +}