mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user