commit: 9b81647adf16df52ad062da3fdbc26a5d3a1f567 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Feb 28 10:19:25 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Feb 28 12:52:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b81647a
media-libs/libgroove: Switch to cmake.eclass, drop IUSE=static-libs Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-libs/libgroove/libgroove-4.3.0-r1.ebuild | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/media-libs/libgroove/libgroove-4.3.0-r1.ebuild b/media-libs/libgroove/libgroove-4.3.0-r1.ebuild index 1b2a09b839f..2b45f178d15 100644 --- a/media-libs/libgroove/libgroove-4.3.0-r1.ebuild +++ b/media-libs/libgroove/libgroove-4.3.0-r1.ebuild @@ -1,18 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake -DESCRIPTION="Streaming audio processing library." +DESCRIPTION="Streaming audio processing library" HOMEPAGE="https://github.com/andrewrk/libgroove" SRC_URI="https://github.com/andrewrk/libgroove/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0/4" KEYWORDS="~amd64" -IUSE="+chromaprint +loudness +sound static-libs" +IUSE="+chromaprint +loudness +sound" DEPEND=" media-video/ffmpeg:= @@ -34,13 +34,10 @@ src_configure() { -DDISABLE_LOUDNESS=$(usex !loudness) -DDISABLE_PLAYER=$(usex !sound) ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install - - if ! use static-libs ; then - rm "${ED%/}"/usr/$(get_libdir)/*.a || die "failed to remove static libs" - fi + cmake_src_install + rm "${ED}"/usr/$(get_libdir)/*.a || die "failed to remove static libs" }
