summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-28 11:19:25 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-28 13:52:21 +0100
commit9b81647adf16df52ad062da3fdbc26a5d3a1f567 (patch)
tree89bb7a090d0ca186ec97c7f3360b3e1c8ec4e3fa /media-libs
parentapp-text/tidy-html5: EAPI-7 bump (diff)
downloadgentoo-9b81647adf16df52ad062da3fdbc26a5d3a1f567.tar.gz
gentoo-9b81647adf16df52ad062da3fdbc26a5d3a1f567.tar.bz2
gentoo-9b81647adf16df52ad062da3fdbc26a5d3a1f567.zip
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@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libgroove/libgroove-4.3.0-r1.ebuild19
1 files 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 1b2a09b839fd..2b45f178d15b 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"
}