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/libgroove/
Date: Sun, 28 Feb 2021 12:52:39
Message-Id: 1614516741.9b81647adf16df52ad062da3fdbc26a5d3a1f567.asturm@gentoo
1 commit: 9b81647adf16df52ad062da3fdbc26a5d3a1f567
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 28 10:19:25 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 12:52:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b81647a
7
8 media-libs/libgroove: Switch to cmake.eclass, drop IUSE=static-libs
9
10 Package-Manager: Portage-3.0.16, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-libs/libgroove/libgroove-4.3.0-r1.ebuild | 19 ++++++++-----------
14 1 file changed, 8 insertions(+), 11 deletions(-)
15
16 diff --git a/media-libs/libgroove/libgroove-4.3.0-r1.ebuild b/media-libs/libgroove/libgroove-4.3.0-r1.ebuild
17 index 1b2a09b839f..2b45f178d15 100644
18 --- a/media-libs/libgroove/libgroove-4.3.0-r1.ebuild
19 +++ b/media-libs/libgroove/libgroove-4.3.0-r1.ebuild
20 @@ -1,18 +1,18 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27
28 -inherit cmake-utils
29 +inherit cmake
30
31 -DESCRIPTION="Streaming audio processing library."
32 +DESCRIPTION="Streaming audio processing library"
33 HOMEPAGE="https://github.com/andrewrk/libgroove"
34 SRC_URI="https://github.com/andrewrk/libgroove/archive/${PV}.tar.gz -> ${P}.tar.gz"
35
36 LICENSE="MIT"
37 SLOT="0/4"
38 KEYWORDS="~amd64"
39 -IUSE="+chromaprint +loudness +sound static-libs"
40 +IUSE="+chromaprint +loudness +sound"
41
42 DEPEND="
43 media-video/ffmpeg:=
44 @@ -34,13 +34,10 @@ src_configure() {
45 -DDISABLE_LOUDNESS=$(usex !loudness)
46 -DDISABLE_PLAYER=$(usex !sound)
47 )
48 - cmake-utils_src_configure
49 + cmake_src_configure
50 }
51
52 src_install() {
53 - cmake-utils_src_install
54 -
55 - if ! use static-libs ; then
56 - rm "${ED%/}"/usr/$(get_libdir)/*.a || die "failed to remove static libs"
57 - fi
58 + cmake_src_install
59 + rm "${ED}"/usr/$(get_libdir)/*.a || die "failed to remove static libs"
60 }