Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsamplerate/
Date: Fri, 04 Sep 2020 16:35:03
Message-Id: 1599237244.15038afd179e38a4fb4554674ae0b727ed0cb377.asturm@gentoo
1 commit: 15038afd179e38a4fb4554674ae0b727ed0cb377
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 4 15:18:05 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 16:34:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15038afd
7
8 media-libs/libsamplerate: EAPI-7 bump, drop static-libs, sync ~s390
9
10 s390 keyword was added in commit 1bd8d2c143682696feba5f0c50cff4d35e8ab122.
11
12 Package-Manager: Portage-3.0.5, Repoman-3.0.1
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 media-libs/libsamplerate/libsamplerate-9999.ebuild | 24 +++++++++++-----------
16 1 file changed, 12 insertions(+), 12 deletions(-)
17
18 diff --git a/media-libs/libsamplerate/libsamplerate-9999.ebuild b/media-libs/libsamplerate/libsamplerate-9999.ebuild
19 index 99d01539ddc..b763d7394fb 100644
20 --- a/media-libs/libsamplerate/libsamplerate-9999.ebuild
21 +++ b/media-libs/libsamplerate/libsamplerate-9999.ebuild
22 @@ -1,7 +1,7 @@
23 # Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 inherit multilib-minimal
30
31 @@ -13,12 +13,12 @@ if [[ ${PV} == *9999 ]]; then
32 EGIT_REPO_URI="https://github.com/erikd/libsamplerate.git"
33 else
34 SRC_URI="http://www.mega-nerd.com/SRC/${P}.tar.gz"
35 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
36 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
37 fi
38
39 LICENSE="BSD-2"
40 SLOT="0"
41 -IUSE="static-libs test"
42 +IUSE="test"
43 RESTRICT="!test? ( test )"
44
45 # Alsa/FFTW are only required for tests
46 @@ -29,25 +29,25 @@ DEPEND="
47 media-libs/libsndfile[${MULTILIB_USEDEP}]
48 sci-libs/fftw:3.0[${MULTILIB_USEDEP}]
49 )
50 - virtual/pkgconfig"
51 +"
52 +BDEPEND="virtual/pkgconfig"
53
54 src_prepare() {
55 default
56 -
57 [[ ${PV} == *9999 ]] && eautoreconf
58 }
59
60 multilib_src_configure() {
61 - ECONF_SOURCE="${S}" econf \
62 - $(use_enable static-libs static) \
63 - $(use_enable test alsa) \
64 - $(use_enable test fftw) \
65 + local myeconfargs=(
66 + --disable-static
67 + $(use_enable test alsa)
68 + $(use_enable test fftw)
69 $(use_enable test sndfile)
70 + )
71 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
72 }
73
74 multilib_src_install_all() {
75 einstalldocs
76 -
77 - # package provides .pc files
78 - find "${D}" -name '*.la' -delete || die
79 + find "${D}" -name '*.la' -type f -delete || die
80 }