diff options
author | David Seifert <soap@gentoo.org> | 2021-01-22 20:52:22 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-22 20:52:22 +0100 |
commit | 22ee1694134ed878c9ca752a922f642a7ee486eb (patch) | |
tree | d3b477ac48a7499fd96c4f68cc6a07228fca052d /media-libs/libsamplerate | |
parent | media-libs/libsamplerate: Version bump to 0.2.0 (diff) | |
download | gentoo-22ee1694134ed878c9ca752a922f642a7ee486eb.tar.gz gentoo-22ee1694134ed878c9ca752a922f642a7ee486eb.tar.bz2 gentoo-22ee1694134ed878c9ca752a922f642a7ee486eb.zip |
media-libs/libsamplerate: Sync live ebuild
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libsamplerate')
-rw-r--r-- | media-libs/libsamplerate/libsamplerate-9999.ebuild | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/media-libs/libsamplerate/libsamplerate-9999.ebuild b/media-libs/libsamplerate/libsamplerate-9999.ebuild index 96d8198f8acd..c2eb013b6fe2 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 } |