Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsamplerate/
Date: Sat, 09 Oct 2021 21:51:38
Message-Id: 1633816293.9993ebb30eaf0c4d3cf9d74a76405fd8c63a9ae5.fordfrog@gentoo
1 commit: 9993ebb30eaf0c4d3cf9d74a76405fd8c63a9ae5
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 21:51:21 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 21:51:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9993ebb3
7
8 media-libs/libsamplerate: removed obsolete 0.2.1
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/libsamplerate/Manifest | 1 -
14 .../libsamplerate/libsamplerate-0.2.1.ebuild | 50 ----------------------
15 2 files changed, 51 deletions(-)
16
17 diff --git a/media-libs/libsamplerate/Manifest b/media-libs/libsamplerate/Manifest
18 index fb0051a0279..28d16c08693 100644
19 --- a/media-libs/libsamplerate/Manifest
20 +++ b/media-libs/libsamplerate/Manifest
21 @@ -1,2 +1 @@
22 -DIST libsamplerate-0.2.1.tar.bz2 3747188 BLAKE2B 83540f3e75cfa79cbd166f075d22cab6a63e0e057b90ac6a3760c07196cac962df7d1ca26620a9033de046e0528bee3ded2b482e8629b1ae316844b5b31f3074 SHA512 f54f7f12c9536868d7a11fc9cbb86857505e7b75fe34cedaf0b9bfc864da6037296b3eae303a33d4c87b7fd20d96933b91ef59c8cc3d1313b9fc21654e5daa2d
23 DIST libsamplerate-0.2.2.tar.xz 3319468 BLAKE2B 71b1e8a1644a94fff019abc6bf98c557df84994293f1e9bc651ad3ad3f0afeb24f54b8c75fc26e5202ae7c3a3e34e783fd1be7f7c6fdefe9eac9a5dfe7100b91 SHA512 d23ae54d23209ba22baae9e5fd178dd8e0e99205dada7e7c3a7b3a3d8cf816ed427a411bfeb008427f64da7767d645edce40811f238af11c8c386f5ef25a9f0c
24
25 diff --git a/media-libs/libsamplerate/libsamplerate-0.2.1.ebuild b/media-libs/libsamplerate/libsamplerate-0.2.1.ebuild
26 deleted file mode 100644
27 index 283b46dc02b..00000000000
28 --- a/media-libs/libsamplerate/libsamplerate-0.2.1.ebuild
29 +++ /dev/null
30 @@ -1,50 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit multilib-minimal
37 -
38 -DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio"
39 -HOMEPAGE="https://libsndfile.github.io/libsamplerate/"
40 -
41 -if [[ ${PV} == *9999 ]]; then
42 - inherit autotools git-r3
43 - EGIT_REPO_URI="https://github.com/libsndfile/libsamplerate.git"
44 -else
45 - SRC_URI="https://github.com/libsndfile/libsamplerate/releases/download/${PV}/${P}.tar.bz2"
46 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
47 -fi
48 -
49 -LICENSE="BSD-2"
50 -SLOT="0"
51 -IUSE="test"
52 -RESTRICT="!test? ( test )"
53 -
54 -# Alsa/FFTW are only required for tests
55 -# libsndfile is only used by examples and tests
56 -DEPEND="
57 - test? (
58 - media-libs/alsa-lib[${MULTILIB_USEDEP}]
59 - media-libs/libsndfile[${MULTILIB_USEDEP}]
60 - sci-libs/fftw:3.0[${MULTILIB_USEDEP}]
61 - )"
62 -BDEPEND="virtual/pkgconfig"
63 -
64 -src_prepare() {
65 - default
66 - [[ ${PV} == *9999 ]] && eautoreconf
67 -}
68 -
69 -multilib_src_configure() {
70 - ECONF_SOURCE="${S}" econf \
71 - --disable-static \
72 - $(use_enable test alsa) \
73 - $(use_enable test fftw) \
74 - $(use_enable test sndfile)
75 -}
76 -
77 -multilib_src_install_all() {
78 - einstalldocs
79 - find "${ED}" -name '*.la' -type f -delete || die
80 -}