commit:     22ee1694134ed878c9ca752a922f642a7ee486eb
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 19:52:22 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 19:52:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22ee1694

media-libs/libsamplerate: Sync live ebuild

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-libs/libsamplerate/libsamplerate-9999.ebuild | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/media-libs/libsamplerate/libsamplerate-9999.ebuild 
b/media-libs/libsamplerate/libsamplerate-9999.ebuild
index 96d8198f8ac..c2eb013b6fe 100644
--- a/media-libs/libsamplerate/libsamplerate-9999.ebuild
+++ b/media-libs/libsamplerate/libsamplerate-9999.ebuild
@@ -6,13 +6,13 @@ EAPI=7
 inherit multilib-minimal
 
 DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter 
for audio"
-HOMEPAGE="http://www.mega-nerd.com/SRC/";
+HOMEPAGE="http://libsndfile.github.io/libsamplerate/";
 
 if [[ ${PV} == *9999 ]]; then
        inherit autotools git-r3
-       EGIT_REPO_URI="https://github.com/erikd/libsamplerate.git";
+       EGIT_REPO_URI="https://github.com/libsndfile/libsamplerate.git";
 else
-       SRC_URI="http://www.mega-nerd.com/SRC/${P}.tar.gz";
+       
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
 
@@ -28,8 +28,7 @@ DEPEND="
                media-libs/alsa-lib[${MULTILIB_USEDEP}]
                media-libs/libsndfile[${MULTILIB_USEDEP}]
                sci-libs/fftw:3.0[${MULTILIB_USEDEP}]
-       )
-"
+       )"
 BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
@@ -38,16 +37,14 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       local myeconfargs=(
-               --disable-static
-               $(use_enable test alsa)
-               $(use_enable test fftw)
+       ECONF_SOURCE="${S}" econf \
+               --disable-static \
+               $(use_enable test alsa) \
+               $(use_enable test fftw) \
                $(use_enable test sndfile)
-       )
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
 multilib_src_install_all() {
        einstalldocs
-       find "${D}" -name '*.la' -type f -delete || die
+       find "${ED}" -name '*.la' -type f -delete || die
 }

Reply via email to