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 2CE56158041 for ; Sun, 5 Sep 2021 12:11:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FE34E083D; Sun, 5 Sep 2021 12:11:16 +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 9E83FE081B for ; Sun, 5 Sep 2021 12:11:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 25321340688 for ; Sun, 5 Sep 2021 12:11:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 670597A for ; Sun, 5 Sep 2021 12:11:12 +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: <1630843860.d98252a18249287d04b708c56fbcd2a6e7bba849.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.2.ebuild X-VCS-Directories: media-libs/libsamplerate/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d98252a18249287d04b708c56fbcd2a6e7bba849 X-VCS-Branch: master Date: Sun, 5 Sep 2021 12:11:12 +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: 1af5c0aa-47ec-422b-9faa-6dc6bb937188 X-Archives-Hash: daecaba2c91018deb50ca48b36c29a8a commit: d98252a18249287d04b708c56fbcd2a6e7bba849 Author: David Seifert gentoo org> AuthorDate: Sun Sep 5 12:11:00 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Sep 5 12:11:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98252a1 media-libs/libsamplerate: add 0.2.2 Signed-off-by: David Seifert gentoo.org> media-libs/libsamplerate/Manifest | 1 + .../libsamplerate/libsamplerate-0.2.2.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/media-libs/libsamplerate/Manifest b/media-libs/libsamplerate/Manifest index c4c029f96b3..fb0051a0279 100644 --- a/media-libs/libsamplerate/Manifest +++ b/media-libs/libsamplerate/Manifest @@ -1 +1,2 @@ DIST libsamplerate-0.2.1.tar.bz2 3747188 BLAKE2B 83540f3e75cfa79cbd166f075d22cab6a63e0e057b90ac6a3760c07196cac962df7d1ca26620a9033de046e0528bee3ded2b482e8629b1ae316844b5b31f3074 SHA512 f54f7f12c9536868d7a11fc9cbb86857505e7b75fe34cedaf0b9bfc864da6037296b3eae303a33d4c87b7fd20d96933b91ef59c8cc3d1313b9fc21654e5daa2d +DIST libsamplerate-0.2.2.tar.xz 3319468 BLAKE2B 71b1e8a1644a94fff019abc6bf98c557df84994293f1e9bc651ad3ad3f0afeb24f54b8c75fc26e5202ae7c3a3e34e783fd1be7f7c6fdefe9eac9a5dfe7100b91 SHA512 d23ae54d23209ba22baae9e5fd178dd8e0e99205dada7e7c3a7b3a3d8cf816ed427a411bfeb008427f64da7767d645edce40811f238af11c8c386f5ef25a9f0c diff --git a/media-libs/libsamplerate/libsamplerate-0.2.2.ebuild b/media-libs/libsamplerate/libsamplerate-0.2.2.ebuild new file mode 100644 index 00000000000..698fa623a51 --- /dev/null +++ b/media-libs/libsamplerate/libsamplerate-0.2.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio" +HOMEPAGE="https://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.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~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 \ + $(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 +}