media-libs/aften: EAPI-7 bump, switch to cmake.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-02-28 11:02:22 +01:00
parent 9a1e950a69
commit 71cc3deabd

View File

@@ -1,11 +1,11 @@
# 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="An A/52 (AC-3) audio encoder"
DESCRIPTION="A/52 (AC-3) audio encoder"
HOMEPAGE="http://aften.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
@@ -14,6 +14,8 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="cxx"
DOCS=( README Changelog )
PATCHES=(
"${FILESDIR}/${P}-multilib.patch"
"${FILESDIR}/${P}-ppc.patch"
@@ -25,12 +27,11 @@ src_configure() {
-DSHARED=1
-DBINDINGS_CXX=$(usex cxx)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
dodoc README Changelog
cmake_src_install
# File collision with media-sound/wavbreaker, upstream informed
mv "${ED}"/usr/bin/wavinfo{,-aften} || die
}