commit: c96aea7d9a6847f7307a32d517497840f631778e Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Oct 14 14:59:56 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Oct 14 15:05:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96aea7d
media-libs/libgroove: EAPI-6 bump, add missing slot ops Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-libs/libgroove/libgroove-4.3.0-r1.ebuild | 27 ++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/media-libs/libgroove/libgroove-4.3.0-r1.ebuild b/media-libs/libgroove/libgroove-4.3.0-r1.ebuild index 9aac876f1de..f780eb9949c 100644 --- a/media-libs/libgroove/libgroove-4.3.0-r1.ebuild +++ b/media-libs/libgroove/libgroove-4.3.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit multilib cmake-utils +inherit cmake-utils DESCRIPTION="Streaming audio processing library." HOMEPAGE="https://github.com/andrewrk/libgroove" @@ -14,23 +14,26 @@ SLOT="0/4" KEYWORDS="~amd64" IUSE="+chromaprint libav +loudness +sound static-libs" -DEPEND="libav? ( media-video/libav ) - !libav? ( media-video/ffmpeg ) - chromaprint? ( media-libs/chromaprint ) - loudness? ( media-libs/libebur128[speex(+)] ) +DEPEND=" + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:= ) + chromaprint? ( media-libs/chromaprint:= ) + loudness? ( media-libs/libebur128:=[speex(+)] ) sound? ( media-libs/libsdl2[sound] )" RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${P}_cflags.patch" +PATCHES=( + "${FILESDIR}/${P}_cflags.patch" "${FILESDIR}/${P}_sdl2_include_dir.patch" "${FILESDIR}/${P}_ffmpeg4.patch" - "${FILESDIR}/${P}_GNUInstallDirs.patch" ) + "${FILESDIR}/${P}_GNUInstallDirs.patch" +) src_configure() { local mycmakeargs=( - $(cmake-utils_use_disable chromaprint FINGERPRINTER) - $(cmake-utils_use_disable loudness LOUDNESS) - $(cmake-utils_use_disable sound PLAYER) + -DDISABLE_FINGERPRINTER=$(usex !chromaprint) + -DDISABLE_LOUDNESS=$(usex !loudness) + -DDISABLE_PLAYER=$(usex !sound) ) cmake-utils_src_configure }